Memosa-FVM  0.2
ElectricModel< T > Class Template Reference

#include <ElectricModel.h>

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

Classes

class  Impl
 

Public Types

typedef std::map< int,
ElectricBC< T > * > 
ElectricBCMap
 
typedef std::map< int,
ElectricVC< T > * > 
ElectricVCMap
 
typedef Array< T > TArray
 
typedef Vector< T, 3 > VectorT3
 
typedef Vector< double, 3 > VectorD3
 
typedef Array< VectorT3VectorT3Array
 

Public Member Functions

 ElectricModel (const GeomFields &geomFields, ElectricFields &electricFields, const MeshList &meshes)
 
virtual ~ElectricModel ()
 
virtual void init ()
 
virtual map< string,
shared_ptr< ArrayBase > > & 
getPersistenceData ()
 
virtual void restart ()
 
ElectricBCMapgetBCMap ()
 
ElectricBC< T > & getBC (const int id)
 
ElectricVCMapgetVCMap ()
 
ElectricVC< T > & getVC (const int id)
 
ElectricModelOptions< T > & getOptions ()
 
ElectricModelConstants< T > & getConstants ()
 
void computeIBFacePotential (const StorageSite &solid)
 
void computeSolidSurfaceForce (const StorageSite &particles)
 
void computeSolidSurfaceForcePerUnitArea (const StorageSite &particles)
 
void printBCs ()
 
bool advance (const int niter)
 
void updateTime ()
 
void calculateEquilibriumParameters ()
 
vector< T > getTunnelCurrent ()
 
getPotentialFluxIntegral (const Mesh &mesh, const int faceGroupId)
 
- 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 ElectricModel< T >

Definition at line 19 of file ElectricModel.h.

Member Typedef Documentation

template<class T>
typedef std::map<int,ElectricBC<T>*> ElectricModel< T >::ElectricBCMap

Definition at line 23 of file ElectricModel.h.

template<class T>
typedef std::map<int,ElectricVC<T>*> ElectricModel< T >::ElectricVCMap

Definition at line 24 of file ElectricModel.h.

template<class T>
typedef Array<T> ElectricModel< T >::TArray

Definition at line 26 of file ElectricModel.h.

template<class T>
typedef Vector<double, 3> ElectricModel< T >::VectorD3

Definition at line 28 of file ElectricModel.h.

template<class T>
typedef Vector<T,3> ElectricModel< T >::VectorT3

Definition at line 27 of file ElectricModel.h.

template<class T>
typedef Array<VectorT3> ElectricModel< T >::VectorT3Array

Definition at line 29 of file ElectricModel.h.

Constructor & Destructor Documentation

template<class T >
ElectricModel< T >::ElectricModel ( const GeomFields geomFields,
ElectricFields electricFields,
const MeshList meshes 
)

Definition at line 1496 of file ElectricModel_impl.h.

References logCtor.

1498  :
1499  Model(meshes),
1500  _impl(new Impl(geomFields,electricFields,meshes))
1501 {
1502  logCtor();
1503 }
Model(const MeshList &meshes)
Definition: Model.cpp:8
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
#define logCtor()
Definition: RLogInterface.h:26
template<class T >
ElectricModel< T >::~ElectricModel ( )
virtual

Definition at line 1507 of file ElectricModel_impl.h.

References logDtor.

1508 {
1509  logDtor();
1510 }
#define logDtor()
Definition: RLogInterface.h:33

Member Function Documentation

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

Definition at line 1578 of file ElectricModel_impl.h.

1579 {
1580  return _impl->advance(niter);
1581 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::calculateEquilibriumParameters ( )

Definition at line 1585 of file ElectricModel_impl.h.

1586 {
1587  _impl->calculateEquilibriumParameters();
1588 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::computeIBFacePotential ( const StorageSite solid)

Definition at line 1592 of file ElectricModel_impl.h.

1593 {
1594  _impl->computeIBFacePotential(particles);
1595 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::computeSolidSurfaceForce ( const StorageSite particles)

Definition at line 1599 of file ElectricModel_impl.h.

1600 {
1601  return _impl->computeSolidSurfaceForce(particles,false);
1602 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::computeSolidSurfaceForcePerUnitArea ( const StorageSite particles)

Definition at line 1613 of file ElectricModel_impl.h.

1614 {
1615  return _impl->computeSolidSurfaceForce(particles,true);
1616 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
ElectricBC< T > & ElectricModel< T >::getBC ( const int  id)

Definition at line 1551 of file ElectricModel_impl.h.

1551 {return _impl->getBC(id);}
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
ElectricModel< T >::ElectricBCMap & ElectricModel< T >::getBCMap ( )

Definition at line 1547 of file ElectricModel_impl.h.

1547 {return _impl->getBCMap();}
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
ElectricModelConstants< T > & ElectricModel< T >::getConstants ( )

Definition at line 1567 of file ElectricModel_impl.h.

1567 {return _impl->getConstants();}
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
ElectricModelOptions< T > & ElectricModel< T >::getOptions ( )

Definition at line 1563 of file ElectricModel_impl.h.

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

Reimplemented from Model.

Definition at line 1620 of file ElectricModel_impl.h.

1621 {
1622  return _impl->getPersistenceData();
1623 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
T ElectricModel< T >::getPotentialFluxIntegral ( const Mesh mesh,
const int  faceGroupId 
)

Definition at line 1606 of file ElectricModel_impl.h.

1607 {
1608  return _impl->getPotentialFluxIntegral(mesh, faceGroupId);
1609 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
vector< T > ElectricModel< T >::getTunnelCurrent ( )

Definition at line 1635 of file ElectricModel_impl.h.

1636 {
1637  return _impl->getTunnelCurrent();
1638 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
ElectricVC< T > & ElectricModel< T >::getVC ( const int  id)

Definition at line 1559 of file ElectricModel_impl.h.

1559 {return _impl->getVC(id);}
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
ElectricModel< T >::ElectricVCMap & ElectricModel< T >::getVCMap ( )

Definition at line 1555 of file ElectricModel_impl.h.

1555 {return _impl->getVCMap();}
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::init ( )
virtual

Implements Model.

Definition at line 1514 of file ElectricModel_impl.h.

1515 {
1516  _impl->init();
1517 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::printBCs ( )

Definition at line 1571 of file ElectricModel_impl.h.

1572 {
1573  _impl->printBCs();
1574 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::restart ( )
virtual

Reimplemented from Model.

Definition at line 1627 of file ElectricModel_impl.h.

1628 {
1629  _impl->restart();
1630 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73
template<class T >
void ElectricModel< T >::updateTime ( )

Definition at line 1540 of file ElectricModel_impl.h.

1541 {
1542  _impl->updateTime();
1543 }
shared_ptr< Impl > _impl
Definition: ElectricModel.h:73

Member Data Documentation

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

Definition at line 73 of file ElectricModel.h.


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