Memosa-FVM
0.2
|
#include <COMETInterface.h>
Public Types | |
typedef NumTypeTraits< T > ::T_Scalar | T_Scalar |
typedef Array< int > | IntArray |
typedef shared_ptr< IntArray > | IntArrayPtr |
typedef Array< T > | TArray |
typedef KSConnectivity< T > | TKConn |
typedef vector< TKConn * > | TKClist |
typedef Vector< T_Scalar, 3 > | VectorT3 |
typedef Array< VectorT3 > | VectorT3Array |
typedef Kspace< T > | Tkspace |
typedef Tkspace * | TkspPtr |
typedef vector< Tkspace * > | TkspList |
typedef kvol< T > | Tkvol |
typedef pmode< T > | Tmode |
typedef map< int, int > | MeshKspaceMap |
typedef StorageSite::ScatterMap | ScatterMap |
typedef StorageSite::CommonMap | CommonMap |
typedef pair< T, T > | FreqBin |
typedef shared_ptr< FreqBin > | BinPtr |
typedef vector< BinPtr > | BinList |
typedef DensityOfStates< T > | DOST |
typedef vector< COMETIC< T > * > | IClist |
Public Member Functions | |
COMETInterface (const MeshList &meshes, TkspList &klist, MeshKspaceMap &MKMap, PhononMacro ¯o, const GeomFields &geomFields) | |
void | makeDMMcoeffs (COMETIC< T > &ic) |
void | makeNoInterfaceCoeffs (COMETIC< T > &ic) |
void | makeCoarseCoeffs (const IClist &fineList, IClist &coarseList, MeshList &coarseMeshes) |
void | updateOtherGhost (const COMETIC< T > &ic, const int Mid0, const bool plusFAS) |
void | updateResid (const COMETIC< T > &ic, const bool plusFAS) |
void | makeValueArray (const int msh, const int c, TArray &o) |
void | makeEquilibriumArray (const int msh, const T Temp, TArray &o) |
void | Distribute (const int msh, const int cell, TArray &BVec) |
void | DistributeResid (const int msh, const int cell, TArray &BVec) |
void | ZeroGhost (const int msh, const int cell) |
void | findWallTemp (const int meshID, const int cell0, const int cell0ghost, const VectorT3 Af, T &Tguess) |
void | addFAS (const int msh, const int c, TArray &bVec) |
Private Attributes | |
const MeshList & | _meshes |
TkspList & | _KList |
MeshKspaceMap | _MeshKspaceMap |
PhononMacro & | _macro |
const GeomFields & | _geomFields |
Definition at line 10 of file COMETInterface.h.
typedef vector<BinPtr> COMETInterface< T >::BinList |
Definition at line 31 of file COMETInterface.h.
typedef shared_ptr<FreqBin> COMETInterface< T >::BinPtr |
Definition at line 30 of file COMETInterface.h.
typedef StorageSite::CommonMap COMETInterface< T >::CommonMap |
Definition at line 28 of file COMETInterface.h.
typedef DensityOfStates<T> COMETInterface< T >::DOST |
Definition at line 32 of file COMETInterface.h.
typedef pair<T,T> COMETInterface< T >::FreqBin |
Definition at line 29 of file COMETInterface.h.
typedef vector<COMETIC<T>*> COMETInterface< T >::IClist |
Definition at line 33 of file COMETInterface.h.
typedef Array<int> COMETInterface< T >::IntArray |
Definition at line 14 of file COMETInterface.h.
typedef shared_ptr<IntArray> COMETInterface< T >::IntArrayPtr |
Definition at line 15 of file COMETInterface.h.
typedef map<int,int> COMETInterface< T >::MeshKspaceMap |
Definition at line 26 of file COMETInterface.h.
typedef StorageSite::ScatterMap COMETInterface< T >::ScatterMap |
Definition at line 27 of file COMETInterface.h.
typedef NumTypeTraits<T>::T_Scalar COMETInterface< T >::T_Scalar |
Definition at line 13 of file COMETInterface.h.
typedef Array<T> COMETInterface< T >::TArray |
Definition at line 16 of file COMETInterface.h.
typedef vector<TKConn*> COMETInterface< T >::TKClist |
Definition at line 18 of file COMETInterface.h.
typedef KSConnectivity<T> COMETInterface< T >::TKConn |
Definition at line 17 of file COMETInterface.h.
typedef Kspace<T> COMETInterface< T >::Tkspace |
Definition at line 21 of file COMETInterface.h.
typedef vector<Tkspace*> COMETInterface< T >::TkspList |
Definition at line 23 of file COMETInterface.h.
typedef Tkspace* COMETInterface< T >::TkspPtr |
Definition at line 22 of file COMETInterface.h.
typedef kvol<T> COMETInterface< T >::Tkvol |
Definition at line 24 of file COMETInterface.h.
typedef pmode<T> COMETInterface< T >::Tmode |
Definition at line 25 of file COMETInterface.h.
typedef Vector<T_Scalar,3> COMETInterface< T >::VectorT3 |
Definition at line 19 of file COMETInterface.h.
typedef Array<VectorT3> COMETInterface< T >::VectorT3Array |
Definition at line 20 of file COMETInterface.h.
|
inline |
Definition at line 35 of file COMETInterface.h.
|
inline |
Definition at line 1094 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_macro, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, Mesh::getCells(), pmode< T >::getFASfield(), pmode< T >::getIndex(), Kspace< T >::getkvol(), Array< T >::getLength(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), Kspace< T >::gettotmodes(), and PhononMacro::TlFASCorrection.
|
inline |
Definition at line 998 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_macro, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, Mesh::getCells(), Array< T >::getLength(), Kspace< T >::gettotmodes(), Kspace< T >::seteCellVals(), and PhononMacro::temperature.
Referenced by COMETInterface< T >::updateOtherGhost().
|
inline |
Definition at line 1015 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_MeshKspaceMap, Array< T >::getLength(), Kspace< T >::gettotmodes(), and Kspace< T >::setResidCell().
Referenced by COMETInterface< T >::updateResid().
|
inline |
Definition at line 1052 of file COMETInterface.h.
References COMETInterface< T >::_geomFields, COMETInterface< T >::_KList, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, Kspace< T >::calcTemp(), GeomFields::coordinate, Mesh::getCells(), kvol< T >::getdk3(), Kspace< T >::geteCellVals(), pmode< T >::getIndex(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), Kspace< T >::gettotmodes(), pmode< T >::getv(), and sqrt().
Referenced by COMETInterface< T >::makeDMMcoeffs().
|
inline |
Definition at line 467 of file COMETInterface.h.
References COMETInterface< T >::_geomFields, COMETInterface< T >::_KList, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, GeomFields::area, KSConnectivity< T >::copyFrom(), COMETIC< T >::FgID0, COMETIC< T >::FgID1, COMETIC< T >::FineToCoarse0, COMETIC< T >::FineToCoarse1, StorageSite::getCommonMap(), StorageSite::getCount(), Mesh::getFaceGroup(), COMETIC< T >::getKConnectivity(), Kspace< T >::gettotmodes(), COMETIC< T >::MeshID0, COMETIC< T >::MeshID1, KSConnectivity< T >::multiplyOther(), KSConnectivity< T >::multiplySelf(), Array< T >::resize(), FaceGroup::site, and Array< T >::zero().
Referenced by COMETModel< T >::MakeCoarseModel().
|
inline |
Definition at line 44 of file COMETInterface.h.
References COMETInterface< T >::_geomFields, COMETInterface< T >::_KList, COMETInterface< T >::_macro, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, KSConnectivity< T >::addCountOther(), KSConnectivity< T >::addCountSelf(), KSConnectivity< T >::addOther(), KSConnectivity< T >::addSelf(), GeomFields::area, pmode< T >::calce0(), COMETIC< T >::clearConnections(), GeomFields::coordinate, COMETIC< T >::FgID0, COMETIC< T >::FgID1, COMETInterface< T >::findWallTemp(), KSConnectivity< T >::finishAddOther(), KSConnectivity< T >::finishAddSelf(), KSConnectivity< T >::finishCountOther(), KSConnectivity< T >::finishCountSelf(), Mesh::getCellCells(), Mesh::getCellFaces(), Mesh::getCells(), StorageSite::getCount(), kvol< T >::getdk3(), Kspace< T >::getDOSptr(), Mesh::getFaceCells(), Mesh::getFaceGroup(), DensityOfStates< T >::getFreqMidsT(), pmode< T >::getIndex(), COMETIC< T >::getKConnectivity(), DensityOfStates< T >::getKIndices(), Kspace< T >::getkvol(), Array< T >::getLength(), DensityOfStates< T >::getMIndices(), kvol< T >::getmode(), StorageSite::getOffset(), StorageSite::getScatterMap(), Kspace< T >::gettotmodes(), Kspace< T >::getTransArray(), pmode< T >::getv(), KSConnectivity< T >::initOtherCount(), KSConnectivity< T >::initSelfCount(), COMETIC< T >::MeshID0, COMETIC< T >::MeshID1, FaceGroup::site, sqrt(), and PhononMacro::temperature.
Referenced by COMETModel< T >::init(), and COMETModel< T >::initFromOld().
|
inline |
Definition at line 972 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, pmode< T >::calce0(), pmode< T >::getIndex(), Kspace< T >::getkvol(), Array< T >::getLength(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), and Kspace< T >::gettotmodes().
|
inline |
Definition at line 399 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, KSConnectivity< T >::addCountOther(), KSConnectivity< T >::addCountSelf(), KSConnectivity< T >::addOther(), KSConnectivity< T >::addSelf(), COMETIC< T >::clearConnections(), COMETIC< T >::FgID0, COMETIC< T >::FgID1, KSConnectivity< T >::finishAddOther(), KSConnectivity< T >::finishAddSelf(), KSConnectivity< T >::finishCountOther(), KSConnectivity< T >::finishCountSelf(), StorageSite::getCount(), Mesh::getFaceGroup(), COMETIC< T >::getKConnectivity(), Kspace< T >::gettotmodes(), KSConnectivity< T >::initOtherCount(), KSConnectivity< T >::initSelfCount(), COMETIC< T >::MeshID0, COMETIC< T >::MeshID1, and FaceGroup::site.
Referenced by COMETModel< T >::init().
|
inline |
Definition at line 958 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_MeshKspaceMap, Kspace< T >::geteCellVals(), Array< T >::getLength(), and Kspace< T >::gettotmodes().
Referenced by COMETInterface< T >::updateOtherGhost(), and COMETInterface< T >::updateResid().
|
inline |
Definition at line 820 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, Kspace< T >::addFASint(), COMETInterface< T >::Distribute(), COMETIC< T >::FgID0, COMETIC< T >::FgID1, StorageSite::getCommonMap(), StorageSite::getCount(), Kspace< T >::getDK3(), Mesh::getFaceCells(), Mesh::getFaceGroup(), COMETIC< T >::getKConnectivity(), Kspace< T >::gettotmodes(), COMETInterface< T >::makeValueArray(), COMETIC< T >::MeshID0, COMETIC< T >::MeshID1, KSConnectivity< T >::multiplyOther(), KSConnectivity< T >::multiplySelf(), FaceGroup::site, and Array< T >::zero().
Referenced by COMETModel< T >::init(), and COMETModel< T >::smooth().
|
inline |
Definition at line 885 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, Kspace< T >::addFASint(), COMETInterface< T >::DistributeResid(), COMETIC< T >::FgID0, COMETIC< T >::FgID1, StorageSite::getCommonMap(), StorageSite::getCount(), Kspace< T >::getDK3(), Mesh::getFaceCells(), Mesh::getFaceGroup(), COMETIC< T >::getKConnectivity(), Kspace< T >::gettotmodes(), COMETInterface< T >::makeValueArray(), COMETIC< T >::MeshID0, COMETIC< T >::MeshID1, KSConnectivity< T >::multiplyOther(), KSConnectivity< T >::multiplySelf(), FaceGroup::site, and Array< T >::zero().
Referenced by COMETModel< T >::updateResid().
|
inline |
Definition at line 1028 of file COMETInterface.h.
References COMETInterface< T >::_KList, COMETInterface< T >::_macro, COMETInterface< T >::_meshes, COMETInterface< T >::_MeshKspaceMap, Mesh::getCells(), pmode< T >::getfield(), Kspace< T >::getkvol(), Kspace< T >::getlength(), kvol< T >::getmode(), kvol< T >::getmodenum(), and PhononMacro::temperature.
|
private |
Definition at line 1127 of file COMETInterface.h.
Referenced by COMETInterface< T >::findWallTemp(), COMETInterface< T >::makeCoarseCoeffs(), and COMETInterface< T >::makeDMMcoeffs().
|
private |
Definition at line 1124 of file COMETInterface.h.
Referenced by COMETInterface< T >::addFAS(), COMETInterface< T >::Distribute(), COMETInterface< T >::DistributeResid(), COMETInterface< T >::findWallTemp(), COMETInterface< T >::makeCoarseCoeffs(), COMETInterface< T >::makeDMMcoeffs(), COMETInterface< T >::makeEquilibriumArray(), COMETInterface< T >::makeNoInterfaceCoeffs(), COMETInterface< T >::makeValueArray(), COMETInterface< T >::updateOtherGhost(), COMETInterface< T >::updateResid(), and COMETInterface< T >::ZeroGhost().
|
private |
Definition at line 1126 of file COMETInterface.h.
Referenced by COMETInterface< T >::addFAS(), COMETInterface< T >::Distribute(), COMETInterface< T >::makeDMMcoeffs(), and COMETInterface< T >::ZeroGhost().
|
private |
Definition at line 1123 of file COMETInterface.h.
Referenced by COMETInterface< T >::addFAS(), COMETInterface< T >::Distribute(), COMETInterface< T >::findWallTemp(), COMETInterface< T >::makeCoarseCoeffs(), COMETInterface< T >::makeDMMcoeffs(), COMETInterface< T >::makeEquilibriumArray(), COMETInterface< T >::makeNoInterfaceCoeffs(), COMETInterface< T >::updateOtherGhost(), COMETInterface< T >::updateResid(), and COMETInterface< T >::ZeroGhost().
|
private |
Definition at line 1125 of file COMETInterface.h.
Referenced by COMETInterface< T >::addFAS(), COMETInterface< T >::Distribute(), COMETInterface< T >::DistributeResid(), COMETInterface< T >::findWallTemp(), COMETInterface< T >::makeCoarseCoeffs(), COMETInterface< T >::makeDMMcoeffs(), COMETInterface< T >::makeEquilibriumArray(), COMETInterface< T >::makeNoInterfaceCoeffs(), COMETInterface< T >::makeValueArray(), COMETInterface< T >::updateOtherGhost(), COMETInterface< T >::updateResid(), and COMETInterface< T >::ZeroGhost().