![]() |
GemaCoreLib
The GeMA Core library
|
A helper class that returns the coordinates of an element's Gauss points. Should be used when we want to get coordinates from a SINGLE element. If you are going to get coordinates for multiple elements in a loop, prefer using GmMultiGaussCoordinates. More...
#include <gmGaussCoordinates.h>
Public Member Functions | |
GmSingleGaussCoordinates (const GmIntegrationRule *ir, const GmElement *e, const GmValueAccessor *coordAc) | |
Builds an object for returning an element's gauss point coordinates from a given integration rule and element. | |
GmSingleGaussCoordinates (const GmElementMesh *mesh, int ruleSet, const GmElement *e, const GmValueAccessor *coordAc) | |
Builds an object for returning an elemnt's gauss point coordinates obtaining the integration rule from the elements mesh and the desired rule set. | |
![]() | |
int | numPoints () const |
Return the number of integration points for this element. | |
void | coord (int ip, GmVector &c) const |
Fills c with the cartesian coordinates of integration point ip. | |
const GmShape * | shape () const |
Returns the current element shape function. | |
const GmIntegrationRule * | integrationRule () const |
Returns the current element integration rule. | |
GmMatrix & | coordMatrix () |
Returns a WRITABLE reference to the current element node coordinates. Can be used to alter the standard element node coordinate set. | |
Additional Inherited Members | |
![]() | |
GmGaussCoordinates (const GmShape *shape, const GmIntegrationRule *ir) | |
The basic constructor. Accepts NULL parameters as long as they are filled before using numPoints() or coord() | |
![]() | |
const GmShape * | _shape |
The shape function for the element type. | |
const GmIntegrationRule * | _ir |
The integration rule defining the set of Gauss points. | |
GmMatrix | _X |
The matrix with element node coordinates. | |
A helper class that returns the coordinates of an element's Gauss points. Should be used when we want to get coordinates from a SINGLE element. If you are going to get coordinates for multiple elements in a loop, prefer using GmMultiGaussCoordinates.