Memosa-FVM  0.2
FlowModel< T > Class Template Reference

#include <FlowModel.h>

Inheritance diagram for FlowModel< T >:
Collaboration diagram for FlowModel< T >:

Classes

class  Impl
 

Public Types

typedef std::map< int, FlowBC
< T > * > 
FlowBCMap
 
typedef std::map< int, FlowVC
< T > * > 
FlowVCMap
 

Public Member Functions

 FlowModel (const GeomFields &geomFields, FlowFields &thermalFields, const MeshList &meshes)
 
virtual ~FlowModel ()
 
virtual void init ()
 
virtual map< string,
shared_ptr< ArrayBase > > & 
getPersistenceData ()
 
virtual void restart ()
 
FlowBCMapgetBCMap ()
 
FlowVCMapgetVCMap ()
 
FlowModelOptions< T > & getOptions ()
 
void printBCs ()
 
bool advance (const int niter)
 
void updateTime ()
 
Vector< T, 3 > getPressureIntegral (const Mesh &mesh, const int faceGroupID)
 
Vector< T, 3 > getMomentumFluxIntegral (const Mesh &mesh, const int faceGroupID)
 
Vector< T, 3 > getMomentumDerivativeIntegral (const Mesh &mesh)
 
Vector< T, 3 > getPressureIntegralonIBFaces (const Mesh &mesh)
 
Vector< T, 3 > getMomentumFluxIntegralonIBFaces (const Mesh &mesh)
 
void getTraction (const Mesh &mesh)
 
boost::shared_ptr< ArrayBasegetStressTensor (const Mesh &mesh, const ArrayBase &cellIds)
 
void printPressureIntegrals ()
 
void printMomentumFluxIntegrals ()
 
void printMassFluxIntegrals ()
 
void computeIBFaceVelocity (const StorageSite &particles)
 
void computeSolidSurfaceForce (const StorageSite &particles)
 
void computeSolidSurfaceForcePerUnitArea (const StorageSite &particles)
 
void ComputeStressTensorES (const StorageSite &particles)
 
void dumpContinuityMatrix (const string fileBase)
 
- Public Member Functions inherited from Model
 Model (const MeshList &meshes)
 
virtual ~Model ()
 
 DEFINE_TYPENAME ("Model")
 

Private Attributes

shared_ptr< Impl_impl
 

Additional Inherited Members

- Protected Attributes inherited from Model
const MeshList _meshes
 
StorageSiteList _varSites
 
StorageSiteList _fluxSites
 
map< string, shared_ptr
< ArrayBase > > 
_persistenceData
 

Detailed Description

template<class T>
class FlowModel< T >

Definition at line 19 of file FlowModel.h.

Member Typedef Documentation

template<class T>
typedef std::map<int,FlowBC<T>*> FlowModel< T >::FlowBCMap

Definition at line 23 of file FlowModel.h.

template<class T>
typedef std::map<int,FlowVC<T>*> FlowModel< T >::FlowVCMap

Definition at line 24 of file FlowModel.h.

Constructor & Destructor Documentation

template<class T >
FlowModel< T >::FlowModel ( const GeomFields geomFields,
FlowFields thermalFields,
const MeshList meshes 
)

Definition at line 2150 of file FlowModel_impl.h.

References logCtor.

2152  :
2153  Model(meshes),
2154  _impl(new Impl(geomFields,thermalFields,meshes))
2155 {
2156  logCtor();
2157 }
Model(const MeshList &meshes)
Definition: Model.cpp:8
#define logCtor()
Definition: RLogInterface.h:26
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
FlowModel< T >::~FlowModel ( )
virtual

Definition at line 2161 of file FlowModel_impl.h.

References logDtor.

2162 {
2163  logDtor();
2164 }
#define logDtor()
Definition: RLogInterface.h:33

Member Function Documentation

template<class T >
bool FlowModel< T >::advance ( const int  niter)

Definition at line 2195 of file FlowModel_impl.h.

2196 {
2197  return _impl->advance(niter);
2198 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::computeIBFaceVelocity ( const StorageSite particles)

Definition at line 2290 of file FlowModel_impl.h.

2291 {
2292  return _impl->computeIBFaceVelocity(particles);
2293 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::computeSolidSurfaceForce ( const StorageSite particles)

Definition at line 2297 of file FlowModel_impl.h.

2298 {
2299  return _impl->computeSolidSurfaceForce(particles,false);
2300 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::computeSolidSurfaceForcePerUnitArea ( const StorageSite particles)

Definition at line 2304 of file FlowModel_impl.h.

2305 {
2306  return _impl->computeSolidSurfaceForce(particles,true);
2307 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::ComputeStressTensorES ( const StorageSite particles)

Definition at line 2326 of file FlowModel_impl.h.

2327 {
2328  return _impl-> ComputeStressTensorES(particles);
2329 }
void ComputeStressTensorES(const StorageSite &particles)
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::dumpContinuityMatrix ( const string  fileBase)

Definition at line 2350 of file FlowModel_impl.h.

2351 {
2352  _impl->dumpContinuityMatrix(fileBase);
2353 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
FlowModel< T >::FlowBCMap & FlowModel< T >::getBCMap ( )

Definition at line 2175 of file FlowModel_impl.h.

2175 {return _impl->getBCMap();}
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
Vector< T, 3 > FlowModel< T >::getMomentumDerivativeIntegral ( const Mesh mesh)

Definition at line 2269 of file FlowModel_impl.h.

2270 {
2271  return _impl->getMomentumDerivativeIntegral(mesh);
2272 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
Vector< T, 3 > FlowModel< T >::getMomentumFluxIntegral ( const Mesh mesh,
const int  faceGroupID 
)

Definition at line 2262 of file FlowModel_impl.h.

2263 {
2264  return _impl->getMomentumFluxIntegral(mesh,faceGroupId);
2265 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
Vector< T, 3 > FlowModel< T >::getMomentumFluxIntegralonIBFaces ( const Mesh mesh)

Definition at line 2283 of file FlowModel_impl.h.

2284 {
2285  return _impl->getMomentumFluxIntegralonIBFaces(mesh);
2286 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
FlowModelOptions< T > & FlowModel< T >::getOptions ( )

Definition at line 2183 of file FlowModel_impl.h.

2183 {return _impl->getOptions();}
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
map< string, shared_ptr< ArrayBase > > & FlowModel< T >::getPersistenceData ( )
virtual

Reimplemented from Model.

Definition at line 2332 of file FlowModel_impl.h.

2333 {
2334  return _impl->getPersistenceData();
2335 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
Vector< T, 3 > FlowModel< T >::getPressureIntegral ( const Mesh mesh,
const int  faceGroupID 
)

Definition at line 2255 of file FlowModel_impl.h.

2256 {
2257  return _impl->getPressureIntegral(mesh,faceGroupId);
2258 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
Vector< T, 3 > FlowModel< T >::getPressureIntegralonIBFaces ( const Mesh mesh)

Definition at line 2276 of file FlowModel_impl.h.

2277 {
2278  return _impl->getPressureIntegralonIBFaces(mesh);
2279 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
boost::shared_ptr< ArrayBase > FlowModel< T >::getStressTensor ( const Mesh mesh,
const ArrayBase cellIds 
)

Definition at line 2312 of file FlowModel_impl.h.

2313 {
2314  return _impl->getStressTensor(mesh, cellIds);
2315 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::getTraction ( const Mesh mesh)

Definition at line 2319 of file FlowModel_impl.h.

2320 {
2321  return _impl->getTraction(mesh);
2322 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
FlowModel< T >::FlowVCMap & FlowModel< T >::getVCMap ( )

Definition at line 2179 of file FlowModel_impl.h.

2179 {return _impl->getVCMap();}
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::init ( )
virtual

Implements Model.

Definition at line 2168 of file FlowModel_impl.h.

2169 {
2170  _impl->init();
2171 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::printBCs ( )

Definition at line 2188 of file FlowModel_impl.h.

2189 {
2190  _impl->printBCs();
2191 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::printMassFluxIntegrals ( )

Definition at line 2248 of file FlowModel_impl.h.

2249 {
2250  _impl->printMassFluxIntegrals();
2251 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::printMomentumFluxIntegrals ( )

Definition at line 2241 of file FlowModel_impl.h.

2242 {
2243  _impl->printMomentumFluxIntegrals();
2244 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::printPressureIntegrals ( )

Definition at line 2234 of file FlowModel_impl.h.

2235 {
2236  _impl->printPressureIntegrals();
2237 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::restart ( )
virtual

Reimplemented from Model.

Definition at line 2339 of file FlowModel_impl.h.

2340 {
2341  _impl->restart();
2342 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85
template<class T >
void FlowModel< T >::updateTime ( )

Definition at line 2227 of file FlowModel_impl.h.

2228 {
2229  _impl->updateTime();
2230 }
shared_ptr< Impl > _impl
Definition: FlowModel.h:85

Member Data Documentation

template<class T>
shared_ptr<Impl> FlowModel< T >::_impl
private

Definition at line 85 of file FlowModel.h.


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