Main Page | User's guide | Class Hierarchy | Class List | File List | Class Members

Multivac::CSaveLastCurve< T > Class Template Reference

#include <savelastcurve.hxx>

Inheritance diagram for Multivac::CSaveLastCurve< T >:

Multivac::CSaver< T > List of all members.

Public Member Functions

 CSaveLastCurve () throw ()
 Default constructor.

 CSaveLastCurve (string TimeFileName, string CurvesFileName, string CurveLengthsFileName, string PhiFileName, string FFileName, string XFileName, string YFileName, string PointsFileName, string EdgesFileName, string TrianglesFileName, int Period_)
 Main contructor.

 ~CSaveLastCurve () throw ()
 Destructor.

virtual void SaveAtTheBeginning (CMesh< T > &Mesh, CSpeedFunction< T > &F, CLevelSet< T > &Phi, CInitializer< T > &Initializer)
 Empty function.

virtual void SaveAtCurrentIteration (CMesh< T > &Mesh, CSpeedFunction< T > &F, CLevelSet< T > &Phi, T time, int iter, CInitializer< T > &Initializer)
 Empty function.

virtual void SaveAtTheEnd (CMesh< T > &Mesh, CSpeedFunction< T > &F, CLevelSet< T > &Phi, Vector< T > &time, int iter, CInitializer< T > &Initializer)

Detailed Description

template<class T>
class Multivac::CSaveLastCurve< T >

Nothing is saved until the end of the last iteration. Then, the mesh, the speed function and the level set function are saved.


Constructor & Destructor Documentation

template<class T>
Multivac::CSaveLastCurve< T >::CSaveLastCurve string  TimeFileName,
string  CurvesFileName,
string  CurveLengthsFileName,
string  PhiFileName,
string  FFileName,
string  XFileName,
string  YFileName,
string  PointsFileName,
string  EdgesFileName,
string  TrianglesFileName,
int  Period_
 

Main contructor.

This constructor opens all files.

Parameters:
TimeFileName file in which iteration times will be stored.
CurvesFileName file in which fronts will be stored.
CurveLengthsFileName file in which numbers of points (on fronts) will be stored.
PhiFileName file in which the level set function will be stored.
FFileName file in which the speed function will be stored.
XFileName file in which grid point abscissae will be stored.
YFileName file in which grid point ordinates will be stored.
PointsFileName file in which mesh points will be stored.
EdgesFileName file in which mesh edges will be stored.
TrianglesFileName file in which mesh triangles will be stored.
Period_ Data will be saved if the current iteration is a multiple of 'Period_'.


Member Function Documentation

template<class T>
void Multivac::CSaveLastCurve< T >::SaveAtCurrentIteration CMesh< T > &  Mesh,
CSpeedFunction< T > &  F,
CLevelSet< T > &  Phi,
time,
int  iter,
CInitializer< T > &  Initializer
[virtual]
 

Empty function.

Parameters:
Mesh initial mesh.
F initial speed function.
Phi initial level set.
time current time.
iter current iteration.
Initializer initializer.

Implements Multivac::CSaver< T >.

template<class T>
void Multivac::CSaveLastCurve< T >::SaveAtTheBeginning CMesh< T > &  Mesh,
CSpeedFunction< T > &  F,
CLevelSet< T > &  Phi,
CInitializer< T > &  Initializer
[virtual]
 

Empty function.

Parameters:
Mesh initial mesh.
F initial speed function.
Phi initial level set.
Initializer initializer.

Implements Multivac::CSaver< T >.

template<class T>
void Multivac::CSaveLastCurve< T >::SaveAtTheEnd CMesh< T > &  Mesh,
CSpeedFunction< T > &  F,
CLevelSet< T > &  Phi,
Vector< T > &  Time,
int  iter,
CInitializer< T > &  Initializer
[virtual]
 

Parameters:
Mesh initial mesh.
F initial speed function.
Phi initial level set.
Time vector that constains iteration times (of the whole simulation).
iter current iteration.
Initializer initializer.
Exceptions:
Seldon::IOError an error occured during I/O operations.

Implements Multivac::CSaver< T >.


The documentation for this class was generated from the following files:
Generated on Mon Apr 19 01:59:16 2004 for Multivac by doxygen 1.3.6-20040222