|
Memosa-FVM
0.2
|
#include <PhononModel.h>


Public Types | |
| typedef NumTypeTraits< T > ::T_Scalar | T_Scalar |
| typedef Vector< T_Scalar, 3 > | VectorT3 |
| typedef Array< VectorT3 > | VectorT3Array |
| typedef shared_ptr< VectorT3Array > | T3ptr |
| typedef Kspace< T > | Tkspace |
| typedef kvol< T > | Tkvol |
| typedef pmode< T > | Tmode |
| typedef Array< T > | Tarray |
| typedef shared_ptr< Tarray > | Tarrptr |
| typedef map< int, PhononBC< T > * > | PhononBCMap |
| typedef Tmode::Mode_ptr | Mode_ptr |
| typedef Tmode::Reflection | Reflection |
| typedef Tmode::Reflptr | Reflptr |
| typedef Tmode::Refl_pair | Refl_pair |
| typedef Tmode::Refl_Map | Refl_Map |
| typedef Array< int > | BCcellArray |
| typedef shared_ptr< BCcellArray > | BCellPtr |
| typedef vector< BCellPtr > | BCcellList |
| typedef Array< bool > | BCfaceArray |
| typedef shared_ptr< BCfaceArray > | BfacePtr |
| typedef vector< BfacePtr > | BCfaceList |
Public Member Functions | |
| PhononModel (const MeshList &meshes, const GeomFields &geomFields, Tkspace &kspace, PhononMacro ¯o) | |
| PhononModelOptions< T > & | getOptions () |
| PhononBCMap & | getBCs () |
| void | init () |
| void | callBoundaryConditions () |
| void | updateTL () |
| void | COMETupdateTL () |
| void | updatee0 () |
| void | updateHeatFlux () |
| void | initPhononModelLinearization (LinearSystem &ls, Tmode &mode) |
| void | linearizePhononModel (LinearSystem &ls, Tmode &mode) |
| bool | advance (const int niter) |
| void | printTemp () |
| T | HeatFluxIntegral (const Mesh &mesh, const int faceGroupId) |
| int | getIters () |
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 | |
| const GeomFields & | _geomFields |
| Tkspace & | _kspace |
| PhononMacro & | _macro |
| PhononModelOptions< T > | _options |
| PhononBCMap | _bcMap |
| MFRPtr | _initialnorm |
| int | _niters |
| BCcellList | _BCells |
| BCfaceList | _BFaces |
Additional Inherited Members | |
Protected Attributes inherited from Model | |
| const MeshList | _meshes |
| StorageSiteList | _varSites |
| StorageSiteList | _fluxSites |
| map< string, shared_ptr < ArrayBase > > | _persistenceData |
Definition at line 32 of file PhononModel.h.
| typedef Array<int> PhononModel< T >::BCcellArray |
Definition at line 52 of file PhononModel.h.
| typedef vector<BCellPtr> PhononModel< T >::BCcellList |
Definition at line 54 of file PhononModel.h.
| typedef shared_ptr<BCcellArray> PhononModel< T >::BCellPtr |
Definition at line 53 of file PhononModel.h.
| typedef Array<bool> PhononModel< T >::BCfaceArray |
Definition at line 55 of file PhononModel.h.
| typedef vector<BfacePtr> PhononModel< T >::BCfaceList |
Definition at line 57 of file PhononModel.h.
| typedef shared_ptr<BCfaceArray> PhononModel< T >::BfacePtr |
Definition at line 56 of file PhononModel.h.
| typedef Tmode::Mode_ptr PhononModel< T >::Mode_ptr |
Definition at line 47 of file PhononModel.h.
| typedef map<int,PhononBC<T>*> PhononModel< T >::PhononBCMap |
Definition at line 46 of file PhononModel.h.
| typedef Tmode::Refl_Map PhononModel< T >::Refl_Map |
Definition at line 51 of file PhononModel.h.
| typedef Tmode::Refl_pair PhononModel< T >::Refl_pair |
Definition at line 50 of file PhononModel.h.
| typedef Tmode::Reflection PhononModel< T >::Reflection |
Definition at line 48 of file PhononModel.h.
| typedef Tmode::Reflptr PhononModel< T >::Reflptr |
Definition at line 49 of file PhononModel.h.
| typedef shared_ptr<VectorT3Array> PhononModel< T >::T3ptr |
Definition at line 40 of file PhononModel.h.
| typedef NumTypeTraits<T>::T_Scalar PhononModel< T >::T_Scalar |
Definition at line 37 of file PhononModel.h.
| typedef Array<T> PhononModel< T >::Tarray |
Definition at line 44 of file PhononModel.h.
| typedef shared_ptr<Tarray> PhononModel< T >::Tarrptr |
Definition at line 45 of file PhononModel.h.
| typedef Kspace<T> PhononModel< T >::Tkspace |
Definition at line 41 of file PhononModel.h.
| typedef kvol<T> PhononModel< T >::Tkvol |
Definition at line 42 of file PhononModel.h.
| typedef pmode<T> PhononModel< T >::Tmode |
Definition at line 43 of file PhononModel.h.
| typedef Vector<T_Scalar,3> PhononModel< T >::VectorT3 |
Definition at line 38 of file PhononModel.h.
| typedef Array<VectorT3> PhononModel< T >::VectorT3Array |
Definition at line 39 of file PhononModel.h.
|
inline |
Definition at line 59 of file PhononModel.h.
References PhononModel< T >::_BCells, PhononModel< T >::_bcMap, PhononModel< T >::_BFaces, Model::_meshes, PhononBC< T >::bcType, Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), Mesh::getFaces(), StorageSite::getSelfCount(), FaceGroup::groupType, and FaceGroup::id.
|
inline |
Definition at line 530 of file PhononModel.h.
References PhononModel< T >::_initialnorm, PhononModel< T >::_kspace, PhononModel< T >::_niters, PhononModel< T >::_options, PhononModel< T >::callBoundaryConditions(), pmode< T >::getfield(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), LinearSystem::initAssembly(), PhononModel< T >::initPhononModelLinearization(), LinearSystem::initSolve(), PhononModel< T >::linearizePhononModel(), LinearSystem::postSolve(), PhononModel< T >::updatee0(), LinearSystem::updateSolution(), and PhononModel< T >::updateTL().
|
inline |
Definition at line 245 of file PhononModel.h.
References PhononModel< T >::_bcMap, PhononModel< T >::_geomFields, PhononModel< T >::_kspace, Model::_meshes, PhononModel< T >::_options, PhononInterface< X >::applyInterfaceCondition(), PhononBoundary< X >::applyReflectingWall(), PhononBoundary< X >::applyTemperatureWall(), PhononBC< T >::bcType, Mesh::getBoundaryFaceGroups(), Mesh::getInterfaceGroups(), FloatVarDict< T >::getVal(), FaceGroup::id, and FaceGroup::site.
Referenced by PhononModel< T >::advance().
|
inline |
Definition at line 341 of file PhononModel.h.
References PhononModel< T >::_kspace, PhononModel< T >::_macro, Model::_meshes, PhononMacro::e0, Mesh::getCells(), StorageSite::getCount(), Kspace< T >::NewtonSolve(), and PhononMacro::temperature.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 623 of file PhononModel.h.
References PhononModel< T >::_geomFields, PhononModel< T >::_kspace, GeomFields::area, Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), kvol< T >::getdk3(), Kspace< T >::getDK3(), Mesh::getFaceCells(), pmode< T >::getfield(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), pmode< T >::getv(), FaceGroup::id, and FaceGroup::site.
|
inlinevirtual |
Implements Model.
Definition at line 115 of file PhononModel.h.
References PhononModel< T >::_BCells, PhononModel< T >::_bcMap, PhononModel< T >::_BFaces, PhononModel< T >::_geomFields, PhononModel< T >::_initialnorm, PhononModel< T >::_kspace, PhononModel< T >::_macro, Model::_meshes, PhononModel< T >::_niters, PhononModel< T >::_options, Field::addArray(), GeomFields::area, GeomFields::areaMag, pmode< T >::calce0(), PhononMacro::e0, Kspace< T >::findSpecs(), Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), kvol< T >::getdk3(), Kspace< T >::getDK3(), pmode< T >::gete0field(), Mesh::getFaceCells(), pmode< T >::getfield(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), StorageSite::getOffset(), pmode< T >::getreflmap(), pmode< T >::getresid(), pmode< T >::getv(), FaceGroup::id, FaceGroup::site, sqrt(), and PhononMacro::temperature.
|
inline |
Definition at line 422 of file PhononModel.h.
References Model::_meshes, MultiField::addArray(), MultiFieldMatrix::addMatrix(), Field::getArrayPtr(), Mesh::getCellCells(), Mesh::getCells(), pmode< T >::getfield(), LinearSystem::getMatrix(), and LinearSystem::getX().
Referenced by PhononModel< T >::advance().
|
inline |
Definition at line 445 of file PhononModel.h.
References PhononModel< T >::_bcMap, PhononModel< T >::_geomFields, Model::_meshes, GeomFields::area, GeomFields::areaMag, PhononBC< T >::bcType, LinearSystem::getB(), Mesh::getBoundaryFaceGroups(), Mesh::getCells(), StorageSite::getCount(), pmode< T >::gete0field(), Mesh::getFaceCells(), pmode< T >::getfield(), LinearSystem::getMatrix(), pmode< T >::gettau(), pmode< T >::getv(), LinearSystem::getX(), FaceGroup::id, Linearizer::linearize(), and FaceGroup::site.
Referenced by PhononModel< T >::advance().
|
inline |
Definition at line 608 of file PhononModel.h.
References PhononModel< T >::_macro, Model::_meshes, Mesh::getCells(), StorageSite::getCount(), and PhononMacro::temperature.
|
inline |
Definition at line 357 of file PhononModel.h.
References PhononModel< T >::_kspace, PhononModel< T >::_macro, Model::_meshes, pmode< T >::calce0(), Mesh::getCells(), StorageSite::getCount(), pmode< T >::gete0field(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), and PhononMacro::temperature.
Referenced by PhononModel< T >::advance().
|
inline |
Definition at line 387 of file PhononModel.h.
References PhononModel< T >::_kspace, PhononModel< T >::_macro, Model::_meshes, Field::addArray(), Mesh::getCells(), StorageSite::getCount(), kvol< T >::getdk3(), pmode< T >::getfield(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), pmode< T >::getv(), and PhononMacro::heatFlux.
|
inline |
Definition at line 302 of file PhononModel.h.
References PhononModel< T >::_kspace, PhononModel< T >::_macro, Model::_meshes, Mesh::getCells(), StorageSite::getCount(), kvol< T >::getdk3(), pmode< T >::getfield(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), pmode< T >::gettau(), Kspace< T >::NewtonSolve(), and PhononMacro::temperature.
Referenced by PhononModel< T >::advance().
|
private |
Definition at line 679 of file PhononModel.h.
Referenced by PhononModel< T >::init(), and PhononModel< T >::PhononModel().
|
private |
Definition at line 676 of file PhononModel.h.
Referenced by PhononModel< T >::callBoundaryConditions(), PhononModel< T >::getBCs(), PhononModel< T >::init(), PhononModel< T >::linearizePhononModel(), and PhononModel< T >::PhononModel().
|
private |
Definition at line 680 of file PhononModel.h.
Referenced by PhononModel< T >::init(), and PhononModel< T >::PhononModel().
|
private |
Definition at line 672 of file PhononModel.h.
Referenced by PhononModel< T >::callBoundaryConditions(), PhononModel< T >::HeatFluxIntegral(), PhononModel< T >::init(), and PhononModel< T >::linearizePhononModel().
|
private |
Definition at line 677 of file PhononModel.h.
Referenced by PhononModel< T >::advance(), and PhononModel< T >::init().
|
private |
Definition at line 673 of file PhononModel.h.
Referenced by PhononModel< T >::advance(), PhononModel< T >::callBoundaryConditions(), PhononModel< T >::COMETupdateTL(), PhononModel< T >::HeatFluxIntegral(), PhononModel< T >::init(), PhononModel< T >::updatee0(), PhononModel< T >::updateHeatFlux(), and PhononModel< T >::updateTL().
|
private |
Definition at line 674 of file PhononModel.h.
Referenced by PhononModel< T >::COMETupdateTL(), PhononModel< T >::init(), PhononModel< T >::printTemp(), PhononModel< T >::updatee0(), PhononModel< T >::updateHeatFlux(), and PhononModel< T >::updateTL().
|
private |
Definition at line 678 of file PhononModel.h.
Referenced by PhononModel< T >::advance(), PhononModel< T >::getIters(), and PhononModel< T >::init().
|
private |
Definition at line 675 of file PhononModel.h.
Referenced by PhononModel< T >::advance(), PhononModel< T >::callBoundaryConditions(), PhononModel< T >::getOptions(), and PhononModel< T >::init().