8 #ifndef FFL_VTF_WRITER_H
9 #define FFL_VTF_WRITER_H
21 namespace FF_NAMESPACE {
34 bool write(
const std::string& filename,
const std::string& partname,
35 int ID = 1,
int type = 0);
37 bool write(
VTFAFile& file,
const std::string& partname,
int ID = 1,
38 std::vector<int>* outputOrder = NULL,
39 std::vector<int>* firstOrderNodes = NULL);
42 static const int T6m[6];
43 static const int Q8m[8];
44 static const int T10m[10];
45 static const int P15m[15];
46 static const int H20m[20];
49 bool writeNodes(
int blockID,
bool withID =
true);
50 bool writeElements(
const std::string& partName,
int blockID,
int nodesID,
51 bool withID =
true,
bool convTo1stOrder =
false);
52 bool writeGeometry(
const int* parts,
int nPart);
53 bool writeProperties(
int blockID);
55 bool showError(
const char* msg,
int ID = 0);
Container class for finite element models.
Definition: FFlLinkHandler.H:95
Definition: FFlVTFWriter.H:26
FFlVTFWriter & operator=(const FFlVTFWriter &)=delete
VTFAFile * myFile
Definition: FFlVTFWriter.H:58
std::map< int, int > myNodMap
Definition: FFlVTFWriter.H:61
std::set< int > myNodes
Definition: FFlVTFWriter.H:60
FFlVTFWriter(const FFlVTFWriter &)=delete
std::vector< int > myOrder
Definition: FFlVTFWriter.H:59
Definition: FFlWriterBase.H:23
Definition: FFlVTFWriter.C:21
int write(FILE *fd, const char *tag, int nchar, unsigned int cs, int tagLength=LEN_TAG)
Writes the file tag and checksum to the provided file.
Definition: FFaTag.C:325