Public Member Functions | |
leastSquaresBase (const fvMesh &mesh) | |
~leastSquaresBase () | |
Protected Types | |
template<class T > | |
using | List2 = List< List< T > > |
template<class T > | |
using | List3 = List2< List< T > > |
template<class T > | |
using | labelHashTable = HashTable< T, label, Hash< label >> |
typedef HashSet< label, Hash < label > > | labelHashSet |
template<class T > | |
using | Triple = FixedList< T, 3 > |
Protected Member Functions | |
void | findNeighbours () |
Find neighbour cells for each face (throught face points). More... | |
void | calculateWeights () |
Compute weights for least squares scheme for gradient calculation. More... | |
Protected Attributes | |
labelListList | neighbourCells_ |
List2< vector > | GdfAll_ |
List2< scalar > | wf2All_ |
DynamicList< label > | internalDegFaces_ |
List< label > | procPairs_ |
List< label > | neigProcs_ |
labelHashTable< label > | idProcPatchPairs_ |
label | nProcPatches_ |
List3< vector > | procGdf_ |
List3< scalar > | procWf2_ |
List3< label > | myProcPatchCells_ |
List2< label > | ownEnd_ |
List2< label > | neiStart_ |
List2< label > | neiEnd_ |
List2< label > | corStart_ |
List2< label > | corEnd_ |
labelHashTable< List< label > > | pointCells_ |
labelHashTable< label > | cellProc_ |
List2< Triple< label > > | corAddr_ |
List2< label > | corCellIds_ |
labelHashTable< label > | corProcIds_ |
List< DynamicList< label > > | procDegFaces_ |
Definition at line 42 of file leastSquaresBase.H.
Definition at line 52 of file leastSquaresBase.H.
Definition at line 55 of file leastSquaresBase.H.
|
protected |
Definition at line 58 of file leastSquaresBase.H.
|
protected |
Definition at line 61 of file leastSquaresBase.H.
Definition at line 64 of file leastSquaresBase.H.
leastSquaresBase | ( | const fvMesh & | mesh | ) |
Definition at line 28 of file leastSquaresBase.C.
~leastSquaresBase | ( | ) |
Definition at line 37 of file leastSquaresBase.C.
|
protected |
Find neighbour cells for each face (throught face points).
Definition at line 36 of file extendedFaceStencilFindNeighbours.C.
References leastSquaresBase::cellProc_, leastSquaresBase::corAddr_, leastSquaresBase::corCellIds_, leastSquaresBase::corEnd_, leastSquaresBase::corProcIds_, leastSquaresBase::corStart_, forAll(), leastSquaresBase::idProcPatchPairs_, leastSquaresBase::myProcPatchCells_, leastSquaresBase::neiEnd_, leastSquaresBase::neighbourCells_, leastSquaresBase::neigProcs_, leastSquaresBase::neiStart_, leastSquaresBase::nProcPatches_, leastSquaresBase::ownEnd_, leastSquaresBase::pointCells_, leastSquaresBase::procGdf_, leastSquaresBase::procPairs_, and leastSquaresBase::procWf2_.
|
protected |
Compute weights for least squares scheme for gradient calculation.
Definition at line 38 of file extendedFaceStencilCalculateWeights.C.
References leastSquaresBase::corAddr_, leastSquaresBase::corCellIds_, leastSquaresBase::corEnd_, leastSquaresBase::corProcIds_, leastSquaresBase::corStart_, forAll(), leastSquaresBase::GdfAll_, leastSquaresBase::internalDegFaces_, leastSquaresBase::myProcPatchCells_, leastSquaresBase::neighbourCells_, leastSquaresBase::neigProcs_, leastSquaresBase::neiStart_, leastSquaresBase::nProcPatches_, leastSquaresBase::procDegFaces_, leastSquaresBase::procGdf_, leastSquaresBase::procPairs_, leastSquaresBase::procWf2_, and leastSquaresBase::wf2All_.
|
protected |
Definition at line 71 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresOpt::faceScalarDer(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 74 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresOpt::faceScalarDer(), and leastSquares::Grad().
|
protected |
Definition at line 75 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresOpt::faceScalarDer(), and leastSquares::Grad().
|
protected |
Definition at line 78 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), and leastSquares::Grad().
|
protected |
Definition at line 82 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 83 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 84 of file leastSquaresBase.H.
Referenced by leastSquaresBase::findNeighbours().
|
protected |
Definition at line 85 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 88 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 89 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 92 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 93 of file leastSquaresBase.H.
Referenced by leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 94 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 95 of file leastSquaresBase.H.
Referenced by leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 96 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 97 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), and leastSquaresBase::findNeighbours().
|
protected |
Definition at line 101 of file leastSquaresBase.H.
Referenced by leastSquaresBase::findNeighbours().
|
protected |
Definition at line 102 of file leastSquaresBase.H.
Referenced by leastSquaresBase::findNeighbours().
Definition at line 105 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 106 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 107 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), leastSquaresBase::findNeighbours(), and leastSquares::Grad().
|
protected |
Definition at line 109 of file leastSquaresBase.H.
Referenced by leastSquaresBase::calculateWeights(), and leastSquares::Grad().