Memosa-FVM  0.2
KeModel< T > Class Template Reference

#include <KeModel.h>

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

Classes

class  Impl
 

Public Types

typedef std::map< int, KeBC< T > * > KeBCMap
 
typedef std::map< int, KeVC< T > * > KeVCMap
 

Public Member Functions

 KeModel (const GeomFields &geomFields, KeFields &keFields, FlowFields &flowFields, const MeshList &meshes)
 
virtual ~KeModel ()
 
virtual void init ()
 
KeBCMapgetBCMap ()
 
KeVCMapgetVCMap ()
 
KeBC< T > & getBC (const int id)
 
KeModelOptions< T > & getOptions ()
 
void getViscosity (const Mesh &mesh)
 
void updateTimek ()
 
void updateTimee ()
 
void printBCs ()
 
void advance (const int niter)
 
- 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 KeModel< T >

Definition at line 19 of file KeModel.h.

Member Typedef Documentation

template<class T>
typedef std::map<int,KeBC<T>*> KeModel< T >::KeBCMap

Definition at line 23 of file KeModel.h.

template<class T>
typedef std::map<int,KeVC<T>*> KeModel< T >::KeVCMap

Definition at line 24 of file KeModel.h.

Constructor & Destructor Documentation

template<class T >
KeModel< T >::KeModel ( const GeomFields geomFields,
KeFields keFields,
FlowFields flowFields,
const MeshList meshes 
)

Definition at line 990 of file KeModel_impl.h.

References logCtor.

993  :
994  Model(meshes),
995  _impl(new Impl(geomFields,keFields,flowFields,meshes))
996 {
997  logCtor();
998 }
shared_ptr< Impl > _impl
Definition: KeModel.h:56
Model(const MeshList &meshes)
Definition: Model.cpp:8
#define logCtor()
Definition: RLogInterface.h:26
template<class T >
KeModel< T >::~KeModel ( )
virtual

Definition at line 1002 of file KeModel_impl.h.

References logDtor.

1003 {
1004  logDtor();
1005 }
#define logDtor()
Definition: RLogInterface.h:33

Member Function Documentation

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

Definition at line 1040 of file KeModel_impl.h.

1041 {
1042  _impl->advance(niter);
1043 }
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
KeBC< T > & KeModel< T >::getBC ( const int  id)

Definition at line 1024 of file KeModel_impl.h.

1024 {return _impl->getBC(id);}
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
KeModel< T >::KeBCMap & KeModel< T >::getBCMap ( )

Definition at line 1016 of file KeModel_impl.h.

1016 {return _impl->getBCMap();}
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
KeModelOptions< T > & KeModel< T >::getOptions ( )

Definition at line 1028 of file KeModel_impl.h.

1028 {return _impl->getOptions();}
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
KeModel< T >::KeVCMap & KeModel< T >::getVCMap ( )

Definition at line 1020 of file KeModel_impl.h.

1020 {return _impl->getVCMap();}
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
void KeModel< T >::getViscosity ( const Mesh mesh)

Definition at line 1064 of file KeModel_impl.h.

Referenced by KeModel< T >::Impl::advance().

1065 {
1066  _impl->getViscosity(mesh);
1067 }
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
void KeModel< T >::init ( )
virtual

Implements Model.

Definition at line 1009 of file KeModel_impl.h.

1010 {
1011  _impl->init();
1012 }
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
void KeModel< T >::printBCs ( )

Definition at line 1033 of file KeModel_impl.h.

1034 {
1035  _impl->printBCs();
1036 }
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
void KeModel< T >::updateTimee ( )

Definition at line 1054 of file KeModel_impl.h.

1055 {
1056  _impl->updateTimee();
1057 }
shared_ptr< Impl > _impl
Definition: KeModel.h:56
template<class T >
void KeModel< T >::updateTimek ( )

Definition at line 1047 of file KeModel_impl.h.

1048 {
1049  _impl->updateTimek();
1050 }
shared_ptr< Impl > _impl
Definition: KeModel.h:56

Member Data Documentation

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

Definition at line 56 of file KeModel.h.


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