Finite Element Domain Decomposition Library
FEDDLib
Loading...
Searching...
No Matches
FEDD::ExporterParaView< SC, LO, GO, NO > Class Template Reference

Public Types

typedef std::vector< double > vec_dbl
typedef std::vector< std::vector< double > > vec2D_dbl
typedef std::vector< std::vector< int > > vec2D_int
typedef std::vector< std::vector< long long > > vec2D_longlong
typedef Teuchos::RCP< std::vector< int > > vec_int_ptr
typedef Teuchos::RCP< std::vector< long long > > vec_longlong_ptr
typedef Teuchos::RCP< vec_dbl > vec_dbl_ptr
typedef Teuchos::RCP< std::vector< std::vector< double > > > vec2D_dbl_ptr
typedef Teuchos::RCP< std::vector< std::vector< int > > > vec2D_int_ptr
typedef Teuchos::RCP< vec2D_longlong > vec2D_longlong_ptr
typedef MultiVector< SC, LO, GO, NO > MultiVector_Type
typedef Teuchos::RCP< MultiVector_Type > MultiVectorPtr_Type
typedef Teuchos::RCP< const MultiVector_Type > MultiVectorConstPtr_Type
typedef HDF5Toolbox< SC, LO, GO, NO > HDF5_Type
typedef Teuchos::RCP< HDF5_Type > HDF5Ptr_Type
typedef Teuchos::Comm< int > Comm_Type
typedef Teuchos::RCP< const Comm_Type > CommConstPtr_Type
typedef const Teuchos::RCP< const Comm_Type > CommConstPtrConst_Type
typedef Map< LO, GO, NO > Map_Type
typedef Teuchos::RCP< Map_Type > MapPtr_Type
typedef Teuchos::RCP< const Map_Type > MapConstPtr_Type
typedef const MapConstPtr_Type MapConstPtrConst_Type
typedef MultiVector< SC, LO, GO, NO > MultiVec_Type
typedef Teuchos::RCP< const MultiVec_Type > MultiVecConstPtr_Type
typedef const MultiVecConstPtr_Type MultiVecConstPtrConst_Type
typedef Mesh< SC, LO, GO, NO > Mesh_Type
typedef Teuchos::RCP< Mesh_Type > MeshPtr_Type
typedef Mesh_Type::ElementsPtr_Type ElementsPtr_Type

Public Member Functions

void setup (std::string filename, MeshPtr_Type mesh, std::string FEType, ParameterListPtr_Type parameterList=Teuchos::null)
void setup (std::string filename, MeshPtr_Type mesh, std::string FEType, int saveTimestep, ParameterListPtr_Type parameterList=Teuchos::null)
void addVariable (MultiVecConstPtr_Type &u, std::string varName, std::string varType, int dofPerNode, MapConstPtrConst_Type &mapUnique=Teuchos::null)
void save (double time)
void save (double time, double dt)
void closeExporter ()
void writeVariablesHDF5 ()
void initHDF5 ()
void writeMeshElements (std::string nameConn)
void writeMeshPointsHDF5 ()
void writeMeshPoints (std::string nameP_X, std::string nameP_Y, std::string nameP_Z)
void updatePoints ()
void initXmf ()
void initXmfTimes ()
void writeXmf (double time)
void writeXmfElements (std::string nameConn, double time)
void writeXmfPoints (std::string nameP_X, std::string nameP_Y, std::string nameP_Z)
void writeXmfVariables ()
void writeXmfTime (double time, double dt)
void prepareVectorField (MultiVecConstPtr_Type &u, MultiVectorPtr_Type &u_export, int dof) const
void prepareScalar (MultiVecConstPtr_Type &u, MultiVectorPtr_Type &u_export) const
void makePostfix ()

Protected Attributes

HDF5Ptr_Type hdf5exporter_
CommConstPtr_Type comm_
std::streampos closingLinesPosition_
std::streampos closingLinesPositionTimes_
std::string closingLines_
std::ofstream xmf_out_
std::ofstream xmf_times_out_
std::string filename_
std::string outputFilename_
std::string postfix_
std::string FEType_
std::vector< MultiVecConstPtr_Type > variables_
std::vector< MapConstPtr_Type > uniqueMaps_
std::vector< std::string > varNames_
std::vector< std::string > varTypes_
std::vector< int > varDofPerNode_
MultiVectorPtr_Type pointsHDF_
MultiVectorPtr_Type elementsHDF_
UN dim_
GO nmbElementsGlob_
GO nmbPointsGlob_
GO nmbExportValuesGlob_
int nmbPointsPerElement_
int timeIndex_
bool writeDt_
int saveTimestep_
bool verbose_
ParameterListPtr_Type parameterList_
vec2D_dbl_ptr pointsUnique_
bool redo_ = false
MeshPtr_Type mesh_
MapConstPtr_Type mapUniqueVariables_

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