Memosa-FVM  0.2
ThermalModel< T > Class Template Reference

#include <ThermalModel.h>

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

Classes

class  Impl
 

Public Types

typedef std::map< int,
ThermalBC< T > * > 
ThermalBCMap
 
typedef std::map< int,
ThermalVC< T > * > 
ThermalVCMap
 

Public Member Functions

 ThermalModel (const GeomFields &geomFields, ThermalFields &thermalFields, const MeshList &meshes)
 
virtual ~ThermalModel ()
 
virtual void init ()
 
ThermalBCMapgetBCMap ()
 
ThermalVCMapgetVCMap ()
 
ThermalBC< T > & getBC (const int id)
 
ThermalModelOptions< T > & getOptions ()
 
void computeIBFaceTemperature (const StorageSite &particles)
 
getHeatFluxIntegral (const Mesh &mesh, const int faceGroupId)
 
void printBCs ()
 
void dumpMatrix (const string fileBase)
 
void advance (const int niter)
 
void updateTime ()
 
- Public Member Functions inherited from Model
 Model (const MeshList &meshes)
 
virtual ~Model ()
 
 DEFINE_TYPENAME ("Model")
 
virtual map< string,
shared_ptr< ArrayBase > > & 
getPersistenceData ()
 
virtual void restart ()
 

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 ThermalModel< T >

Definition at line 19 of file ThermalModel.h.

Member Typedef Documentation

template<class T>
typedef std::map<int,ThermalBC<T>*> ThermalModel< T >::ThermalBCMap

Definition at line 23 of file ThermalModel.h.

template<class T>
typedef std::map<int,ThermalVC<T>*> ThermalModel< T >::ThermalVCMap

Definition at line 24 of file ThermalModel.h.

Constructor & Destructor Documentation

template<class T >
ThermalModel< T >::ThermalModel ( const GeomFields geomFields,
ThermalFields thermalFields,
const MeshList meshes 
)

Definition at line 631 of file ThermalModel_impl.h.

References logCtor.

633  :
634  Model(meshes),
635  _impl(new Impl(geomFields,thermalFields,meshes))
636 {
637  logCtor();
638 }
Model(const MeshList &meshes)
Definition: Model.cpp:8
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
#define logCtor()
Definition: RLogInterface.h:26
template<class T >
ThermalModel< T >::~ThermalModel ( )
virtual

Definition at line 642 of file ThermalModel_impl.h.

References logDtor.

643 {
644  logDtor();
645 }
#define logDtor()
Definition: RLogInterface.h:33

Member Function Documentation

template<class T >
void ThermalModel< T >::advance ( const int  niter)

Definition at line 680 of file ThermalModel_impl.h.

681 {
682  _impl->advance(niter);
683 }
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
void ThermalModel< T >::computeIBFaceTemperature ( const StorageSite particles)

Definition at line 687 of file ThermalModel_impl.h.

688 {
689  _impl->computeIBFaceTemperature(particles);
690 }
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
void ThermalModel< T >::dumpMatrix ( const string  fileBase)

Definition at line 696 of file ThermalModel_impl.h.

697 {
698  _impl->dumpMatrix(fileBase);
699 }
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
ThermalBC< T > & ThermalModel< T >::getBC ( const int  id)

Definition at line 664 of file ThermalModel_impl.h.

664 {return _impl->getBC(id);}
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
ThermalModel< T >::ThermalBCMap & ThermalModel< T >::getBCMap ( )

Definition at line 656 of file ThermalModel_impl.h.

656 {return _impl->getBCMap();}
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
T ThermalModel< T >::getHeatFluxIntegral ( const Mesh mesh,
const int  faceGroupId 
)

Definition at line 704 of file ThermalModel_impl.h.

705 {
706  return _impl->getHeatFluxIntegral(mesh, faceGroupId);
707 }
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
ThermalModelOptions< T > & ThermalModel< T >::getOptions ( )

Definition at line 668 of file ThermalModel_impl.h.

668 {return _impl->getOptions();}
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
ThermalModel< T >::ThermalVCMap & ThermalModel< T >::getVCMap ( )

Definition at line 660 of file ThermalModel_impl.h.

660 {return _impl->getVCMap();}
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
void ThermalModel< T >::init ( )
virtual

Implements Model.

Definition at line 649 of file ThermalModel_impl.h.

650 {
651  _impl->init();
652 }
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
void ThermalModel< T >::printBCs ( )

Definition at line 673 of file ThermalModel_impl.h.

674 {
675  _impl->printBCs();
676 }
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54
template<class T >
void ThermalModel< T >::updateTime ( )

Definition at line 711 of file ThermalModel_impl.h.

712 {
713  _impl->updateTime();
714 }
shared_ptr< Impl > _impl
Definition: ThermalModel.h:54

Member Data Documentation

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

Definition at line 54 of file ThermalModel.h.


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