diff --git a/NonLinearEVP/NonLinearEVP.pro b/NonLinearEVP/NonLinearEVP.pro index 5edd798237a4554f70a7cc691f5fb95b69a01d13..0e6956a568d46090c6d426de14f2006706e84273 100644 --- a/NonLinearEVP/NonLinearEVP.pro +++ b/NonLinearEVP/NonLinearEVP.pro @@ -181,6 +181,27 @@ FunctionSpace { } } + { Name Hgrad; Type Form0; + BasisFunction { + { Name un; NameOfCoef un; Function BF_Node ; Support Region[Om]; Entity NodesOf[All]; } + { Name un2; NameOfCoef un2; Function BF_Node_2E; Support Region[Om]; Entity EdgesOf[All]; } + If(flag_o2i==1) + { Name un3; NameOfCoef un3; Function BF_Node_2F; Support Region[Om]; Entity FacetsOf[All]; } + { Name un4; NameOfCoef un4; Function BF_Node_3E; Support Region[Om]; Entity EdgesOf[All]; } + { Name un5; NameOfCoef un5; Function BF_Node_3F; Support Region[Om]; Entity FacetsOf[All]; } + EndIf + } + Constraint { + { NameOfCoef un; EntityType NodesOf ; NameOfConstraint BlochX; } + { NameOfCoef un2; EntityType EdgesOf ; NameOfConstraint BlochX; } + If(flag_o2i==1) + { NameOfCoef un3; EntityType FacetsOf ; NameOfConstraint BlochX; } + { NameOfCoef un4; EntityType EdgesOf ; NameOfConstraint BlochX; } + { NameOfCoef un5; EntityType FacetsOf ; NameOfConstraint BlochX; } + EndIf + } + } + { Name Hcurl; Type Form1; BasisFunction { { Name sn; NameOfCoef un; Function BF_Edge ; Support Region[Om]; Entity EdgesOf[All]; } @@ -333,7 +354,8 @@ Formulation { } } {Name modal_helmholtz_PEP_h; Type FemEquation; - Quantity {{ Name u ; Type Local; NameOfSpace Hgrad_perp ;}} + // Quantity {{ Name u ; Type Local; NameOfSpace Hgrad_perp ;}} + Quantity {{ Name u ; Type Local; NameOfSpace Hgrad ;}} Equation { Galerkin { [-1/epsr_nod[]* om_d_1^2 * Dof{Curl u}, {Curl u} ]; In Om_2; Jacobian JSur; Integration Int_1;} Galerkin { Eig[ 1/epsr_nod[]*eps_oo_1*gam_1* Dof{Curl u}, {Curl u} ]; Order 1; In Om_2; Jacobian JSur; Integration Int_1;}