FEDEM Model Database  R8.0
Source code of the FEDEM model database
Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
FFlVTFWriter Class Reference

#include <FFlVTFWriter.H>

Inheritance diagram for FFlVTFWriter:
Inheritance graph
[legend]
Collaboration diagram for FFlVTFWriter:
Collaboration graph
[legend]

Public Member Functions

 FFlVTFWriter (const FFlLinkHandler *link)
 
 FFlVTFWriter (const FFlVTFWriter &)=delete
 
virtual ~FFlVTFWriter ()
 
FFlVTFWriter & operator= (const FFlVTFWriter &)=delete
 
bool write (const std::string &filename, const std::string &partname, int ID=1, int type=0)
 
bool write (VTFAFile &file, const std::string &partname, int ID=1, std::vector< int > *outputOrder=NULL, std::vector< int > *firstOrderNodes=NULL)
 
- Public Member Functions inherited from FFlWriterBase
 FFlWriterBase (const FFlLinkHandler *p)
 
virtual ~FFlWriterBase ()
 

Static Public Attributes

static const int T6m [6]
 
static const int Q8m [8]
 
static const int T10m [10]
 
static const int P15m [15]
 
static const int H20m [20]
 

Protected Member Functions

bool writeNodes (int blockID, bool withID=true)
 
bool writeElements (const std::string &partName, int blockID, int nodesID, bool withID=true, bool convTo1stOrder=false)
 
bool writeGeometry (const int *parts, int nPart)
 
bool writeProperties (int blockID)
 
bool showError (const char *msg, int ID=0)
 

Private Attributes

VTFAFile * myFile
 
std::vector< int > myOrder
 
std::set< int > myNodes
 
std::map< int, int > myNodMap
 

Additional Inherited Members

- Protected Attributes inherited from FFlWriterBase
const FFlLinkHandler * myLink
 
FFaProfiler * myProfiler
 

Constructor & Destructor Documentation

◆ FFlVTFWriter() [1/2]

FFlVTFWriter::FFlVTFWriter ( const FFlLinkHandler *  link)

◆ FFlVTFWriter() [2/2]

FFlVTFWriter::FFlVTFWriter ( const FFlVTFWriter &  )
delete

◆ ~FFlVTFWriter()

FFlVTFWriter::~FFlVTFWriter ( )
virtual

Member Function Documentation

◆ operator=()

FFlVTFWriter& FFlVTFWriter::operator= ( const FFlVTFWriter &  )
delete

◆ showError()

bool FFlVTFWriter::showError ( const char *  msg,
int  ID = 0 
)
protected

◆ write() [1/2]

bool FFlVTFWriter::write ( const std::string &  filename,
const std::string &  partname,
int  ID = 1,
int  type = 0 
)

◆ write() [2/2]

bool FFlVTFWriter::write ( VTFAFile &  file,
const std::string &  partname,
int  ID = 1,
std::vector< int > *  outputOrder = NULL,
std::vector< int > *  firstOrderNodes = NULL 
)

◆ writeElements()

bool FFlVTFWriter::writeElements ( const std::string &  partName,
int  blockID,
int  nodesID,
bool  withID = true,
bool  convTo1stOrder = false 
)
protected

◆ writeGeometry()

bool FFlVTFWriter::writeGeometry ( const int *  parts,
int  nPart 
)
protected

◆ writeNodes()

bool FFlVTFWriter::writeNodes ( int  blockID,
bool  withID = true 
)
protected

◆ writeProperties()

bool FFlVTFWriter::writeProperties ( int  blockID)
protected

Member Data Documentation

◆ H20m

const int FFlVTFWriter::H20m
static
Initial value:
= {
1, 9, 2,10, 3,11, 4,12,17,18,19,20, 5,13, 6,14, 7,15, 8,16 }

◆ myFile

VTFAFile* FFlVTFWriter::myFile
private

◆ myNodes

std::set<int> FFlVTFWriter::myNodes
private

◆ myNodMap

std::map<int,int> FFlVTFWriter::myNodMap
private

◆ myOrder

std::vector<int> FFlVTFWriter::myOrder
private

◆ P15m

const int FFlVTFWriter::P15m
static
Initial value:
= {
1, 7, 2, 8, 3, 9,13,14,15, 4,10, 5,11, 6,12 }

◆ Q8m

const int FFlVTFWriter::Q8m
static
Initial value:
= {
1, 5, 2, 6, 3, 7, 4, 8 }

◆ T10m

const int FFlVTFWriter::T10m
static
Initial value:
= {
1, 5, 2, 6, 3, 7, 8, 9,10, 4 }

◆ T6m

const int FFlVTFWriter::T6m
static
Initial value:
= {
1, 4, 2, 5, 3, 6 }

The documentation for this class was generated from the following files: