Jive reference manual
List of all members | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes
jive::fem::Element Class Reference

#include <jive/fem/Element.h>

Inheritance diagram for jive::fem::Element:
Inheritance graph

Public Types

enum  PointType {
  IPOINTS,
  VERTICES,
  CUSTOM
}
 
typedef geom::Shape Shape
 

Public Member Functions

 Element (const ElementSet &elems, const Ref< Shape > &shape=NIL)
 
virtual void reset ()
 
virtual void setShape (Shape *shape)
 
virtual void loadData (idx_t ielem)
 
void loadDataFast (idx_t ielem)
 
void selectPoints (PointType pntType)
 
void setLocalPoints (const Matrix &coords)
 
void setGlobalPoints (const Matrix &coords, double eps)
 
const Matrix & getGlobalPoints ()
 
const Vector & getPointWeights ()
 
const Matrix & getShapeFuncs ()
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Public Attributes

ElementSet elems
 
NodeSet nodes
 
idx_t ielem
 
Ref< Shapeshape
 
bool newShape
 
idx_t rank
 
idx_t localRank
 
idx_t pntCount
 
idx_t nodeCount
 
idx_t funcCount
 
IdxVector inodes
 
Matrix xnodes
 
Matrix upoints
 
Matrix xpoints
 
Vector pntWeights
 
Matrix shapeFuncs
 

Protected Member Functions

virtual ~Element ()
 
virtual void setupChanged_ (int flags)
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 
- Protected Member Functions inherited from jive::fem::VirtualElement
virtual ~VirtualElement ()
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. More...
 

Protected Attributes

PointType pntType_
 

Static Protected Attributes

static const int NEW_SHAPE_
 
static const int NEW_POINTS_
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
IPOINTS 
VERTICES 
CUSTOM 

Constructor & Destructor Documentation

jive::fem::Element::Element ( const ElementSet elems,
const Ref< Shape > &  shape = NIL 
)
explicit
virtual jive::fem::Element::~Element ( )
protectedvirtual

Member Function Documentation

virtual void jive::fem::Element::reset ( )
virtual
virtual void jive::fem::Element::setShape ( Shape shape)
virtual
virtual void jive::fem::Element::loadData ( idx_t  ielem)
virtual
void jive::fem::Element::loadDataFast ( idx_t  ielem)
void jive::fem::Element::selectPoints ( PointType  pntType)
void jive::fem::Element::setLocalPoints ( const Matrix &  coords)
void jive::fem::Element::setGlobalPoints ( const Matrix &  coords,
double  eps 
)
const Matrix& jive::fem::Element::getGlobalPoints ( )
const Vector& jive::fem::Element::getPointWeights ( )
const Matrix& jive::fem::Element::getShapeFuncs ( )
virtual void jive::fem::Element::setupChanged_ ( int  flags)
protectedvirtual

Member Data Documentation

ElementSet jive::fem::Element::elems
NodeSet jive::fem::Element::nodes
idx_t jive::fem::Element::ielem
Ref<Shape> jive::fem::Element::shape
bool jive::fem::Element::newShape
idx_t jive::fem::Element::rank
idx_t jive::fem::Element::localRank
idx_t jive::fem::Element::pntCount
idx_t jive::fem::Element::nodeCount
idx_t jive::fem::Element::funcCount
IdxVector jive::fem::Element::inodes
Matrix jive::fem::Element::xnodes
Matrix jive::fem::Element::upoints
Matrix jive::fem::Element::xpoints
Vector jive::fem::Element::pntWeights
Matrix jive::fem::Element::shapeFuncs
const int jive::fem::Element::NEW_SHAPE_
staticprotected
const int jive::fem::Element::NEW_POINTS_
staticprotected
PointType jive::fem::Element::pntType_
protected