All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
leastSquaresBase Class Reference
Inheritance diagram for leastSquaresBase:
Inheritance graph
[legend]

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_
 

Detailed Description

Definition at line 42 of file leastSquaresBase.H.

Member Typedef Documentation

using List2 = List<List<T> >
protected

Definition at line 52 of file leastSquaresBase.H.

using List3 = List2<List<T> >
protected

Definition at line 55 of file leastSquaresBase.H.

using labelHashTable = HashTable<T,label,Hash<label>>
protected

Definition at line 58 of file leastSquaresBase.H.

typedef HashSet<label,Hash<label> > labelHashSet
protected

Definition at line 61 of file leastSquaresBase.H.

using Triple = FixedList<T,3>
protected

Definition at line 64 of file leastSquaresBase.H.

Constructor & Destructor Documentation

leastSquaresBase ( const fvMesh &  mesh)

Definition at line 28 of file leastSquaresBase.C.

Definition at line 37 of file leastSquaresBase.C.

Member Function Documentation

void findNeighbours ( )
protected
void calculateWeights ( )
protected

Member Data Documentation

labelListList neighbourCells_
protected
List2<vector> GdfAll_
protected
List2<scalar> wf2All_
protected
DynamicList<label> internalDegFaces_
protected

Definition at line 78 of file leastSquaresBase.H.

Referenced by leastSquaresBase::calculateWeights(), and leastSquares::Grad().

List<label> procPairs_
protected
List<label> neigProcs_
protected
labelHashTable<label> idProcPatchPairs_
protected

Definition at line 84 of file leastSquaresBase.H.

Referenced by leastSquaresBase::findNeighbours().

label nProcPatches_
protected
List3<vector> procGdf_
protected
List3<scalar> procWf2_
protected
List3<label> myProcPatchCells_
protected
List2<label> ownEnd_
protected

Definition at line 93 of file leastSquaresBase.H.

Referenced by leastSquaresBase::findNeighbours(), and leastSquares::Grad().

List2<label> neiStart_
protected
List2<label> neiEnd_
protected

Definition at line 95 of file leastSquaresBase.H.

Referenced by leastSquaresBase::findNeighbours(), and leastSquares::Grad().

List2<label> corStart_
protected
List2<label> corEnd_
protected
labelHashTable<List<label> > pointCells_
protected

Definition at line 101 of file leastSquaresBase.H.

Referenced by leastSquaresBase::findNeighbours().

labelHashTable<label> cellProc_
protected

Definition at line 102 of file leastSquaresBase.H.

Referenced by leastSquaresBase::findNeighbours().

List2<Triple<label> > corAddr_
protected
List2<label> corCellIds_
protected
labelHashTable<label> corProcIds_
protected
List<DynamicList<label> > procDegFaces_
protected

Definition at line 109 of file leastSquaresBase.H.

Referenced by leastSquaresBase::calculateWeights(), and leastSquares::Grad().


The documentation for this class was generated from the following files: