GemaCoreLib
The GeMA Core library
Public Member Functions | List of all members
GmSingleGaussCoordinates Class Reference

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>

Inheritance diagram for GmSingleGaussCoordinates:
Inheritance graph
[legend]
Collaboration diagram for GmSingleGaussCoordinates:
Collaboration graph
[legend]

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.
 
- Public Member Functions inherited from GmGaussCoordinates
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 GmShapeshape () const
 Returns the current element shape function.
 
const GmIntegrationRuleintegrationRule () const
 Returns the current element integration rule.
 
GmMatrixcoordMatrix ()
 Returns a WRITABLE reference to the current element node coordinates. Can be used to alter the standard element node coordinate set.
 

Additional Inherited Members

- Protected Member Functions inherited from GmGaussCoordinates
 GmGaussCoordinates (const GmShape *shape, const GmIntegrationRule *ir)
 The basic constructor. Accepts NULL parameters as long as they are filled before using numPoints() or coord()
 
- Protected Attributes inherited from GmGaussCoordinates
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.
 

Detailed Description

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.


The documentation for this class was generated from the following files: