17 #ifndef __WEIPA_RIPLEYELEMENTS_H__ 18 #define __WEIPA_RIPLEYELEMENTS_H__ 20 #include <weipa/ElementData.h> 21 #include <weipa/RipleyNodes.h> 62 void reorderGhostZones(
int ownIndex);
65 void removeGhostZones(
int ownIndex);
68 virtual void writeConnectivityVTK(std::ostream& os);
75 bool writeToSilo(DBfile* dbfile,
const std::string& siloPath,
106 virtual const IntVec& getVarDataByName(
const std::string varName)
const;
125 IntVec prepareGhostIndices(
int ownIndex);
126 void reorderArray(
IntVec& v,
const IntVec& idx,
int elementsPerIndex);
142 #endif // __WEIPA_RIPLEYELEMENTS_H__ int nodesPerElement
Definition: RipleyElements.h:133
virtual int getNumElements() const
Returns the number of elements.
Definition: RipleyElements.h:86
This struct holds a mask (0's and 1's) that indicates which quad nodes contribute to a sub-element wh...
Definition: ElementData.h:39
QuadMaskInfo quadMask
Definition: RipleyElements.h:137
boost::shared_ptr< RipleyNodes > RipleyNodes_ptr
Definition: RipleyNodes.h:30
Stores and manipulates one type of domain elements.
Definition: ElementData.h:48
virtual int getGhostCount() const
Returns the number of "ghost" elements.
Definition: RipleyElements.h:92
virtual NodeData_ptr getNodes() const
Returns the node mesh instance used by the elements.
Definition: RipleyElements.h:109
std::vector< std::string > StringVec
Definition: weipa.h:60
virtual const IntVec & getIDs() const
Returns a vector of element IDs.
Definition: RipleyElements.h:101
virtual int getElementFactor() const
If the original element type is not supported they are subdivided into N smaller elements (e...
Definition: RipleyElements.h:120
Definition: DataVar.cpp:39
std::vector< int > IntVec
Definition: weipa.h:59
ZoneType
Definition: ElementData.h:26
std::string name
Definition: RipleyElements.h:130
virtual const QuadMaskInfo & getQuadMask(int functionSpace) const
Returns a QuadMaskInfo structure for given functionspace code.
Definition: RipleyElements.h:115
RipleyDomain extends the AbstractContinuousDomain interface for the Ripley library and is the base cl...
Definition: ripley/src/RipleyDomain.h:101
Stores and manipulates one type of ripley mesh elements (cells, faces).
Definition: RipleyElements.h:44
IntVec tag
Definition: RipleyElements.h:136
boost::shared_ptr< RipleyElements > RipleyElements_ptr
Definition: RipleyElements.h:32
virtual ~RipleyElements()
Destructor.
Definition: RipleyElements.h:55
RipleyNodes_ptr originalMesh
Definition: RipleyElements.h:129
RipleyElements()
Definition: RipleyElements.h:123
ZoneType type
Definition: RipleyElements.h:134
virtual const IntVec & getNodeList() const
Returns a vector of the node IDs used by the elements.
Definition: RipleyElements.h:98
int numElements
Definition: RipleyElements.h:131
Definition: ripley/src/AbstractAssembler.h:25
IntVec nodes
Definition: RipleyElements.h:135
virtual ElementData_ptr getReducedElements() const
Returns the reduced elements.
Definition: RipleyElements.h:112
boost::shared_ptr< ElementData > ElementData_ptr
Definition: weipa.h:66
virtual int getNodesPerElement() const
Returns the number of nodes per element.
Definition: RipleyElements.h:89
boost::shared_ptr< NodeData > NodeData_ptr
Definition: weipa.h:68
virtual ZoneType getType() const
Returns the type of the elements.
Definition: RipleyElements.h:95
RipleyNodes_ptr nodeMesh
Definition: RipleyElements.h:128
int numGhostElements
Definition: RipleyElements.h:132