COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Public Member Functions | Private Attributes | List of all members
MeshWriter Class Reference

#include <smurf.h>

Public Member Functions

 MeshWriter (const std::string &fname, const DataType _datatype=DOUBLE, const bool _reverse=false, const unsigned _version=107, const double _solutiontime=0.)
 
 ~MeshWriter ()
 
void writeMainHeader (const std::string &htitle, const std::vector< std::string > &hvnames)
 
void writeZoneHeader (const ZoneType &type, const ZonePack &pack, const std::string &title, const unsigned I=1, const unsigned J=1, const unsigned K=1, const int &strand_id=int(-2))
 
void writeZoneData (const ZoneType &type, const ZonePack &pack, const std::vector< std::vector< unsigned > > &ve, const std::vector< std::vector< double > > &vv=std::vector< std::vector< double > >(), const int sharefrom=0)
 

Private Attributes

FILE * m_file
 
const DataType m_datatype
 
const bool m_reverse
 
const unsigned m_version
 
const double m_solutiontime
 
unsigned m_nvars
 
bool m_eohmarker
 

Detailed Description

Definition at line 29 of file smurf.h.

Constructor & Destructor Documentation

MeshWriter ( const std::string &  fname,
const DataType  _datatype = DOUBLE,
const bool  _reverse = false,
const unsigned  _version = 107,
const double  _solutiontime = 0. 
)

Definition at line 69 of file smurf.cpp.

~MeshWriter ( )

Definition at line 84 of file smurf.cpp.

Member Function Documentation

void writeMainHeader ( const std::string &  htitle,
const std::vector< std::string > &  hvnames 
)

Definition at line 92 of file smurf.cpp.

void writeZoneData ( const ZoneType type,
const ZonePack pack,
const std::vector< std::vector< unsigned > > &  ve,
const std::vector< std::vector< double > > &  vv = std::vector< std::vector< double > >(),
const int  sharefrom = 0 
)

Definition at line 164 of file smurf.cpp.

void writeZoneHeader ( const ZoneType type,
const ZonePack pack,
const std::string &  title,
const unsigned  I = 1,
const unsigned  J = 1,
const unsigned  K = 1,
const int &  strand_id = int(-2) 
)

Definition at line 113 of file smurf.cpp.

Member Data Documentation

const DataType m_datatype
private

Definition at line 39 of file smurf.h.

bool m_eohmarker
private

Definition at line 44 of file smurf.h.

FILE* m_file
private

Definition at line 38 of file smurf.h.

unsigned m_nvars
private

Definition at line 43 of file smurf.h.

const bool m_reverse
private

Definition at line 40 of file smurf.h.

const double m_solutiontime
private

Definition at line 42 of file smurf.h.

const unsigned m_version
private

Definition at line 41 of file smurf.h.


The documentation for this class was generated from the following files:
Send comments to:
COOLFluiD Web Admin