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

Method RestrictionOperator

comp/fespace.cpp:3701–3710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3699
3700
3701 shared_ptr<BaseMatrix> CompoundFESpace :: RestrictionOperator (int spacenr) const
3702 {
3703 shared_ptr<BaseMatrix> emb = make_shared<EmbeddingTranspose> (GetNDof(), GetRange(spacenr), IsComplex());
3704 if (IsParallel())
3705 emb = make_shared<ParallelMatrix> (emb,
3706 GetParallelDofs(),
3707 spaces[spacenr] -> GetParallelDofs(),
3708 C2C);
3709 return emb;
3710 }
3711
3712
3713

Callers

nothing calls this directly

Calls 5

GetParallelDofsMethod · 0.80
GetNDofFunction · 0.70
GetRangeFunction · 0.70
IsComplexFunction · 0.70
GetParallelDofsFunction · 0.70

Tested by

no test coverage detected