-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account for global Lagrange multipliers in initElement() #735
Conversation
The static evaluation methods are then put in the Lagrange namespace. Lagrange::computeBasis() should resize the output arrays only if to small.
jenkins build this with downstreams ifem-poisson=64 please |
If nonzero, the last nskip entries in the index array are skipped.
jenkins build this with downstreams ifem-poisson=64 ifem-stokes=318 please |
This is used to specify how many nodes to drop from the MNPC list in the utl::gather() call, in case of global Lagrange multipliers (GLM) or mixed basis interpolation. In case of GLMs, a virtual method IntegrandBase::getNoGLMs() needs to be overridden by the app. Added: protected method IntegrandBase::initElement2() with optional argument nskip. Use this method (instead of making a local reduced copy of MNPC) in sub-classes, when some of the nodal indices should be left out from MNPC when extracting element-level primary solution vectors. Method IntegrandBase::initElement1() is also protected, for consistency. Added: Optional argument nskip to initElement1() and evalSol1() with similar interpretation as for initElement2()
jenkins build this with downstreams ifem-poisson=65 ifem-stokes=318 please |
1 similar comment
jenkins build this with downstreams ifem-poisson=65 ifem-stokes=318 please |
The last failure was only due to lag in the Jenkins build not using the latest force-push in the Poisson repo. Therefore merging anyways. |
We do this by providing an additional argument to the
utl::gather()
methods, telling how many (if any) nodes to omit from theMNPC
array when extracting the element vectors. A virtual methodgetNoGLMs()
is then used for the apps to define this value according the the chosen solution scheme.