16 #ifndef __FINLEY_MESH_H__
17 #define __FINLEY_MESH_H__
62 #include "paso/SystemMatrixPattern.h"
73 typedef std::map<std::string, int>
TagMap;
83 static Mesh*
load(
const std::string fname);
84 static Mesh*
read(
const std::string fname,
int order,
int reducedOrder,
86 static Mesh*
readGmsh(
const std::string fname,
int numDim,
int order,
87 int reducedOrder,
bool optimize,
88 bool useMacroElements);
90 void write(
const std::string fname)
const;
95 void addPoints(
int numPoints,
const double *points_ptr,
const int *tags_ptr);
96 void addTagMap(
const char* name,
int tag_key);
97 int getTag(
const char* name)
const;
112 const std::vector<int>& nodeDistribution);
114 int firstDOF,
int lastDOF,
bool useLinear);
118 void glueFaces(
double safetyFactor,
double tolerance,
bool);
119 void joinFaces(
double safetyFactor,
double tolerance,
bool);
130 void markNodes(std::vector<short>& mask,
int offset,
bool useLinear);
169 std::vector<double>
x;
178 #endif // __FINLEY_MESH_H__