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

#include <Output2D.h>

Collaboration diagram for TOutput2D:
Collaboration graph
[legend]

Classes

struct  TOutputData
 

Public Member Functions

 TOutput2D (int maxn_fespaces, int maxn_scalar, int maxn_vect, int maxn_parameters, TDomain *domain)
 
 ~TOutput2D ()
 
int AddFEFunction (TFEFunction2D *fefunction)
 
int AddFEVectFunct (TFEVectFunct2D *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 WriteGnuplot (const char *name)
 
int WriteVtk (const char *name)
 
void WriteVtkDiscontinuous (const char *fileName, int N_LocVertices, TVertex **Vertices)
 
int WriteMatlab (const char *name)
 
int WriteMatlabOld (const char *name)
 
int WriteGNU_iso (const char *name, int scalar)
 
int WriteGMV (const char *name)
 
int Write_ParVTK (#ifdef _MPI MPI_Comm comm,#endif int img, char *subID)
 
int WriteAsciiPlt (const char *filename)
 
int WriteBinaryPlt (const char *filename)
 

Protected Member Functions

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

Protected Attributes

TCollectionColl
 
int N_FESpaces
 
int MaxN_FESpaces
 
TFESpace2D ** FESpaceArray
 
int N_ScalarVar
 
int MaxN_ScalarVar
 
TFEFunction2D ** FEFunctionArray
 
int N_VectorVar
 
int MaxN_VectorVar
 
TFEVectFunct2D ** FEVectFunctArray
 
int N_Parameters
 
int MaxN_Parameters
 
double * ParameterValues
 
const char ** ParameterDescription
 
TDomainDomain
 
TOutputDataData
 

Detailed Description

store given data and realize output

Constructor & Destructor Documentation

TOutput2D::TOutput2D ( int  maxn_fespaces,
int  maxn_scalar,
int  maxn_vect,
int  maxn_parameters,
TDomain domain 
)

constructor: maximum number of these things

constructor maximum number of these things

TOutput2D::~TOutput2D ( )

destructor: freeing all allocated space

Member Function Documentation

int TOutput2D::AddFEFunction ( TFEFunction2D fefunction)

add a FEFunction into this output object

Here is the call graph for this function:

int TOutput2D::AddFESpace ( TFESpace2D 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 TOutput2D::AddFEVectFunct ( TFEVectFunct2D fevectfunct)

add a FEVectFunct into this output object

Here is the call graph for this function:

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

add parameter into this output object

int TOutput2D::Write ( std::string  basename,
int  i = 1,
double  _current_time = 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 TOutput2D::Write_ParVTK ( #ifdef _MPI MPI_Comm  comm,
#endif int  img,
char *  subID 
)

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

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

Here is the call graph for this function:

int TOutput2D::WriteAsciiPlt ( const char *  filename)

write ascii file for tecplot

Here is the call graph for this function:

int TOutput2D::WriteBinaryPlt ( const char *  filename)

write binary file for tecplot

Here is the call graph for this function:

int TOutput2D::WriteGMV ( const char *  name)

output for GMV file

Here is the call graph for this function:

int TOutput2D::WriteGNU_iso ( const char *  name,
int  scalar 
)

write scalar function into a gunplot file

write streamline function into a gunplot file

Here is the call graph for this function:

int TOutput2D::WriteGnuplot ( const char *  name)

write stored data into a gunplot file

Here is the call graph for this function:

Here is the caller graph for this function:

int TOutput2D::WriteGrape ( const char *  name)

write stored data into a grape file

Here is the call graph for this function:

int TOutput2D::WriteMatlab ( const char *  name)

write stored data into a MATLAB file

write stored data into a MATLAB file this works only for regular grids on rectangular domains !!! this works only for one scalar field !!!

Here is the call graph for this function:

int TOutput2D::WriteMatlabOld ( const char *  name)

write stored data into a MATLAB file

Here is the call graph for this function:

int TOutput2D::WriteVtk ( const char *  name)

write stored data into a VTK file

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

this is needed to handle vector valued basis functions such as Raviart-Thomas (RT) or Brezzi-Douglas-Marini (BDM) element

Here is the call graph for this function:

Here is the caller graph for this function:

void TOutput2D::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* TOutput2D::Coll
protected

collection for all spaces and functions

TDomain* TOutput2D::Domain
protected

corresponding domain

TFEFunction2D** TOutput2D::FEFunctionArray
protected

array of stored scalar variables

TFESpace2D** TOutput2D::FESpaceArray
protected

array of stored FESpaces

TFEVectFunct2D** TOutput2D::FEVectFunctArray
protected

array of stored vector-valued variables

int TOutput2D::MaxN_FESpaces
protected

maximal storage for FESpaces

int TOutput2D::MaxN_Parameters
protected

maximal storage for parameters

int TOutput2D::MaxN_ScalarVar
protected

maximal storage for FEFunction

int TOutput2D::MaxN_VectorVar
protected

maximal storage for FEVectFunct

int TOutput2D::N_FESpaces
protected

number of stored FESpace

int TOutput2D::N_Parameters
protected

number of stored paramters

int TOutput2D::N_ScalarVar
protected

number of stored scalar variables = TFEFunction

int TOutput2D::N_VectorVar
protected

number of stored vector-valued variables = TFEFunction

const char** TOutput2D::ParameterDescription
protected

description for parameters

double* TOutput2D::ParameterValues
protected

values of parameters


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