5 #ifndef _COMETBOUNDARY_H_
6 #define _COMETBOUNDARY_H_
102 for(
int j=0;j<neibcount;j++)
114 T& curMax=pointMax[k];
115 T& curMin=pointMin[k];
116 Grads[k].accumulate(Gcoeff, e1-e0);
139 for(
int j=0;j<neibcount;j++)
141 const int f1(cellFaces(c0,j));
148 const T minVal=pointMin[k];
149 const T maxVal=pointMax[k];
150 const T de0(Grads[k]*dr0);
160 VectorT3 fVec=faceCoords[f]-_cellCoords[c0];
162 for (
int k=0;k<numK;k++)
167 for (
int m=0;m<numM;m++)
173 const T vg_dot_en = vg[0]*en[0]+vg[1]*en[1]+vg[2]*en[2];
180 const T SOU=(fVec[0]*grad[0]+fVec[1]*grad[1]+
181 fVec[2]*grad[2])*pointLim[index];
198 for (
int k=0;k<numK;k++)
203 for (
int m=0;m<numM;m++)
209 const T vg_dot_en = vg[0]*en[0]+vg[1]*en[1]+vg[2]*en[2];
pair< Reflection, Reflection > Refl_pair
int getCount(const int i) const
void applyTemperatureWallCoarse(int f, const T Twall) const
Array< GradType > GradArray
GradModelType::GradMatrixType GradMatrix
const VectorT3Array & _cellCoords
Tkvol & getkvol(int n) const
Tmode & getmode(int n) const
Vector< T_Scalar, 3 > VectorT3
COMETBoundary(const StorageSite &faces, const Mesh &mesh, const GeomFields &geomFields, Tkspace &kspace, COMETModelOptions< T > &opts, const int fg_id)
Coord & getCoeff(const int i, const int j)
void applyTemperatureWallFine(FloatValEvaluator< T > &bTemp) const
Array< VectorT3 > VectorT3Array
const CRConnectivity & getCellFaces() const
void applyTemperatureWallCoarse(FloatValEvaluator< T > &bTemp) const
int getGlobalIndex(const int cell, const int count)
Tmode::Refl_pair Refl_pair
const VectorT3Array & _faceArea
const GeomFields & _geomFields
const StorageSite & getFaces() const
void applyTemperatureWallFine(int f, const T Twall, const GradMatrix &gMat) const
const CRConnectivity & _faceCells
const StorageSite & _faces
GradientModel< T > GradModelType
NumTypeTraits< T >::T_Scalar T_Scalar
static GradMatrixType & getGradientMatrix(const Mesh &mesh, const GeomFields &geomFields)
const StorageSite & _cells
const CRConnectivity & _cellCells