#include <Information.hpp>


Definition at line 40 of file Information.hpp.
| Information::Information | ( | ) |
Constructor
Definition at line 115 of file Information.cpp.
00116 : __scene(0), 00117 __unknownListExpression(0), 00118 __coarseMesh(true) 00119 { 00120 ; 00121 }
| Information::Information | ( | const Information & | I | ) |
Copy constructor
| I | an Information |
Definition at line 124 of file Information.cpp.
00125 : __mesh(I.__mesh), 00126 __scene(I.__scene), 00127 __unknownListExpression(I.__unknownListExpression), 00128 __coarseMesh(I.__coarseMesh) 00129 { 00130 ; 00131 }
| Information::~Information | ( | ) |
| ConstReferenceCounting< Mesh > Information::getMesh | ( | ) |
Read only access to the mesh on the top of the stack
Definition at line 27 of file Information.cpp.
References __mesh, and ASSERT.
Referenced by FunctionExpressionConvection::execute().
| void Information::setMesh | ( | ConstReferenceCounting< Mesh > | mesh | ) |
Sets a new mesh
| mesh | a mesh |
Definition at line 34 of file Information.cpp.
References __mesh.
Referenced by SolverExpression::execute(), RealExpressionMinMax::execute(), RealExpressionIntegrate::execute(), InstructionSaveFieldList::execute(), InstructionAffectation< FunctionExpression, FunctionVariable >::execute(), InstructionSaveMesh::execute(), FunctionExpressionSpectral::execute(), FunctionExpressionFEM::execute(), and FunctionExpressionDG::execute().
00035 { 00036 __mesh.push(mesh); 00037 }
| void Information::unsetMesh | ( | ) |
pops the mesh on the top of the stack
Definition at line 40 of file Information.cpp.
References __mesh.
Referenced by SolverExpression::execute(), RealExpressionMinMax::execute(), RealExpressionIntegrate::execute(), InstructionSaveFieldList::execute(), InstructionAffectation< FunctionExpression, FunctionVariable >::execute(), InstructionSaveMesh::execute(), FunctionExpressionSpectral::execute(), FunctionExpressionFEM::execute(), and FunctionExpressionDG::execute().
00041 { 00042 __mesh.pop(); 00043 }
| bool Information::usesMesh | ( | ) | const |
Checks if a mesh is in use
Definition at line 46 of file Information.cpp.
References __mesh.
00047 { 00048 return not __mesh.empty(); 00049 }
| ReferenceCounting< UnknownListExpression > Information::getUnknownList | ( | ) |
Access to the unknown list expression
Definition at line 76 of file Information.cpp.
References __unknownListExpression.
Referenced by VariationalProblemExpression::execute(), PDEOperatorSumExpression::execute(), BoundaryConditionExpressionNeumann::execute(), BoundaryConditionExpressionFourrier::execute(), and BoundaryConditionExpressionDirichlet::execute().
00077 { 00078 return __unknownListExpression; 00079 }
| void Information::setUnknownList | ( | ReferenceCounting< UnknownListExpression > | ul | ) |
Set the unknown list expression
| ul | the unknown list |
Definition at line 82 of file Information.cpp.
References __unknownListExpression.
Referenced by SolverExpression::execute().
00083 { 00084 __unknownListExpression = u; 00085 }
| void Information::unsetUnknownList | ( | ) |
Unset the unknown list expression
Definition at line 95 of file Information.cpp.
References __unknownListExpression.
Referenced by SolverExpression::execute().
00096 { 00097 __unknownListExpression = 0; 00098 }
| bool Information::usesUnknownList | ( | ) | const |
Checks if an unknown list expression is in use
Definition at line 88 of file Information.cpp.
References __unknownListExpression.
00089 { 00090 return __unknownListExpression != 0; 00091 }
| ConstReferenceCounting< Scene > Information::getScene | ( | ) |
Access to the scene
Definition at line 52 of file Information.cpp.
References __scene.
Referenced by FunctionExpressionObjectCharacteristic::execute().
00053 { 00054 return __scene; 00055 }
| void Information::setScene | ( | ConstReferenceCounting< Scene > | scene | ) |
Set a scene
| scene | a given Scene |
Definition at line 58 of file Information.cpp.
References __scene.
Referenced by SolverExpression::__setScene(), SceneExpressionPOVRay::execute(), and InstructionUsingScene::execute().
00059 { 00060 __scene = scene; 00061 }
| void Information::unsetScene | ( | ) |
Unset the scene
Definition at line 70 of file Information.cpp.
References __scene.
00071 { 00072 __scene = 0; 00073 }
| bool Information::usesScene | ( | ) | const |
Checks if a Scene is in use
Definition at line 64 of file Information.cpp.
References __scene.
00065 { 00066 return __scene != 0; 00067 }
| void Information::setCoarseMesh | ( | const bool & | b | ) |
Sets the coarse mesh parameter
| b |
Definition at line 109 of file Information.cpp.
References __coarseMesh.
Referenced by InstructionCoarseMesh::execute().
00110 { 00111 __coarseMesh = coarse; 00112 }
| const bool & Information::coarseMesh | ( | ) | const |
read-only access to __coarseMesh
Definition at line 102 of file Information.cpp.
References __coarseMesh.
00103 { 00104 return __coarseMesh; 00105 }
| static Information & StaticBase< Information >::instance | ( | ) | [inline, static, inherited] |
Access to auto instanciated static;
Definition at line 46 of file StaticBase.hpp.
Referenced by SurfaceMeshGenerator::Internals::__generateMesh(), SurfaceMeshGenerator::Internals::__operationBoolean(), SolverExpression::__setScene(), VariationalProblemExpression::execute(), SolverExpression::execute(), SceneExpressionPOVRay::execute(), RealExpressionMinMax::execute(), RealExpressionIntegrate::execute(), PDEOperatorSumExpression::execute(), InstructionCoarseMesh::execute(), InstructionUsingScene::execute(), InstructionSaveFieldList::execute(), InstructionAffectation< FunctionExpression, FunctionVariable >::execute(), InstructionSaveMesh::execute(), FunctionExpressionSpectral::execute(), FunctionExpressionObjectCharacteristic::execute(), FunctionExpressionFEM::execute(), FunctionExpressionDG::execute(), FunctionExpressionConvection::execute(), BoundaryConditionExpressionNeumann::execute(), BoundaryConditionExpressionFourrier::execute(), and BoundaryConditionExpressionDirichlet::execute().
00047 { 00048 return *__pInstance; 00049 }
| static void StaticBase< Information >::create | ( | ) | [inline, static, inherited] |
Creates __pInstance in Embedding class.
Definition at line 55 of file StaticBase.hpp.
Referenced by ThreadStaticCenter::ThreadStaticCenter().
00056 { 00057 __pInstance = new EmbeddingClass(); 00058 }
| static void StaticBase< Information >::destroy | ( | ) | [inline, static, inherited] |
Destroyes __autoInstanciated in Embedding class.
Definition at line 64 of file StaticBase.hpp.
Referenced by ThreadStaticCenter::~ThreadStaticCenter().
00065 { 00066 delete __pInstance; 00067 }
std::stack<ConstReferenceCounting<Mesh> > Information::__mesh [private] |
if not NULL contains the Mesh which is used in the instruction
Definition at line 45 of file Information.hpp.
Referenced by getMesh(), setMesh(), unsetMesh(), and usesMesh().
ConstReferenceCounting<Scene> Information::__scene [private] |
the last defined sceneExpression.
Definition at line 48 of file Information.hpp.
Referenced by getScene(), setScene(), unsetScene(), and usesScene().
The current Unknown list.
Definition at line 51 of file Information.hpp.
Referenced by getUnknownList(), setUnknownList(), unsetUnknownList(), and usesUnknownList().
bool Information::__coarseMesh [private] |
Choose which algorithm is used for surface mesh generation. If true, does not use mesh intersection algorithm.
Definition at line 55 of file Information.hpp.
Referenced by coarseMesh(), and setCoarseMesh().
Information * StaticBase< Information >::__pInstance [static, protected, inherited] |
The static variable
Definition at line 37 of file StaticBase.hpp.
1.5.6