SCOREC / core

parallel finite element unstructured meshes
Other
179 stars 63 forks source link

api for evaluation of fields in element #426

Closed jacobmerson closed 2 months ago

jacobmerson commented 2 months ago

Is there a function that evaluates the field at a given location?

It seems like everywhere in the code that's needed we get the components getScalar or eqivalent, then get the shape function values with getShapeVals then multiply.

If it doesn't exist, either Max or I might add an api for it.

@maxrpi

jacobmerson commented 2 months ago

We found what we wanted....it is an overload of getScalar