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

Method Dimension

comp/gridfunction.cpp:1308–1322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1306 }
1307
1308 int GridFunctionCoefficientFunction::Dimension() const
1309 {
1310 for (auto vb : { VOL, BND, BBND, BBBND })
1311 if (diffop[vb])
1312 return diffop[vb]->Dim();
1313 /*
1314 if (diffop) return diffop->Dim();
1315 if (trace_diffop) return trace_diffop->Dim();
1316 if (bfi) return bfi->DimFlux();
1317 if (gf->GetFESpace()->GetEvaluator())
1318 return gf->GetFESpace()->GetEvaluator()->Dim();
1319 */
1320 throw Exception(string ("don't know my dimension, space is ") +
1321 gf->GetFESpace()->GetClassName());
1322 }
1323
1324 Array<int> GridFunctionCoefficientFunction::Dimensions() const
1325 {

Callers 15

DiffShapeMethod · 0.45
T_EvaluateMethod · 0.45
DiffMethod · 0.45
bdbequations.hppFile · 0.45
DVecFunction · 0.45
DiffShapeMethod · 0.45
proxy_dof_dimensionFunction · 0.45
NewtonCFMethod · 0.45
EvaluateMethod · 0.45
expand_incrementsMethod · 0.45
calc_linearizationsMethod · 0.45

Calls 3

GetFESpaceMethod · 0.80
DimMethod · 0.45
GetClassNameMethod · 0.45

Tested by 1

TestCoefficientFunctionFunction · 0.36