escript  Revision_
Public Member Functions | Protected Member Functions | List of all members
weipa::ElementData Class Referenceabstract

Stores and manipulates one type of domain elements. More...

#include <ElementData.h>

Inheritance diagram for weipa::ElementData:
weipa::FinleyElements weipa::RipleyElements weipa::SpeckleyElements

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 IntVecgetNodeList () const =0
 Returns a vector of the node IDs used by the elements. More...
 
virtual const IntVecgetIDs () 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 QuadMaskInfogetQuadMask (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 ()
 

Detailed Description

Stores and manipulates one type of domain elements.

Note
The corresponding mesh nodes are not part of this class but are stored in a NodeData instance.

Constructor & Destructor Documentation

◆ ~ElementData()

virtual weipa::ElementData::~ElementData ( )
inlineprotectedvirtual

Member Function Documentation

◆ getElementFactor()

virtual int weipa::ElementData::getElementFactor ( ) const
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.

◆ getGhostCount()

virtual int weipa::ElementData::getGhostCount ( ) const
pure virtual

Returns the number of "ghost" elements.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getIDs()

virtual const IntVec& weipa::ElementData::getIDs ( ) const
pure virtual

Returns a vector of element IDs.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getMeshNames()

virtual StringVec weipa::ElementData::getMeshNames ( ) const
pure virtual

Returns the names of the meshes associated with the elements.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getNodeList()

virtual const IntVec& weipa::ElementData::getNodeList ( ) const
pure virtual

Returns a vector of the node IDs used by the elements.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getNodes()

virtual NodeData_ptr weipa::ElementData::getNodes ( ) const
pure virtual

Returns the NodeData instance used by the elements.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getNodesPerElement()

virtual int weipa::ElementData::getNodesPerElement ( ) const
pure virtual

Returns the number of nodes per element.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getNumElements()

virtual int weipa::ElementData::getNumElements ( ) const
pure virtual

Returns the number of elements.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getQuadMask()

virtual const QuadMaskInfo& weipa::ElementData::getQuadMask ( int  fsCode) const
pure virtual

Returns a QuadMaskInfo structure for given functionspace code.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getReducedElements()

virtual ElementData_ptr weipa::ElementData::getReducedElements ( ) const
pure virtual

Returns the reduced elements if available.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getType()

virtual ZoneType weipa::ElementData::getType ( ) const
pure virtual

Returns the element type.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ getVarNames()

virtual StringVec weipa::ElementData::getVarNames ( ) const
pure virtual

Returns a vector with the mesh variable names.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.

◆ writeConnectivityVTK()

virtual void weipa::ElementData::writeConnectivityVTK ( std::ostream &  os)
pure virtual

Writes connectivity data to a stream in VTK text format.

Implemented in weipa::FinleyElements, weipa::RipleyElements, and weipa::SpeckleyElements.


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