IGLib 1.4
The IGLib base library for development of numerical, technical and business applications.

IG::Num::SimKosecFileManagerConvBase Class Reference

Base class for interface with simulator of G. Kosec for convection problems in a cave with obstacles. More...

Inheritance diagram for IG::Num::SimKosecFileManagerConvBase:
Collaboration diagram for IG::Num::SimKosecFileManagerConvBase:

List of all members.

Public Member Functions

 SimKosecFileManagerConvBase (string dataDirectory)
 Constructor.
 SimKosecFileManagerConvBase (string dataDirectory, double thickness, double obstacleLength)
 Constructor.
 SimKosecFileManagerConvBase (string dataDirectory, double thickness)
 Constructor.

Public Attributes

double ObstacleThickness = 0.1
 Thickness of obstacless.
double ObstacleLength = 0.4
 Length of obstacle.
double SimulationTime = 20.0
 Simulation time.
double MaxX = 1
 Domain upper bound in X direction.
double MaxY = 1
 Domain upper bound in X direction.
int NumX = 0
 Number of nodes in X direction.
int NumY = 0
 Number of nodes in Y direction.
double DX = 0
 Step in X direction.
double DY = 0
 Step in Y direction.
double MinX = 0
 Domain lower bound in X direction.
double MinY = 0
 Domain lower bound in Y direction.

Protected Member Functions

override void Init ()
 Initializes internal variables. Called at the beginning of all constructors. To be overridden in derived classes!
override void InstallInputFields ()
 Installs data about input fields that can be queried and set in the input file.
override void InstallInputMappings ()
 Installs definitions of default values of input fields that are automatically set before running the simulation, and eventually definitios for mappings between (optimization) input parameters and input fields in input file. The latter are eventually used when for each input (optimization) parameter there exists a field that corresponds to that parameter. Many times this is not true because a single optimization parameters can affect a whole set of input fields.When running simulator by calling CalculateVectorResponse, input is prepared in the following order: First default parameters are set, then automatic mappings are performed (if any are defined) and finally the manual mappings are performed by calling UpdateInputParametersManual, thus manually defined parameter mapping overrides all others when defined.

Protected Attributes

int _numParameters = 0

Detailed Description

Base class for interface with simulator of G. Kosec for convection problems in a cave with obstacles.


Constructor & Destructor Documentation

IG::Num::SimKosecFileManagerConvBase::SimKosecFileManagerConvBase ( string  dataDirectory) [inline]

Constructor.

Parameters:
dataDirectoryBase directory for simulation.
IG::Num::SimKosecFileManagerConvBase::SimKosecFileManagerConvBase ( string  dataDirectory,
double  thickness,
double  obstacleLength 
) [inline]

Constructor.

Parameters:
dataDirectoryBase directory for simulation.
thicknessObstacle thickness.
obstacleLengthObstacle length.
IG::Num::SimKosecFileManagerConvBase::SimKosecFileManagerConvBase ( string  dataDirectory,
double  thickness 
) [inline]

Constructor.

Parameters:
dataDirectoryBase directory for simulation.
thicknessObstacle thickness.

Member Function Documentation

override void IG::Num::SimKosecFileManagerConvBase::Init ( ) [inline, protected, virtual]

Initializes internal variables. Called at the beginning of all constructors. To be overridden in derived classes!

Implements IG::Num::SimKosecFileManagerBase.

Reimplemented in IG::Num::SimKosecFileManagerConv2.

override void IG::Num::SimKosecFileManagerConvBase::InstallInputFields ( ) [inline, protected, virtual]

Installs data about input fields that can be queried and set in the input file.

Reimplemented from IG::Num::SimKosecFileManagerBase.

override void IG::Num::SimKosecFileManagerConvBase::InstallInputMappings ( ) [inline, protected, virtual]

Installs definitions of default values of input fields that are automatically set before running the simulation, and eventually definitios for mappings between (optimization) input parameters and input fields in input file. The latter are eventually used when for each input (optimization) parameter there exists a field that corresponds to that parameter. Many times this is not true because a single optimization parameters can affect a whole set of input fields.When running simulator by calling CalculateVectorResponse, input is prepared in the following order: First default parameters are set, then automatic mappings are performed (if any are defined) and finally the manual mappings are performed by calling UpdateInputParametersManual, thus manually defined parameter mapping overrides all others when defined.

Implements IG::Num::SimKosecFileManagerBase.


Member Data Documentation

Thickness of obstacless.

Length of obstacle.

Domain upper bound in X direction.

Domain upper bound in X direction.

Number of nodes in X direction.

Number of nodes in Y direction.

Step in X direction.

Step in Y direction.

Domain lower bound in X direction.

Domain lower bound in Y direction.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events