libCEED icon indicating copy to clipboard operation
libCEED copied to clipboard

Scalar Multiplicity Vector

Open jeremylt opened this issue 1 year ago • 0 comments

          Yeah, it is. But the important part is that is results in 1 scalar per node rather than 1 scalar per component per node (which is what `CeedElemRestrictionGetMultiplicity` gives out). So if there's an easy *Edit: and robust* way of getting out the components that correspond to a single component, then we could just do that and invert that vector.

Originally posted by @jrwrigh in https://github.com/CEED/libCEED/pull/1223#discussion_r1304839240

Local node multiplicity is the same across all components - we could save memory movement by letting a ElemRestriction provide a scalar multiplicity vector.

jeremylt avatar Aug 24 '23 21:08 jeremylt