

Classes | |
| class | extendedFaceStencilCalculateWeights |
| Base methods for calculating weights. More... | |
| class | extendedFaceStencilFindNeighbours |
| Base methods for finding neighbours. More... | |
| class | extendedFaceStencilScalarGrad |
| class | leastSquaresBase |
| Base methods for calculating weights and finding neighbours. More... | |
| class | leastSquaresStencil |
| Realisation least squares method for calculationg of differential operators. More... | |
Public Member Functions | |
| TypeName ("leastSquares") | |
| leastSquares (const IOobject &) | |
| Construct from IOobject. Optional flag for if IOobject is the. More... | |
| ~leastSquares () | |
| Destructor. More... | |
| tmp< surfaceVectorField > | Grad (const volScalarField &iF) |
| Calculate gradient of volume scalar function on the faces. More... | |
| tmp< surfaceTensorField > | Grad (const volVectorField &iVF) |
| Calculate gradient of volume vector field on the faces. More... | |
| tmp< surfaceScalarField > | Div (const volVectorField &iVF) |
| Calculate divergence of volume vector field on the faces. More... | |
| tmp< surfaceVectorField > | Div (const volTensorField &iTF) |
| Calculate divergence of volume tensor field on the faces. More... | |
Public Member Functions inherited from fvscStencil | |
| TypeName ("fvscStencil") | |
| declareRunTimeSelectionTable (autoPtr, fvscStencil, components,(const IOobject &io),(io)) | |
| fvscStencil (const IOobject &io) | |
| Construct from components. More... | |
| virtual | ~fvscStencil () |
| virtual bool | writeData (Ostream &) const |
Public Member Functions inherited from leastSquaresBase | |
| leastSquaresBase (const fvMesh &mesh) | |
| ~leastSquaresBase () | |
Additional Inherited Members | |
Static Public Member Functions inherited from fvscStencil | |
| static autoPtr< fvscStencil > | New (const word &name, const fvMesh &mesh) |
| Return a reference to the selected fvscStencil model. More... | |
| static fvscStencil & | lookupOrNew (const word &nname, const fvMesh &mesh) |
| static tmp<fvscStencil> lookupOrNew More... | |
Protected Types inherited from leastSquaresBase | |
| 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 inherited from leastSquaresBase | |
| 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 inherited from fvscStencil | |
| const fvMesh & | mesh_ |
| const Time & | runTime_ |
| surfaceVectorField | nf_ |
Protected Attributes inherited from leastSquaresBase | |
| 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_ |
Static Protected Attributes inherited from fvscStencil | |
| static PtrList< fvscStencil > | stencils_ |
Definition at line 57 of file leastSquaresStencil.H.
| leastSquares | ( | const IOobject & | io | ) |
Construct from IOobject. Optional flag for if IOobject is the.
top level regIOobject.
Definition at line 51 of file leastSquaresStencil.C.
| ~leastSquares | ( | ) |
Destructor.
Definition at line 128 of file leastSquaresStencil.C.
| TypeName | ( | "leastSquares" | ) |
|
virtual |
Calculate gradient of volume scalar function on the faces.
| iF | Internal scalar field. Allowable values: constant reference to the volScalarField. |
Reimplemented from fvscStencil.
Definition at line 45 of file extendedFaceStencilScalarGrad.C.
References leastSquaresBase::corAddr_, leastSquaresBase::corCellIds_, leastSquaresBase::corProcIds_, leastSquaresBase::corStart_, forAll(), leastSquaresBase::GdfAll_, leastSquaresBase::internalDegFaces_, fvscStencil::mesh_, leastSquaresBase::myProcPatchCells_, leastSquaresBase::neiEnd_, leastSquaresBase::neighbourCells_, leastSquaresBase::neigProcs_, leastSquaresBase::neiStart_, fvscStencil::nf_, leastSquaresBase::nProcPatches_, leastSquaresBase::ownEnd_, leastSquaresBase::procDegFaces_, leastSquaresBase::procGdf_, leastSquaresBase::procPairs_, leastSquaresBase::procWf2_, and leastSquaresBase::wf2All_.

|
virtual |
Calculate gradient of volume vector field on the faces.
| iVF | Internal vector field. Allowable values: constant reference to the volVectorField. |
Reimplemented from fvscStencil.
Definition at line 141 of file leastSquaresStencil.C.
References forAll().

|
virtual |
Calculate divergence of volume vector field on the faces.
| iVF | Internal vector field. Allowable values: constant reference to the volVectorField. |
Reimplemented from fvscStencil.
Definition at line 203 of file leastSquaresStencil.C.
References forAll().

|
virtual |
Calculate divergence of volume tensor field on the faces.
| iTF | Internal tensor field. Allowable values: constant reference to the volTensorField. |
Reimplemented from fvscStencil.
Definition at line 238 of file leastSquaresStencil.C.