ParMooN
 All Classes Functions Variables Friends Pages
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TOutput3D Class Reference

#include <Output3D.h>

Collaboration diagram for TOutput3D:
Collaboration graph
[legend]

Classes

struct  TOutputData
 

Public Member Functions

 TOutput3D (int maxn_fespaces, int maxn_scalar, int maxn_vect, int maxn_parameters, TDomain *domain, TCollection *coll=NULL, const char *name=NULL)
 
 ~TOutput3D ()
 
int AddFEFunction (TFEFunction3D *fefunction)
 
int AddFEVectFunct (TFEVectFunct3D *fevectfunct)
 
int AddParameter (double value, const char *descr)
 
int Write (std::string basename, int i=1, double t=0.)
 
int WriteGrape (const char *name)
 
int WriteTecplot (const char *name)
 
int WriteGMV (const char *name)
 
int WriteAmira (const char *name)
 
int WriteVtk (const char *name)
 
void WriteVtkDiscontinuous (const char *fileName, int N_LocVertices, TVertex **Vertices)
 
int Write_ParVTK (#ifdef _MPI MPI_Comm comm,#endif int img, char *subID)
 
int WriteBinaryPlt (const char *filename)
 

Protected Member Functions

int AddFESpace (TFESpace3D *fespace)
 
void ComputeOutputData ()
 
void ComputeFEValues ()
 

Protected Attributes

TCollectionColl
 
int N_FESpaces
 
int MaxN_FESpaces
 
TFESpace3D ** FESpaceArray
 
int N_ScalarVar
 
int MaxN_ScalarVar
 
TFEFunction3D ** FEFunctionArray
 
int N_VectorVar
 
int MaxN_VectorVar
 
TFEVectFunct3D ** FEVectFunctArray
 
int N_Parameters
 
int MaxN_Parameters
 
double * ParameterValues
 
const char ** ParameterDescription
 
TDomainDomain
 
TOutputDataData
 
char * Name
 

Detailed Description

store given data and realize output

Constructor & Destructor Documentation

TOutput3D::TOutput3D ( int  maxn_fespaces,
int  maxn_scalar,
int  maxn_vect,
int  maxn_parameters,
TDomain domain,
TCollection coll = NULL,
const char *  name = NULL 
)

constructor: maximum number of these things

constructor maximum number of these things

TOutput3D::~TOutput3D ( )

destructor: freeing all allocated space

Member Function Documentation

int TOutput3D::AddFEFunction ( TFEFunction3D fefunction)

add a FEFunction into this output object

Here is the call graph for this function:

int TOutput3D::AddFESpace ( TFESpace3D fespace)
protected

add a FESpace into this output object (internal use)

Here is the call graph for this function:

Here is the caller graph for this function:

int TOutput3D::AddFEVectFunct ( TFEVectFunct3D fevectfunct)

add a FEVectFunct into this output object

Here is the call graph for this function:

int TOutput3D::AddParameter ( double  value,
const char *  descr 
)

add parameter into this output object

Here is the caller graph for this function:

int TOutput3D::Write ( std::string  basename,
int  i = 1,
double  t = 0. 
)

write stored data. This calls the other Write* functions.

write stored data into a .vtk-file

Here is the call graph for this function:

int TOutput3D::Write_ParVTK ( #ifdef _MPI MPI_Comm  comm,
#endif int  img,
char *  subID 
)

write stored PARALLEL data into a pvtu and vtu files (XML files for paraview)

write stored PARALLEL data into a pvtu and vtu files (XML files for paraview) (Sashikumaar Ganesan)

Here is the call graph for this function:

int TOutput3D::WriteAmira ( const char *  name)

write stored data into an amira file

Here is the call graph for this function:

int TOutput3D::WriteBinaryPlt ( const char *  filename)

write stored data into a tecplot file

Here is the call graph for this function:

int TOutput3D::WriteGMV ( const char *  name)

write stored data into a GMV file

Here is the call graph for this function:

int TOutput3D::WriteGrape ( const char *  name)

write stored data into a grape file

Here is the call graph for this function:

int TOutput3D::WriteTecplot ( const char *  name)

write stored data into a tecplot file

Here is the call graph for this function:

int TOutput3D::WriteVtk ( const char *  name)

write stored data into an vtk file

write stored data into a VTK file start of implementation by Piotr Skrzypacz 24.03.04

Here is the call graph for this function:

Here is the caller graph for this function:

void TOutput3D::WriteVtkDiscontinuous ( const char *  fileName,
int  N_LocVertices,
TVertex **  Vertices 
)

write a discontinuous function into a VTK file

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

TCollection* TOutput3D::Coll
protected

collection for all spaces and functions

TDomain* TOutput3D::Domain
protected

corresponding domain

TFEFunction3D** TOutput3D::FEFunctionArray
protected

array of stored scalar variables

TFESpace3D** TOutput3D::FESpaceArray
protected

array of stored FESpaces

TFEVectFunct3D** TOutput3D::FEVectFunctArray
protected

array of stored vector-valued variables

int TOutput3D::MaxN_FESpaces
protected

maximal storage for FESpaces

int TOutput3D::MaxN_Parameters
protected

maximal storage for parameters

int TOutput3D::MaxN_ScalarVar
protected

maximal storage for FEFunction

int TOutput3D::MaxN_VectorVar
protected

maximal storage for FEVectFunct

int TOutput3D::N_FESpaces
protected

number of stored FESpace

int TOutput3D::N_Parameters
protected

number of stored paramters

int TOutput3D::N_ScalarVar
protected

number of stored scalar variables = TFEFunction

int TOutput3D::N_VectorVar
protected

number of stored vector-valued variables = TFEFunction

const char** TOutput3D::ParameterDescription
protected

description for parameters

double* TOutput3D::ParameterValues
protected

values of parameters


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