Go to the documentation of this file.
17 #ifndef __FINLEY_ELEMENTFILE_H__
18 #define __FINLEY_ELEMENTFILE_H__
27 struct ElementFile_Jacobians
94 void markNodes(std::vector<short>& mask,
int offset,
bool useLinear);
185 #endif // __FINLEY_ELEMENTFILE_H__
ElementFile_Jacobians(const_ShapeFunction_ptr basis)
Definition: finley/src/ElementFile_jacobians.cpp:33
ElementFile_Jacobians * jacobians_reducedS_reducedQ
Definition: finley/src/ElementFile.h:181
index_t minColor
minimum color value
Definition: finley/src/ElementFile.h:163
void scatter(index_t *index, const ElementFile *in)
Definition: finley/src/ElementFile.cpp:154
void gather(const index_t *index, const ElementFile *in)
Definition: finley/src/ElementFile.cpp:135
ElementFile_Jacobians * jacobians
jacobians of the shape function used for solution approximation
Definition: finley/src/ElementFile.h:169
void allocTable(dim_t NE)
allocates the element table within an element file to hold NE elements
Definition: finley/src/ElementFile.cpp:75
ElementFile_Jacobians * jacobians_reducedS
Definition: finley/src/ElementFile.h:173
int numShapesTotal
total number of shape functions = BasisFunctions->numShapes * numSides
Definition: finley/src/ElementFile.h:71
boost::shared_ptr< const ReferenceElementSet > const_ReferenceElementSet_ptr
Definition: ReferenceElementSets.h:90
int * Tag
Tag[i] is the tag of element i.
Definition: finley/src/ElementFile.h:139
double * volume
local volume
Definition: finley/src/ElementFile.h:78
const int * node_selection
Definition: finley/src/ElementFile.h:74
Definition: finley/src/ElementFile.h:38
void createColoring(const IndexVector &dofMap)
Tries to reduce the number of colours used to colour the elements.
Definition: finley/src/ElementFile.cpp:259
void relabelNodes(const IndexVector &newNode, index_t offset)
~ElementFile()
destructor
Definition: finley/src/ElementFile.cpp:65
void setTags(const int newTag, const escript::Data &mask)
Definition: finley/src/ElementFile.cpp:226
index_t * Nodes
Definition: finley/src/ElementFile.h:154
std::pair< index_t, index_t > getNodeRange() const
Definition: finley/src/ElementFile.h:184
void distributeByRankOfDOF(const std::vector< int > &mpiRankOfDOF, index_t *nodesId)
redistributes the elements including overlap by rank
Definition: finley/src/ElementFile.cpp:340
index_t maxColor
maximum color value
Definition: finley/src/ElementFile.h:166
ElementFile(const_ReferenceElementSet_ptr refElementSet, escript::JMPI mpiInfo)
Definition: finley/src/ElementFile.cpp:39
void setValuesInUse(const int *values, dim_t numValues, std::vector< int > &valuesInUse, escript::JMPI mpiinfo)
Definition: finley/src/Util.cpp:365
~ElementFile_Jacobians()
Definition: finley/src/ElementFile_jacobians.cpp:44
dim_t numElements
number of elements
Definition: finley/src/ElementFile.h:132
ElementFile_Jacobians * jacobians_reducedQ
Definition: finley/src/ElementFile.h:177
dim_t numElements
number of elements
Definition: finley/src/ElementFile.h:76
int * Owner
Owner[i] contains the rank that owns element i.
Definition: finley/src/ElementFile.h:142
Data represents a collection of datapoints.
Definition: Data.h:62
index_t dim_t
Definition: DataTypes.h:87
escript::JMPI MPIInfo
Definition: finley/src/ElementFile.h:127
boost::shared_ptr< JMPI_ > JMPI
Definition: EsysMPI.h:70
void freeTable()
deallocates the element table within an element file
Definition: finley/src/ElementFile.cpp:101
IndexPair getMinMaxInt(int dim, dim_t N, const index_t *values)
Definition: finley/src/Util.cpp:300
int numQuadTotal
Definition: finley/src/ElementFile.h:63
index_t * Color
Definition: finley/src/ElementFile.h:160
index_t * Id
Definition: finley/src/ElementFile.h:136
const int * offsets
offset to sides (borrowed reference)
Definition: finley/src/ElementFile.h:67
int status
status of mesh when jacobians were updated last time
Definition: finley/src/ElementFile.h:56
int index_t
type for array/matrix indices used both globally and on each rank
Definition: DataTypes.h:82
Definition: finley/src/NodeFile.h:39
ElementFile_Jacobians * borrowJacobians(const NodeFile *, bool, bool) const
Definition: finley/src/ElementFile_jacobians.cpp:51
void copyTable(index_t offset, index_t nodeOffset, index_t idOffset, const ElementFile *in)
Definition: finley/src/ElementFile.cpp:116
void swapTable(ElementFile *other)
Definition: finley/src/ElementFile.cpp:171
void markNodes(std::vector< short > &mask, int offset, bool useLinear)
Definition: finley/src/ElementFile.cpp:315
int numSides
number of sides (=1 normal, =2 contact)
Definition: finley/src/ElementFile.h:65
std::vector< int > tagsInUse
array of tags which are actually used
Definition: finley/src/ElementFile.h:145
Definition: finley/src/ElementFile.h:72
int numDim
number of spatial dimensions
Definition: finley/src/ElementFile.h:58
boost::shared_ptr< const ShapeFunction > const_ShapeFunction_ptr
Definition: ShapeFunctions.h:98
const_ShapeFunction_ptr BasisFunctions
basis function used
Definition: finley/src/ElementFile.h:60
double * DSDX
Definition: finley/src/ElementFile.h:81
const_ReferenceElementSet_ptr referenceElementSet
the reference element to be used
Definition: finley/src/ElementFile.h:130
void optimizeOrdering()
reorders the elements so that they are stored close to the nodes
Definition: finley/src/ElementFile.cpp:184
void updateTagList()
Definition: finley/src/ElementFile.h:189
int numSub
number of subelements
Definition: finley/src/ElementFile.h:69
A suite of factory methods for creating various finley domains.
Definition: finley/src/Assemble.h:31
std::vector< index_t > IndexVector
Definition: DataTypes.h:85
int numNodes
number of nodes per element
Definition: finley/src/ElementFile.h:148