17 #ifndef __FINLEY_ELEMENTFILE_H__ 18 #define __FINLEY_ELEMENTFILE_H__ 69 void allocTable(
dim_t NE);
80 void distributeByRankOfDOF(
const std::vector<int>& mpiRankOfDOF,
88 void optimizeOrdering();
94 void markNodes(std::vector<short>& mask,
int offset,
bool useLinear);
106 inline std::pair<index_t,index_t> getNodeRange()
const;
110 inline void updateTagList();
185 #endif // __FINLEY_ELEMENTFILE_H__ index_t * Nodes
Definition: finley/src/ElementFile.h:143
~ElementFile_Jacobians()
Definition: finley/src/ElementFile_jacobians.cpp:33
int status
status of mesh when jacobians were updated last time
Definition: finley/src/ElementFile.h:33
escript::JMPI MPIInfo
Definition: finley/src/ElementFile.h:116
boost::shared_ptr< const ReferenceElementSet > const_ReferenceElementSet_ptr
Definition: ReferenceElementSets.h:79
const_ReferenceElementSet_ptr referenceElementSet
the reference element to be used
Definition: finley/src/ElementFile.h:119
ElementFile_Jacobians * jacobians
jacobians of the shape function used for solution approximation
Definition: finley/src/ElementFile.h:158
ElementFile_Jacobians(const_ShapeFunction_ptr basis)
Definition: finley/src/ElementFile_jacobians.cpp:22
index_t maxColor
maximum color value
Definition: finley/src/ElementFile.h:155
std::vector< index_t > IndexVector
Definition: DataTypes.h:62
int numQuadTotal
Definition: finley/src/ElementFile.h:40
Definition: finley/src/ElementFile.h:27
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:71
void setValuesInUse(const int *values, dim_t numValues, std::vector< int > &valuesInUse, escript::JMPI mpiinfo)
Definition: finley/src/Util.cpp:332
dim_t numElements
number of elements
Definition: finley/src/ElementFile.h:53
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:31
index_t minColor
minimum color value
Definition: finley/src/ElementFile.h:152
double * volume
local volume
Definition: finley/src/ElementFile.h:55
int numNodes
number of nodes per element
Definition: finley/src/ElementFile.h:137
index_t * Color
Definition: finley/src/ElementFile.h:149
std::vector< int > tagsInUse
array of tags which are actually used
Definition: finley/src/ElementFile.h:134
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:59
void updateTagList()
Definition: finley/src/ElementFile.h:178
int numSub
number of subelements
Definition: finley/src/ElementFile.h:46
index_t * Id
Definition: finley/src/ElementFile.h:125
IndexPair getMinMaxInt(int dim, dim_t N, const index_t *values)
Definition: finley/src/Util.cpp:267
Data represents a collection of datapoints.
Definition: Data.h:63
Definition: finley/src/NodeFile.h:40
const int * node_selection
Definition: finley/src/ElementFile.h:51
const int * offsets
offset to sides (borrowed reference)
Definition: finley/src/ElementFile.h:44
const_ShapeFunction_ptr BasisFunctions
basis function used
Definition: finley/src/ElementFile.h:37
ElementFile_Jacobians * jacobians_reducedQ
Definition: finley/src/ElementFile.h:166
int numDim
number of spatial dimensions
Definition: finley/src/ElementFile.h:35
boost::shared_ptr< const ShapeFunction > const_ShapeFunction_ptr
Definition: ShapeFunctions.h:99
double * DSDX
Definition: finley/src/ElementFile.h:58
void gather(int len, const index_t *index, int numData, const double *in, double *out)
Definition: dudley/src/Util.cpp:43
int numShapesTotal
total number of shape functions = BasisFunctions->numShapes * numSides
Definition: finley/src/ElementFile.h:48
int numSides
number of sides (=1 normal, =2 contact)
Definition: finley/src/ElementFile.h:42
ElementFile_Jacobians * jacobians_reducedS_reducedQ
Definition: finley/src/ElementFile.h:170
dim_t numElements
number of elements
Definition: finley/src/ElementFile.h:121
int * Tag
Tag[i] is the tag of element i.
Definition: finley/src/ElementFile.h:128
int * Owner
Owner[i] contains the rank that owns element i.
Definition: finley/src/ElementFile.h:131
std::pair< index_t, index_t > getNodeRange() const
Definition: finley/src/ElementFile.h:173
ElementFile_Jacobians * jacobians_reducedS
Definition: finley/src/ElementFile.h:162
index_t dim_t
Definition: DataTypes.h:64
Definition: finley/src/ElementFile.h:61