Memosa-FVM
0.2
|
#include <BatteryModel.h>
Classes | |
class | Impl |
Public Types | |
typedef std::map< int, BatterySpeciesBC< T > * > | BatterySpeciesBCMap |
typedef std::map< int, BatterySpeciesVC< T > * > | BatterySpeciesVCMap |
typedef std::map< int, BatteryPotentialBC< T > * > | BatteryPotentialBCMap |
typedef std::map< int, BatteryPotentialVC< T > * > | BatteryPotentialVCMap |
typedef std::map< int, BatteryThermalBC< T > * > | BatteryThermalBCMap |
typedef std::map< int, BatteryThermalVC< T > * > | BatteryThermalVCMap |
Public Member Functions | |
BatteryModel (GeomFields &geomFields, const MeshList &realMeshes, const MeshList &meshes, const int nSpecies) | |
virtual | ~BatteryModel () |
virtual void | init () |
BatterySpeciesFields & | getBatterySpeciesFields (const int speciesId) |
BatteryModelFields & | getBatteryModelFields () |
BatterySpeciesBCMap & | getSpeciesBCMap (const int speciesId) |
BatteryPotentialBCMap & | getPotentialBCMap () |
BatteryThermalBCMap & | getThermalBCMap () |
BatterySpeciesVCMap & | getSpeciesVCMap (const int speciesId) |
BatteryPotentialVCMap & | getPotentialVCMap () |
BatteryThermalVCMap & | getThermalVCMap () |
BatteryModelOptions< T > & | getOptions () |
T | getMassFluxIntegral (const Mesh &mesh, const int faceGroupId, const int m) |
T | getPotentialFluxIntegral (const Mesh &mesh, const int faceGroupId) |
T | getHeatFluxIntegral (const Mesh &mesh, const int faceGroupId) |
T | getAverageConcentration (const Mesh &mesh, const int m) |
T | getFaceGroupArea (const Mesh &mesh, const int fgID) |
T | getFaceGroupVoltage (const Mesh &mesh, const int fgID) |
T | getMeshVolume (const Mesh &mesh) |
T | getSpeciesResidual (const int speciesId) |
T | getPotentialResidual () |
T | getThermalResidual () |
T | getPCResidual (const int v) |
void | updateTime () |
void | recoverLastTimestep () |
void | advanceSpecies (const int niter) |
void | advancePotential (const int niter) |
void | advanceThermal (const int niter) |
void | advanceCoupled (const int niter) |
void | copySeparateToCoupled () |
void | copyCoupledToSeparate () |
![]() | |
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 | |
![]() | |
const MeshList | _meshes |
StorageSiteList | _varSites |
StorageSiteList | _fluxSites |
map< string, shared_ptr < ArrayBase > > | _persistenceData |
Definition at line 19 of file BatteryModel.h.
typedef std::map<int,BatteryPotentialBC<T>*> BatteryModel< T >::BatteryPotentialBCMap |
Definition at line 25 of file BatteryModel.h.
typedef std::map<int,BatteryPotentialVC<T>*> BatteryModel< T >::BatteryPotentialVCMap |
Definition at line 26 of file BatteryModel.h.
typedef std::map<int,BatterySpeciesBC<T>*> BatteryModel< T >::BatterySpeciesBCMap |
Definition at line 23 of file BatteryModel.h.
typedef std::map<int,BatterySpeciesVC<T>*> BatteryModel< T >::BatterySpeciesVCMap |
Definition at line 24 of file BatteryModel.h.
typedef std::map<int,BatteryThermalBC<T>*> BatteryModel< T >::BatteryThermalBCMap |
Definition at line 27 of file BatteryModel.h.
typedef std::map<int,BatteryThermalVC<T>*> BatteryModel< T >::BatteryThermalVCMap |
Definition at line 28 of file BatteryModel.h.
BatteryModel< T >::BatteryModel | ( | GeomFields & | geomFields, |
const MeshList & | realMeshes, | ||
const MeshList & | meshes, | ||
const int | nSpecies | ||
) |
|
virtual |
Definition at line 3489 of file BatteryModel_impl.h.
References logDtor.
void BatteryModel< T >::advanceCoupled | ( | const int | niter | ) |
Definition at line 3559 of file BatteryModel_impl.h.
void BatteryModel< T >::advancePotential | ( | const int | niter | ) |
Definition at line 3545 of file BatteryModel_impl.h.
void BatteryModel< T >::advanceSpecies | ( | const int | niter | ) |
Definition at line 3538 of file BatteryModel_impl.h.
void BatteryModel< T >::advanceThermal | ( | const int | niter | ) |
Definition at line 3552 of file BatteryModel_impl.h.
void BatteryModel< T >::copyCoupledToSeparate | ( | ) |
Definition at line 3637 of file BatteryModel_impl.h.
void BatteryModel< T >::copySeparateToCoupled | ( | ) |
Definition at line 3644 of file BatteryModel_impl.h.
T BatteryModel< T >::getAverageConcentration | ( | const Mesh & | mesh, |
const int | m | ||
) |
Definition at line 3602 of file BatteryModel_impl.h.
BatteryModelFields & BatteryModel< T >::getBatteryModelFields | ( | ) |
Definition at line 3514 of file BatteryModel_impl.h.
BatterySpeciesFields & BatteryModel< T >::getBatterySpeciesFields | ( | const int | speciesId | ) |
Definition at line 3502 of file BatteryModel_impl.h.
T BatteryModel< T >::getFaceGroupArea | ( | const Mesh & | mesh, |
const int | fgID | ||
) |
Definition at line 3651 of file BatteryModel_impl.h.
T BatteryModel< T >::getFaceGroupVoltage | ( | const Mesh & | mesh, |
const int | fgID | ||
) |
Definition at line 3658 of file BatteryModel_impl.h.
T BatteryModel< T >::getHeatFluxIntegral | ( | const Mesh & | mesh, |
const int | faceGroupId | ||
) |
Definition at line 3595 of file BatteryModel_impl.h.
T BatteryModel< T >::getMassFluxIntegral | ( | const Mesh & | mesh, |
const int | faceGroupId, | ||
const int | m | ||
) |
Definition at line 3581 of file BatteryModel_impl.h.
T BatteryModel< T >::getMeshVolume | ( | const Mesh & | mesh | ) |
Definition at line 3665 of file BatteryModel_impl.h.
BatteryModelOptions< T > & BatteryModel< T >::getOptions | ( | ) |
Definition at line 3534 of file BatteryModel_impl.h.
T BatteryModel< T >::getPCResidual | ( | const int | v | ) |
Definition at line 3630 of file BatteryModel_impl.h.
BatteryModel< T >::BatteryPotentialBCMap & BatteryModel< T >::getPotentialBCMap | ( | ) |
Definition at line 3518 of file BatteryModel_impl.h.
T BatteryModel< T >::getPotentialFluxIntegral | ( | const Mesh & | mesh, |
const int | faceGroupId | ||
) |
Definition at line 3588 of file BatteryModel_impl.h.
T BatteryModel< T >::getPotentialResidual | ( | ) |
Definition at line 3616 of file BatteryModel_impl.h.
BatteryModel< T >::BatteryPotentialVCMap & BatteryModel< T >::getPotentialVCMap | ( | ) |
Definition at line 3522 of file BatteryModel_impl.h.
BatteryModel< T >::BatterySpeciesBCMap & BatteryModel< T >::getSpeciesBCMap | ( | const int | speciesId | ) |
Definition at line 3506 of file BatteryModel_impl.h.
T BatteryModel< T >::getSpeciesResidual | ( | const int | speciesId | ) |
Definition at line 3609 of file BatteryModel_impl.h.
BatteryModel< T >::BatterySpeciesVCMap & BatteryModel< T >::getSpeciesVCMap | ( | const int | speciesId | ) |
Definition at line 3510 of file BatteryModel_impl.h.
BatteryModel< T >::BatteryThermalBCMap & BatteryModel< T >::getThermalBCMap | ( | ) |
Definition at line 3526 of file BatteryModel_impl.h.
T BatteryModel< T >::getThermalResidual | ( | ) |
Definition at line 3623 of file BatteryModel_impl.h.
BatteryModel< T >::BatteryThermalVCMap & BatteryModel< T >::getThermalVCMap | ( | ) |
Definition at line 3530 of file BatteryModel_impl.h.
|
virtual |
void BatteryModel< T >::recoverLastTimestep | ( | ) |
Definition at line 3573 of file BatteryModel_impl.h.
void BatteryModel< T >::updateTime | ( | ) |
Definition at line 3566 of file BatteryModel_impl.h.
|
private |
Definition at line 79 of file BatteryModel.h.