5 #ifndef _BATTERYMODEL_H_
6 #define _BATTERYMODEL_H_
void advanceThermal(const int niter)
BatterySpeciesBCMap & getSpeciesBCMap(const int speciesId)
BatteryPotentialVCMap & getPotentialVCMap()
BatteryModelOptions< T > & getOptions()
BatteryPotentialBCMap & getPotentialBCMap()
T getMassFluxIntegral(const Mesh &mesh, const int faceGroupId, const int m)
void copySeparateToCoupled()
T getAverageConcentration(const Mesh &mesh, const int m)
BatterySpeciesVCMap & getSpeciesVCMap(const int speciesId)
void advanceCoupled(const int niter)
T getPotentialFluxIntegral(const Mesh &mesh, const int faceGroupId)
BatteryModelFields & getBatteryModelFields()
void advanceSpecies(const int niter)
T getFaceGroupVoltage(const Mesh &mesh, const int fgID)
void advancePotential(const int niter)
std::map< int, BatterySpeciesVC< T > * > BatterySpeciesVCMap
BatteryModel(GeomFields &geomFields, const MeshList &realMeshes, const MeshList &meshes, const int nSpecies)
T getSpeciesResidual(const int speciesId)
void recoverLastTimestep()
std::map< int, BatterySpeciesBC< T > * > BatterySpeciesBCMap
BatteryThermalVCMap & getThermalVCMap()
std::map< int, BatteryPotentialBC< T > * > BatteryPotentialBCMap
T getPCResidual(const int v)
T getFaceGroupArea(const Mesh &mesh, const int fgID)
void copyCoupledToSeparate()
BatterySpeciesFields & getBatterySpeciesFields(const int speciesId)
T getMeshVolume(const Mesh &mesh)
std::map< int, BatteryPotentialVC< T > * > BatteryPotentialVCMap
std::map< int, BatteryThermalBC< T > * > BatteryThermalBCMap
T getHeatFluxIntegral(const Mesh &mesh, const int faceGroupId)
std::map< int, BatteryThermalVC< T > * > BatteryThermalVCMap
BatteryThermalBCMap & getThermalBCMap()
vector< Mesh * > MeshList