MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / HCT_FESpace

Method HCT_FESpace

comp/HCTspace.cpp:215–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215 HCT_FESpace::HCT_FESpace(shared_ptr<MeshAccess> ama, const Flags &flags, bool checkflags)
216 : FESpace(ama, flags)
217 {
218 order = int(flags.GetNumFlag("order", 3));
219
220
221 if (ma->GetDimension() != 2)
222 throw Exception("HCT only supported in 2d");
223
224 evaluator[VOL] = make_shared<T_DifferentialOperator<DiffOpId<2>>>();
225 flux_evaluator[VOL] = make_shared<T_DifferentialOperator<DiffOpGradient<2>>>();
226
227 additional_evaluators.Set ("hesse", make_shared<T_DifferentialOperator<DiffOpHesse<2>>> ());
228 }
229
230 DocInfo HCT_FESpace::GetDocu()
231 {

Callers

nothing calls this directly

Calls 2

GetDimensionMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected