escript
Revision_
|
Stores and manipulates one type of domain elements. More...
#include <ElementData.h>
Public Member Functions | |
virtual void | writeConnectivityVTK (std::ostream &os)=0 |
Writes connectivity data to a stream in VTK text format. More... | |
virtual StringVec | getMeshNames () const =0 |
Returns the names of the meshes associated with the elements. More... | |
virtual StringVec | getVarNames () const =0 |
Returns a vector with the mesh variable names. More... | |
virtual int | getNumElements () const =0 |
Returns the number of elements. More... | |
virtual int | getNodesPerElement () const =0 |
Returns the number of nodes per element. More... | |
virtual int | getGhostCount () const =0 |
Returns the number of "ghost" elements. More... | |
virtual ZoneType | getType () const =0 |
Returns the element type. More... | |
virtual const IntVec & | getNodeList () const =0 |
Returns a vector of the node IDs used by the elements. More... | |
virtual const IntVec & | getIDs () const =0 |
Returns a vector of element IDs. More... | |
virtual NodeData_ptr | getNodes () const =0 |
Returns the NodeData instance used by the elements. More... | |
virtual ElementData_ptr | getReducedElements () const =0 |
Returns the reduced elements if available. More... | |
virtual const QuadMaskInfo & | getQuadMask (int fsCode) const =0 |
Returns a QuadMaskInfo structure for given functionspace code. More... | |
virtual int | getElementFactor () const =0 |
If the original element type is not supported they are subdivided into N smaller elements (e.g. one Rec9 -> four Rec4) and this method returns the multiplication factor N. More... | |
Protected Member Functions | |
virtual | ~ElementData () |
Stores and manipulates one type of domain elements.
|
inlineprotectedvirtual |
|
pure virtual |
If the original element type is not supported they are subdivided into N smaller elements (e.g. one Rec9 -> four Rec4) and this method returns the multiplication factor N.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns the number of "ghost" elements.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns a vector of element IDs.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns the names of the meshes associated with the elements.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns a vector of the node IDs used by the elements.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns the NodeData instance used by the elements.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns the number of nodes per element.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns the number of elements.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns a QuadMaskInfo structure for given functionspace code.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns the reduced elements if available.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns the element type.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Returns a vector with the mesh variable names.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.
|
pure virtual |
Writes connectivity data to a stream in VTK text format.
Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.