mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: finiteArea: add/fix comments
STYLE: finiteArea: consistent use of =delete for removed ctors/assignments
This commit is contained in:
committed by
Andrew Heather
parent
9de77857a6
commit
b393d6eca1
@ -69,22 +69,13 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return size. Number of faces
|
//- Return size. Number of faces
|
||||||
static label size(const Mesh& mesh)
|
static label size(const Mesh& mesh) { return mesh.nFaces(); }
|
||||||
{
|
|
||||||
return mesh.nFaces();
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return size. Number of faces
|
//- Return size. Number of faces
|
||||||
label size() const
|
label size() const { return size(mesh_); }
|
||||||
{
|
|
||||||
return size(mesh_);
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Field of face centres
|
//- Field of face centres
|
||||||
const areaVectorField& C() const
|
const areaVectorField& C() const { return mesh_.areaCentres(); }
|
||||||
{
|
|
||||||
return mesh_.areaCentres();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -99,6 +99,7 @@ class faMeshDistributor
|
|||||||
//- Debug: check addressing
|
//- Debug: check addressing
|
||||||
void checkAddressing() const;
|
void checkAddressing() const;
|
||||||
|
|
||||||
|
//- Construct reconstruct mapping
|
||||||
static mapDistributePolyMesh createReconstructMap
|
static mapDistributePolyMesh createReconstructMap
|
||||||
(
|
(
|
||||||
const faMesh& mesh,
|
const faMesh& mesh,
|
||||||
|
|||||||
@ -65,25 +65,17 @@ public:
|
|||||||
GeoMesh<faMesh>(mesh)
|
GeoMesh<faMesh>(mesh)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return size. Number of internal edges
|
//- Return size. Number of internal edges
|
||||||
static label size(const Mesh& mesh)
|
static label size(const Mesh& mesh) { return mesh.nInternalEdges(); }
|
||||||
{
|
|
||||||
return mesh.nInternalEdges();
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return size. Number of internal edges
|
//- Return size. Number of internal edges
|
||||||
label size() const
|
label size() const { return size(mesh_); }
|
||||||
{
|
|
||||||
return size(mesh_);
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Field of edge centres
|
//- Field of edge centres
|
||||||
const edgeVectorField& C() const
|
const edgeVectorField& C() const { return mesh_.edgeCentres(); }
|
||||||
{
|
|
||||||
return mesh_.edgeCentres();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,7 @@ void Foam::faMatrix<Type>::addToInternalField
|
|||||||
{
|
{
|
||||||
FatalErrorInFunction
|
FatalErrorInFunction
|
||||||
<< "addressing (" << addr.size()
|
<< "addressing (" << addr.size()
|
||||||
<< ") and field (" << pf.size() << ") are different sizes" << endl
|
<< ") and field (" << pf.size() << ") are different sizes"
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ void Foam::faMatrix<Type>::subtractFromInternalField
|
|||||||
{
|
{
|
||||||
FatalErrorInFunction
|
FatalErrorInFunction
|
||||||
<< "addressing (" << addr.size()
|
<< "addressing (" << addr.size()
|
||||||
<< ") and field (" << pf.size() << ") are different sizes" << endl
|
<< ") and field (" << pf.size() << ") are different sizes"
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,13 @@ class faGlobalMeshData
|
|||||||
labelList sharedPointAddr_;
|
labelList sharedPointAddr_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
ClassName("faGlobalMeshData");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
faGlobalMeshData(const faGlobalMeshData&) = delete;
|
faGlobalMeshData(const faGlobalMeshData&) = delete;
|
||||||
@ -86,12 +92,6 @@ class faGlobalMeshData
|
|||||||
void operator=(const faGlobalMeshData&) = delete;
|
void operator=(const faGlobalMeshData&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
ClassName("faGlobalMeshData");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -332,12 +332,6 @@ class faMesh
|
|||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faMesh(const faMesh&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faMesh&) = delete;
|
|
||||||
|
|
||||||
//- Set indirect patch, removing any old one.
|
//- Set indirect patch, removing any old one.
|
||||||
// No communication
|
// No communication
|
||||||
void initPatch() const;
|
void initPatch() const;
|
||||||
@ -524,6 +518,15 @@ public:
|
|||||||
static word meshSubDir;
|
static word meshSubDir;
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faMesh(const faMesh&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faMesh&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Read construct from polyMesh, using its IOobject properties
|
//- Read construct from polyMesh, using its IOobject properties
|
||||||
|
|||||||
@ -73,7 +73,9 @@ class faMeshLduAddressing
|
|||||||
const lduSchedule& patchSchedule_;
|
const lduSchedule& patchSchedule_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
faMeshLduAddressing(const faMeshLduAddressing&) = delete;
|
faMeshLduAddressing(const faMeshLduAddressing&) = delete;
|
||||||
@ -82,8 +84,6 @@ class faMeshLduAddressing
|
|||||||
void operator=(const faMeshLduAddressing&) = delete;
|
void operator=(const faMeshLduAddressing&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
|
|||||||
@ -60,7 +60,7 @@ class faAreaMapper
|
|||||||
:
|
:
|
||||||
public morphFieldMapper
|
public morphFieldMapper
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Reference to mesh mapper
|
//- Reference to mesh mapper
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
@ -101,12 +101,6 @@ class faAreaMapper
|
|||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faAreaMapper(const faAreaMapper&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faAreaMapper&) = delete;
|
|
||||||
|
|
||||||
//- Calculate addressing
|
//- Calculate addressing
|
||||||
void calcAddressing() const;
|
void calcAddressing() const;
|
||||||
|
|
||||||
@ -116,6 +110,15 @@ class faAreaMapper
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faAreaMapper(const faAreaMapper&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faAreaMapper&) = delete;
|
||||||
|
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
faAreaMapper
|
faAreaMapper
|
||||||
(
|
(
|
||||||
|
|||||||
@ -63,7 +63,6 @@ Foam::faEdgeMapper::faEdgeMapper
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
mesh_(mesh),
|
mesh_(mesh),
|
||||||
// mpm_(mpm),
|
|
||||||
sizeBeforeMapping_(mesh.nInternalEdges()),
|
sizeBeforeMapping_(mesh.nInternalEdges()),
|
||||||
hasUnmapped_(false),
|
hasUnmapped_(false),
|
||||||
directAddrPtr_(nullptr)
|
directAddrPtr_(nullptr)
|
||||||
|
|||||||
@ -61,14 +61,11 @@ class faEdgeMapper
|
|||||||
:
|
:
|
||||||
public morphFieldMapper
|
public morphFieldMapper
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Reference to mesh
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
//- Reference to mapPolyMesh
|
|
||||||
//const mapPolyMesh& mpm_;
|
|
||||||
|
|
||||||
//- Old mesh size
|
//- Old mesh size
|
||||||
label sizeBeforeMapping_;
|
label sizeBeforeMapping_;
|
||||||
|
|
||||||
@ -83,12 +80,6 @@ class faEdgeMapper
|
|||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faEdgeMapper(const faEdgeMapper&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faEdgeMapper&) = delete;
|
|
||||||
|
|
||||||
//- Calculate addressing
|
//- Calculate addressing
|
||||||
void calcAddressing() const;
|
void calcAddressing() const;
|
||||||
|
|
||||||
@ -98,6 +89,15 @@ class faEdgeMapper
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faEdgeMapper(const faEdgeMapper&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faEdgeMapper&) = delete;
|
||||||
|
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
faEdgeMapper
|
faEdgeMapper
|
||||||
(
|
(
|
||||||
|
|||||||
@ -68,7 +68,7 @@ class mapPolyMesh;
|
|||||||
|
|
||||||
class faMeshMapper
|
class faMeshMapper
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Reference to mesh
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
@ -110,7 +110,9 @@ class faMeshMapper
|
|||||||
faBoundaryMeshMapper boundaryMap_;
|
faBoundaryMeshMapper boundaryMap_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
faMeshMapper(const faMeshMapper&) = delete;
|
faMeshMapper(const faMeshMapper&) = delete;
|
||||||
@ -119,8 +121,6 @@ class faMeshMapper
|
|||||||
void operator=(const faMeshMapper&) = delete;
|
void operator=(const faMeshMapper&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
|
|||||||
@ -64,7 +64,7 @@ class faPatchMapper
|
|||||||
:
|
:
|
||||||
public faPatchFieldMapper
|
public faPatchFieldMapper
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Reference to patch
|
//- Reference to patch
|
||||||
const faPatch& patch_;
|
const faPatch& patch_;
|
||||||
@ -89,13 +89,6 @@ class faPatchMapper
|
|||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faPatchMapper(const faPatchMapper&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faPatchMapper&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
//- Calculate addressing for mapping with inserted cells
|
//- Calculate addressing for mapping with inserted cells
|
||||||
void calcAddressing() const;
|
void calcAddressing() const;
|
||||||
|
|
||||||
@ -105,6 +98,15 @@ class faPatchMapper
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faPatchMapper(const faPatchMapper&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faPatchMapper&) = delete;
|
||||||
|
|
||||||
|
|
||||||
//- Construct from mappers
|
//- Construct from mappers
|
||||||
faPatchMapper
|
faPatchMapper
|
||||||
(
|
(
|
||||||
|
|||||||
@ -102,12 +102,6 @@ protected:
|
|||||||
//- FatalError if subset has not been performed
|
//- FatalError if subset has not been performed
|
||||||
bool checkHasSubMesh() const;
|
bool checkHasSubMesh() const;
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faMeshSubset(const faMeshSubset&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faMeshSubset&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -116,6 +110,14 @@ public:
|
|||||||
//- Name for exposed internal edges (default: oldInternalEdges)
|
//- Name for exposed internal edges (default: oldInternalEdges)
|
||||||
static word exposedPatchName;
|
static word exposedPatchName;
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faMeshSubset(const faMeshSubset&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faMeshSubset&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
|
|||||||
@ -61,6 +61,8 @@ class faSolution
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
faSolution(const faSolution&) = delete;
|
faSolution(const faSolution&) = delete;
|
||||||
|
|
||||||
|
|||||||
@ -68,7 +68,7 @@ class cyclicFaPatchField
|
|||||||
const cyclicFaPatch& cyclicPatch_;
|
const cyclicFaPatch& cyclicPatch_;
|
||||||
|
|
||||||
|
|
||||||
// Private member functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Return neighbour side field given internal fields
|
//- Return neighbour side field given internal fields
|
||||||
template<class Type2>
|
template<class Type2>
|
||||||
|
|||||||
@ -48,7 +48,7 @@ class faPatchFieldMapperPatchRef
|
|||||||
:
|
:
|
||||||
public faPatchFieldMapper
|
public faPatchFieldMapper
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
const faPatch& sourcePatch_;
|
const faPatch& sourcePatch_;
|
||||||
const faPatch& targetPatch_;
|
const faPatch& targetPatch_;
|
||||||
|
|||||||
@ -59,7 +59,7 @@ class cyclicFaePatchField
|
|||||||
:
|
:
|
||||||
public coupledFaePatchField<Type>
|
public coupledFaePatchField<Type>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Local reference cast into the cyclic patch
|
//- Local reference cast into the cyclic patch
|
||||||
const cyclicFaPatch& cyclicPatch_;
|
const cyclicFaPatch& cyclicPatch_;
|
||||||
|
|||||||
@ -48,6 +48,7 @@ SourceFiles
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Forward Declarations
|
||||||
template<class Type>
|
template<class Type>
|
||||||
class faMatrix;
|
class faMatrix;
|
||||||
|
|
||||||
@ -67,20 +68,12 @@ class convectionScheme
|
|||||||
:
|
:
|
||||||
public refCount
|
public refCount
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
convectionScheme(const convectionScheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const convectionScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Declare run-time constructor selection tables
|
// Declare run-time constructor selection tables
|
||||||
@ -99,6 +92,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
convectionScheme(const convectionScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const convectionScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh, flux and Istream
|
//- Construct from mesh, flux and Istream
|
||||||
@ -130,10 +132,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return mesh reference
|
//- Return mesh reference
|
||||||
const faMesh& mesh() const
|
const faMesh& mesh() const noexcept { return mesh_; }
|
||||||
{
|
|
||||||
return mesh_;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual tmp<GeometricField<Type, faePatchField, edgeMesh>> flux
|
virtual tmp<GeometricField<Type, faePatchField, edgeMesh>> flux
|
||||||
(
|
(
|
||||||
|
|||||||
@ -60,26 +60,27 @@ class gaussConvectionScheme
|
|||||||
:
|
:
|
||||||
public fa::convectionScheme<Type>
|
public fa::convectionScheme<Type>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
|
//- Edge-interpolation scheme
|
||||||
tmp<edgeInterpolationScheme<Type>> tinterpScheme_;
|
tmp<edgeInterpolationScheme<Type>> tinterpScheme_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
gaussConvectionScheme(const gaussConvectionScheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const gaussConvectionScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("Gauss");
|
TypeName("Gauss");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
gaussConvectionScheme(const gaussConvectionScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const gaussConvectionScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from flux and interpolation scheme
|
//- Construct from flux and interpolation scheme
|
||||||
|
|||||||
@ -67,12 +67,6 @@ class EulerFaD2dt2Scheme
|
|||||||
//- Return the previous time-step
|
//- Return the previous time-step
|
||||||
scalar deltaT0_() const;
|
scalar deltaT0_() const;
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
EulerFaD2dt2Scheme(const EulerFaD2dt2Scheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const EulerFaD2dt2Scheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -80,6 +74,15 @@ public:
|
|||||||
TypeName("Euler");
|
TypeName("Euler");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
EulerFaD2dt2Scheme(const EulerFaD2dt2Scheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const EulerFaD2dt2Scheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -24,9 +24,6 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Description
|
|
||||||
Abstract base class for finite area d2dt2 schemes.
|
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "fa.H"
|
#include "fa.H"
|
||||||
|
|||||||
@ -49,6 +49,7 @@ SourceFiles
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Forward Declarations
|
||||||
template<class Type>
|
template<class Type>
|
||||||
class faMatrix;
|
class faMatrix;
|
||||||
|
|
||||||
@ -68,23 +69,14 @@ class faD2dt2Scheme
|
|||||||
:
|
:
|
||||||
public refCount
|
public refCount
|
||||||
{
|
{
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
// Protected data
|
// Protected Data
|
||||||
|
|
||||||
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faD2dt2Scheme(const faD2dt2Scheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faD2dt2Scheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
@ -103,6 +95,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faD2dt2Scheme(const faD2dt2Scheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faD2dt2Scheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -135,10 +136,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return mesh reference
|
//- Return mesh reference
|
||||||
const faMesh& mesh() const
|
const faMesh& mesh() const noexcept { return mesh_; }
|
||||||
{
|
|
||||||
return mesh_;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual tmp<GeometricField<Type, faPatchField, areaMesh>> facD2dt2
|
virtual tmp<GeometricField<Type, faPatchField, areaMesh>> facD2dt2
|
||||||
(
|
(
|
||||||
|
|||||||
@ -59,7 +59,13 @@ class EulerFaDdtScheme
|
|||||||
:
|
:
|
||||||
public fa::faDdtScheme<Type>
|
public fa::faDdtScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("Euler");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
EulerFaDdtScheme(const EulerFaDdtScheme&) = delete;
|
EulerFaDdtScheme(const EulerFaDdtScheme&) = delete;
|
||||||
@ -68,12 +74,6 @@ class EulerFaDdtScheme
|
|||||||
void operator=(const EulerFaDdtScheme&) = delete;
|
void operator=(const EulerFaDdtScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
TypeName("Euler");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -72,12 +72,6 @@ class backwardFaDdtScheme
|
|||||||
template<class GeoField>
|
template<class GeoField>
|
||||||
scalar deltaT0_(const GeoField&) const;
|
scalar deltaT0_(const GeoField&) const;
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
backwardFaDdtScheme(const backwardFaDdtScheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const backwardFaDdtScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -85,6 +79,15 @@ public:
|
|||||||
TypeName("backward");
|
TypeName("backward");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
backwardFaDdtScheme(const backwardFaDdtScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const backwardFaDdtScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -83,6 +83,14 @@ class boundedBackwardFaDdtScheme
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("boundedBackward");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
boundedBackwardFaDdtScheme(const boundedBackwardFaDdtScheme&) = delete;
|
boundedBackwardFaDdtScheme(const boundedBackwardFaDdtScheme&) = delete;
|
||||||
|
|
||||||
@ -90,12 +98,6 @@ class boundedBackwardFaDdtScheme
|
|||||||
void operator=(const boundedBackwardFaDdtScheme&) = delete;
|
void operator=(const boundedBackwardFaDdtScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
TypeName("boundedBackward");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -49,6 +49,7 @@ SourceFiles
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Forward Declarations
|
||||||
template<class Type>
|
template<class Type>
|
||||||
class faMatrix;
|
class faMatrix;
|
||||||
|
|
||||||
@ -68,23 +69,14 @@ class faDdtScheme
|
|||||||
:
|
:
|
||||||
public refCount
|
public refCount
|
||||||
{
|
{
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
// Protected data
|
// Protected Data
|
||||||
|
|
||||||
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faDdtScheme(const faDdtScheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faDdtScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
@ -103,6 +95,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faDdtScheme(const faDdtScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faDdtScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -135,10 +136,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return mesh reference
|
//- Return mesh reference
|
||||||
const faMesh& mesh() const
|
const faMesh& mesh() const noexcept { return mesh_; }
|
||||||
{
|
|
||||||
return mesh_;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual tmp<GeometricField<Type, faPatchField, areaMesh>> facDdt
|
virtual tmp<GeometricField<Type, faPatchField, areaMesh>> facDdt
|
||||||
(
|
(
|
||||||
|
|||||||
@ -58,7 +58,13 @@ class steadyStateFaDdtScheme
|
|||||||
:
|
:
|
||||||
public fa::faDdtScheme<Type>
|
public fa::faDdtScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("steadyState");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
steadyStateFaDdtScheme(const steadyStateFaDdtScheme&) = delete;
|
steadyStateFaDdtScheme(const steadyStateFaDdtScheme&) = delete;
|
||||||
@ -67,12 +73,6 @@ class steadyStateFaDdtScheme
|
|||||||
void operator=(const steadyStateFaDdtScheme&) = delete;
|
void operator=(const steadyStateFaDdtScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
TypeName("steadyState");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -72,20 +72,13 @@ protected:
|
|||||||
|
|
||||||
// Protected Data
|
// Protected Data
|
||||||
|
|
||||||
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
|
//- Edge interpolation scheme
|
||||||
tmp<edgeInterpolationScheme<Type>> tinterpScheme_;
|
tmp<edgeInterpolationScheme<Type>> tinterpScheme_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
divScheme(const divScheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const divScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Declare run-time constructor selection tables
|
// Declare run-time constructor selection tables
|
||||||
@ -100,6 +93,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
divScheme(const divScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const divScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -148,10 +150,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return mesh reference
|
//- Return mesh reference
|
||||||
const faMesh& mesh() const
|
const faMesh& mesh() const noexcept { return mesh_; }
|
||||||
{
|
|
||||||
return mesh_;
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual tmp
|
virtual tmp
|
||||||
<
|
<
|
||||||
|
|||||||
@ -59,7 +59,13 @@ class gaussDivScheme
|
|||||||
:
|
:
|
||||||
public fa::divScheme<Type>
|
public fa::divScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("Gauss");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
gaussDivScheme(const gaussDivScheme&) = delete;
|
gaussDivScheme(const gaussDivScheme&) = delete;
|
||||||
@ -68,12 +74,6 @@ class gaussDivScheme
|
|||||||
void operator=(const gaussDivScheme&) = delete;
|
void operator=(const gaussDivScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
TypeName("Gauss");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -61,6 +61,8 @@ class faSchemes
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
faSchemes(const faSchemes&) = delete;
|
faSchemes(const faSchemes&) = delete;
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,6 @@ SourceFiles
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef facAverage_H
|
#ifndef facAverage_H
|
||||||
#define facAverage_H
|
#define facAverage_H
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,6 @@ Author
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef facDdt_H
|
#ifndef facDdt_H
|
||||||
#define facDdt_H
|
#define facDdt_H
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,6 @@ SourceFiles
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef facDiv_H
|
#ifndef facDiv_H
|
||||||
#define facDiv_H
|
#define facDiv_H
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,6 @@ SourceFiles
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef facEdgeIntegrate_H
|
#ifndef facEdgeIntegrate_H
|
||||||
#define facEdgeIntegrate_H
|
#define facEdgeIntegrate_H
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,6 @@ SourceFiles
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef facGrad_H
|
#ifndef facGrad_H
|
||||||
#define facGrad_H
|
#define facGrad_H
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,6 @@ SourceFiles
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef facLaplacian_H
|
#ifndef facLaplacian_H
|
||||||
#define facLaplacian_H
|
#define facLaplacian_H
|
||||||
|
|
||||||
|
|||||||
@ -34,7 +34,6 @@ SourceFiles
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef facLnGrad_H
|
#ifndef facLnGrad_H
|
||||||
#define facLnGrad_H
|
#define facLnGrad_H
|
||||||
|
|
||||||
|
|||||||
@ -50,6 +50,7 @@ SourceFiles
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Forward Declarations
|
||||||
class faMesh;
|
class faMesh;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -66,20 +67,12 @@ class gradScheme
|
|||||||
:
|
:
|
||||||
public refCount
|
public refCount
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
gradScheme(const gradScheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const gradScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Declare run-time constructor selection tables
|
// Declare run-time constructor selection tables
|
||||||
@ -94,6 +87,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
gradScheme(const gradScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const gradScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -120,7 +122,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return mesh reference
|
//- Return mesh reference
|
||||||
const faMesh& mesh() const { return mesh_; }
|
const faMesh& mesh() const noexcept { return mesh_; }
|
||||||
|
|
||||||
//- Calculate and return the grad of the given field.
|
//- Calculate and return the grad of the given field.
|
||||||
// Used by grad either to recalculate the cached gradient when it is
|
// Used by grad either to recalculate the cached gradient when it is
|
||||||
|
|||||||
@ -69,7 +69,13 @@ class gaussGrad
|
|||||||
tmp<edgeInterpolationScheme<Type>> tinterpScheme_;
|
tmp<edgeInterpolationScheme<Type>> tinterpScheme_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("Gauss");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
gaussGrad(const gaussGrad&) = delete;
|
gaussGrad(const gaussGrad&) = delete;
|
||||||
@ -78,12 +84,6 @@ class gaussGrad
|
|||||||
void operator=(const gaussGrad&) = delete;
|
void operator=(const gaussGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
TypeName("Gauss");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -62,7 +62,13 @@ class leastSquaresFaGrad
|
|||||||
:
|
:
|
||||||
public fa::gradScheme<Type>
|
public fa::gradScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("leastSquares");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
leastSquaresFaGrad(const leastSquaresFaGrad&) = delete;
|
leastSquaresFaGrad(const leastSquaresFaGrad&) = delete;
|
||||||
@ -71,12 +77,6 @@ class leastSquaresFaGrad
|
|||||||
void operator=(const leastSquaresFaGrad&) = delete;
|
void operator=(const leastSquaresFaGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
TypeName("leastSquares");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -58,14 +58,14 @@ class leastSquaresFaVectors
|
|||||||
:
|
:
|
||||||
public MeshObject<faMesh, Foam::MoveableMeshObject, leastSquaresFaVectors>
|
public MeshObject<faMesh, Foam::MoveableMeshObject, leastSquaresFaVectors>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Least-squares gradient vectors
|
//- Least-squares gradient vectors
|
||||||
mutable edgeVectorField* pVectorsPtr_;
|
mutable edgeVectorField* pVectorsPtr_;
|
||||||
mutable edgeVectorField* nVectorsPtr_;
|
mutable edgeVectorField* nVectorsPtr_;
|
||||||
|
|
||||||
|
|
||||||
// Private member functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Construct Least-squares gradient vectors
|
//- Construct Least-squares gradient vectors
|
||||||
void makeLeastSquaresVectors() const;
|
void makeLeastSquaresVectors() const;
|
||||||
|
|||||||
@ -66,6 +66,7 @@ class edgeLimitedGrad
|
|||||||
{
|
{
|
||||||
// Private Data
|
// Private Data
|
||||||
|
|
||||||
|
//- Basic gradient scheme
|
||||||
tmp<fa::gradScheme<Type>> basicGradScheme_;
|
tmp<fa::gradScheme<Type>> basicGradScheme_;
|
||||||
|
|
||||||
//- Limiter coefficient
|
//- Limiter coefficient
|
||||||
@ -83,6 +84,14 @@ class edgeLimitedGrad
|
|||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
//- RunTime type information
|
||||||
|
TypeName("edgeLimited");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
edgeLimitedGrad(const edgeLimitedGrad&) = delete;
|
edgeLimitedGrad(const edgeLimitedGrad&) = delete;
|
||||||
|
|
||||||
@ -90,12 +99,6 @@ class edgeLimitedGrad
|
|||||||
void operator=(const edgeLimitedGrad&) = delete;
|
void operator=(const edgeLimitedGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- RunTime type information
|
|
||||||
TypeName("edgeLimited");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh and schemeData
|
//- Construct from mesh and schemeData
|
||||||
|
|||||||
@ -69,13 +69,20 @@ class faceLimitedGrad
|
|||||||
{
|
{
|
||||||
// Private Data
|
// Private Data
|
||||||
|
|
||||||
|
//- Basic gradient scheme
|
||||||
tmp<fa::gradScheme<Type>> basicGradScheme_;
|
tmp<fa::gradScheme<Type>> basicGradScheme_;
|
||||||
|
|
||||||
//- Limiter coefficient
|
//- Limiter coefficient
|
||||||
scalar k_;
|
scalar k_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- RunTime type information
|
||||||
|
TypeName("faceLimited");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
faceLimitedGrad(const faceLimitedGrad&) = delete;
|
faceLimitedGrad(const faceLimitedGrad&) = delete;
|
||||||
@ -84,12 +91,6 @@ class faceLimitedGrad
|
|||||||
void operator=(const faceLimitedGrad&) = delete;
|
void operator=(const faceLimitedGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- RunTime type information
|
|
||||||
TypeName("faceLimited");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh and schemeData
|
//- Construct from mesh and schemeData
|
||||||
|
|||||||
@ -79,15 +79,6 @@ protected:
|
|||||||
tmp<lnGradScheme<Type>> tlnGradScheme_;
|
tmp<lnGradScheme<Type>> tlnGradScheme_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
laplacianScheme(const laplacianScheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const laplacianScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Declare run-time constructor selection tables
|
// Declare run-time constructor selection tables
|
||||||
@ -102,6 +93,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
laplacianScheme(const laplacianScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const laplacianScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -59,7 +59,13 @@ class gaussLaplacianScheme
|
|||||||
:
|
:
|
||||||
public fa::laplacianScheme<Type>
|
public fa::laplacianScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Runtime type information
|
||||||
|
TypeName("Gauss");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
gaussLaplacianScheme(const gaussLaplacianScheme&) = delete;
|
gaussLaplacianScheme(const gaussLaplacianScheme&) = delete;
|
||||||
@ -68,12 +74,6 @@ class gaussLaplacianScheme
|
|||||||
void operator=(const gaussLaplacianScheme&) = delete;
|
void operator=(const gaussLaplacianScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Runtime type information
|
|
||||||
TypeName("Gauss");
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -58,18 +58,21 @@ class correctedLnGrad
|
|||||||
:
|
:
|
||||||
public lnGradScheme<Type>
|
public lnGradScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const correctedLnGrad&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("corrected");
|
TypeName("corrected");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
correctedLnGrad(const correctedLnGrad&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const correctedLnGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -58,18 +58,21 @@ class fourthLnGrad
|
|||||||
:
|
:
|
||||||
public lnGradScheme<Type>
|
public lnGradScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const fourthLnGrad&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("fourth");
|
TypeName("fourth");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
fourthLnGrad(const fourthLnGrad&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const fourthLnGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -102,10 +105,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
//- Return true if this scheme uses an explicit correction
|
//- Return true if this scheme uses an explicit correction
|
||||||
virtual bool corrected() const
|
virtual bool corrected() const { return true; }
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return the explicit correction to the fourthLnGrad
|
//- Return the explicit correction to the fourthLnGrad
|
||||||
// for the given field
|
// for the given field
|
||||||
|
|||||||
@ -72,7 +72,7 @@ limitedLnGrad<Type>::correction
|
|||||||
(1 - limitCoeff_)*mag(corr)
|
(1 - limitCoeff_)*mag(corr)
|
||||||
+ dimensionedScalar("small", corr.dimensions(), SMALL)
|
+ dimensionedScalar("small", corr.dimensions(), SMALL)
|
||||||
),
|
),
|
||||||
dimensionedScalar("one", dimless, 1.0)
|
dimensionedScalar(dimless, Foam::one{})
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@ -68,24 +68,27 @@ class limitedLnGrad
|
|||||||
:
|
:
|
||||||
public lnGradScheme<Type>
|
public lnGradScheme<Type>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Limiter. 0 = no limiting, 1 = full limiting
|
//- Limiter. 0 = no limiting, 1 = full limiting
|
||||||
scalar limitCoeff_;
|
scalar limitCoeff_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const limitedLnGrad&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("limited");
|
TypeName("limited");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
limitedLnGrad(const limitedLnGrad&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const limitedLnGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -48,6 +48,7 @@ SourceFiles
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Forward Declarations
|
||||||
class faMesh;
|
class faMesh;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
@ -64,18 +65,12 @@ class lnGradScheme
|
|||||||
:
|
:
|
||||||
public refCount
|
public refCount
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Hold reference to mesh
|
//- Hold reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const lnGradScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Declare run-time constructor selection tables
|
// Declare run-time constructor selection tables
|
||||||
@ -90,6 +85,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
lnGradScheme(const lnGradScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const lnGradScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -116,10 +120,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return mesh reference
|
//- Return mesh reference
|
||||||
const faMesh& mesh() const
|
const faMesh& mesh() const noexcept { return mesh_; }
|
||||||
{
|
|
||||||
return mesh_;
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return the lnGrad of the given cell field
|
//- Return the lnGrad of the given cell field
|
||||||
// with the given weighting factors
|
// with the given weighting factors
|
||||||
@ -138,10 +139,7 @@ public:
|
|||||||
) const = 0;
|
) const = 0;
|
||||||
|
|
||||||
//- Return true if this scheme uses an explicit correction
|
//- Return true if this scheme uses an explicit correction
|
||||||
virtual bool corrected() const
|
virtual bool corrected() const { return false; }
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return the explicit correction to the lnGrad
|
//- Return the explicit correction to the lnGrad
|
||||||
// for the given field
|
// for the given field
|
||||||
|
|||||||
@ -58,18 +58,21 @@ class uncorrectedLnGrad
|
|||||||
:
|
:
|
||||||
public lnGradScheme<Type>
|
public lnGradScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const uncorrectedLnGrad&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("uncorrected");
|
TypeName("uncorrected");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
uncorrectedLnGrad(const uncorrectedLnGrad&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const uncorrectedLnGrad&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -101,10 +104,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
//- Return true if this scheme uses an explicit correction
|
//- Return true if this scheme uses an explicit correction
|
||||||
virtual bool corrected() const
|
virtual bool corrected() const { return false; }
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return the explicit correction to the uncorrectedLnGrad
|
//- Return the explicit correction to the uncorrectedLnGrad
|
||||||
//- for the given field
|
//- for the given field
|
||||||
|
|||||||
@ -100,14 +100,14 @@ Foam::fac::interpolate
|
|||||||
Istream& schemeData
|
Istream& schemeData
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
# ifdef DEBUGInterpolations
|
#ifdef DEBUGInterpolations
|
||||||
if (edgeInterpolation::debug)
|
if (edgeInterpolation::debug)
|
||||||
{
|
{
|
||||||
InfoInFunction
|
InfoInFunction
|
||||||
<< "interpolating GeometricField<Type, faPatchField, areaMesh> "
|
<< "interpolating GeometricField<Type, faPatchField, areaMesh> "
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
return scheme<Type>(faceFlux, schemeData)().interpolate(vf);
|
return scheme<Type>(faceFlux, schemeData)().interpolate(vf);
|
||||||
}
|
}
|
||||||
@ -122,7 +122,7 @@ Foam::fac::interpolate
|
|||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
# ifdef DEBUGInterpolations
|
#ifdef DEBUGInterpolations
|
||||||
if (edgeInterpolation::debug)
|
if (edgeInterpolation::debug)
|
||||||
{
|
{
|
||||||
InfoInFunction
|
InfoInFunction
|
||||||
@ -130,7 +130,7 @@ Foam::fac::interpolate
|
|||||||
<< "using " << name
|
<< "using " << name
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
return scheme<Type>(faceFlux, name)().interpolate(vf);
|
return scheme<Type>(faceFlux, name)().interpolate(vf);
|
||||||
}
|
}
|
||||||
@ -199,14 +199,14 @@ Foam::fac::interpolate
|
|||||||
Istream& schemeData
|
Istream& schemeData
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
# ifdef DEBUGInterpolations
|
#ifdef DEBUGInterpolations
|
||||||
if (edgeInterpolation::debug)
|
if (edgeInterpolation::debug)
|
||||||
{
|
{
|
||||||
InfoInFunction
|
InfoInFunction
|
||||||
<< "interpolating GeometricField<Type, faPatchField, areaMesh> "
|
<< "interpolating GeometricField<Type, faPatchField, areaMesh> "
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
return scheme<Type>(vf.mesh(), schemeData)().interpolate(vf);
|
return scheme<Type>(vf.mesh(), schemeData)().interpolate(vf);
|
||||||
}
|
}
|
||||||
@ -220,7 +220,7 @@ Foam::fac::interpolate
|
|||||||
const word& name
|
const word& name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
# ifdef DEBUGInterpolations
|
#ifdef DEBUGInterpolations
|
||||||
if (edgeInterpolation::debug)
|
if (edgeInterpolation::debug)
|
||||||
{
|
{
|
||||||
InfoInFunction
|
InfoInFunction
|
||||||
@ -228,7 +228,7 @@ Foam::fac::interpolate
|
|||||||
<< "using " << name
|
<< "using " << name
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
return scheme<Type>(vf.mesh(), name)().interpolate(vf);
|
return scheme<Type>(vf.mesh(), name)().interpolate(vf);
|
||||||
}
|
}
|
||||||
@ -257,7 +257,7 @@ Foam::fac::interpolate
|
|||||||
const GeometricField<Type, faPatchField, areaMesh>& vf
|
const GeometricField<Type, faPatchField, areaMesh>& vf
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
# ifdef DEBUGInterpolations
|
#ifdef DEBUGInterpolations
|
||||||
if (edgeInterpolation::debug)
|
if (edgeInterpolation::debug)
|
||||||
{
|
{
|
||||||
InfoInFunction
|
InfoInFunction
|
||||||
@ -265,7 +265,7 @@ Foam::fac::interpolate
|
|||||||
<< "using run-time selected scheme"
|
<< "using run-time selected scheme"
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
return interpolate(vf, "interpolate(" + vf.name() + ')');
|
return interpolate(vf, "interpolate(" + vf.name() + ')');
|
||||||
}
|
}
|
||||||
|
|||||||
@ -129,6 +129,15 @@ public:
|
|||||||
ClassName("edgeInterpolation");
|
ClassName("edgeInterpolation");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
edgeInterpolation(const edgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const edgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct given an faMesh
|
//- Construct given an faMesh
|
||||||
@ -142,10 +151,7 @@ public:
|
|||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
//- Return mesh reference
|
//- Return mesh reference
|
||||||
const faMesh& mesh() const noexcept
|
const faMesh& mesh() const noexcept { return faMesh_; }
|
||||||
{
|
|
||||||
return faMesh_;
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return reference to PN geodesic distance
|
//- Return reference to PN geodesic distance
|
||||||
const edgeScalarField& lPN() const;
|
const edgeScalarField& lPN() const;
|
||||||
|
|||||||
@ -59,18 +59,12 @@ class edgeInterpolationScheme
|
|||||||
:
|
:
|
||||||
public refCount
|
public refCount
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
//- Hold reference to mesh
|
//- Reference to mesh
|
||||||
const faMesh& mesh_;
|
const faMesh& mesh_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const edgeInterpolationScheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Declare run-time constructor selection tables
|
// Declare run-time constructor selection tables
|
||||||
@ -101,6 +95,15 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Private Member Functions
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
edgeInterpolationScheme(const edgeInterpolationScheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const edgeInterpolationScheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
@ -179,10 +182,7 @@ public:
|
|||||||
) const = 0;
|
) const = 0;
|
||||||
|
|
||||||
//- Return true if this scheme uses an explicit correction
|
//- Return true if this scheme uses an explicit correction
|
||||||
virtual bool corrected() const
|
virtual bool corrected() const { return false; }
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
//- Return the explicit correction to the face-interpolate
|
//- Return the explicit correction to the face-interpolate
|
||||||
// for the given field
|
// for the given field
|
||||||
|
|||||||
@ -54,8 +54,12 @@ namespace Foam
|
|||||||
|
|
||||||
class GammaWeight
|
class GammaWeight
|
||||||
{
|
{
|
||||||
|
// Private Data
|
||||||
|
|
||||||
|
//- Model coefficient [0,1]
|
||||||
scalar k_;
|
scalar k_;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
GammaWeight(Istream& is)
|
GammaWeight(Istream& is)
|
||||||
|
|||||||
@ -72,14 +72,6 @@ protected:
|
|||||||
|
|
||||||
const edgeScalarField& edgeFlux_;
|
const edgeScalarField& edgeFlux_;
|
||||||
|
|
||||||
// Protected Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faNVDscheme(const faNVDscheme&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faNVDscheme&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -91,6 +83,15 @@ public:
|
|||||||
TypeName("faNVDscheme");
|
TypeName("faNVDscheme");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faNVDscheme(const faNVDscheme&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faNVDscheme&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh and edgeFlux and blendingFactor
|
//- Construct from mesh and edgeFlux and blendingFactor
|
||||||
|
|||||||
@ -56,26 +56,27 @@ class blendedEdgeInterpolation
|
|||||||
public linearEdgeInterpolation<Type>,
|
public linearEdgeInterpolation<Type>,
|
||||||
public upwindEdgeInterpolation<Type>
|
public upwindEdgeInterpolation<Type>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
|
//- Blending factor
|
||||||
const scalar blendingFactor_;
|
const scalar blendingFactor_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
blendedEdgeInterpolation(const blendedEdgeInterpolation&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const blendedEdgeInterpolation&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("blended");
|
TypeName("blended");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
blendedEdgeInterpolation(const blendedEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const blendedEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh, faceFlux and blendingFactor
|
//- Construct from mesh, faceFlux and blendingFactor
|
||||||
|
|||||||
@ -67,18 +67,22 @@ class leastSquaresEdgeInterpolation
|
|||||||
:
|
:
|
||||||
virtual public edgeInterpolationScheme<Type>
|
virtual public edgeInterpolationScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const leastSquaresEdgeInterpolation&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("leastSquares");
|
TypeName("leastSquares");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
leastSquaresEdgeInterpolation(const leastSquaresEdgeInterpolation&)
|
||||||
|
= delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const leastSquaresEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -54,17 +54,21 @@ class linearEdgeInterpolation
|
|||||||
:
|
:
|
||||||
virtual public edgeInterpolationScheme<Type>
|
virtual public edgeInterpolationScheme<Type>
|
||||||
{
|
{
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const linearEdgeInterpolation&) = delete;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("linear");
|
TypeName("linear");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
linearEdgeInterpolation(const linearEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const linearEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh
|
//- Construct from mesh
|
||||||
|
|||||||
@ -58,9 +58,17 @@ namespace Foam
|
|||||||
|
|
||||||
class linearUpwindWeight
|
class linearUpwindWeight
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
linearUpwindWeight(const linearUpwindWeight&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const linearUpwindWeight&) = delete;
|
||||||
|
|
||||||
|
|
||||||
linearUpwindWeight(Istream&)
|
linearUpwindWeight(Istream&)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
@ -60,6 +60,7 @@ class skewCorrectedEdgeInterpolation
|
|||||||
{
|
{
|
||||||
// Private Data
|
// Private Data
|
||||||
|
|
||||||
|
//- Edge-interpolation scheme
|
||||||
tmp<edgeInterpolationScheme<Type>> tScheme_;
|
tmp<edgeInterpolationScheme<Type>> tScheme_;
|
||||||
|
|
||||||
|
|
||||||
@ -69,6 +70,16 @@ public:
|
|||||||
TypeName("skewCorrected");
|
TypeName("skewCorrected");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
skewCorrectedEdgeInterpolation(const skewCorrectedEdgeInterpolation&)
|
||||||
|
= delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const skewCorrectedEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from Istream
|
//- Construct from Istream
|
||||||
@ -96,13 +107,6 @@ public:
|
|||||||
)
|
)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
skewCorrectedEdgeInterpolation(const skewCorrectedEdgeInterpolation&) =
|
|
||||||
delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const skewCorrectedEdgeInterpolation&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|
||||||
|
|||||||
@ -55,23 +55,27 @@ class upwindEdgeInterpolation
|
|||||||
:
|
:
|
||||||
virtual public edgeInterpolationScheme<Type>
|
virtual public edgeInterpolationScheme<Type>
|
||||||
{
|
{
|
||||||
// Private data
|
// Private Data
|
||||||
|
|
||||||
|
//- Face flux
|
||||||
const edgeScalarField& faceFlux_;
|
const edgeScalarField& faceFlux_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const upwindEdgeInterpolation&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("upwind");
|
TypeName("upwind");
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
upwindEdgeInterpolation(const upwindEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const upwindEdgeInterpolation&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from faceFlux
|
//- Construct from faceFlux
|
||||||
|
|||||||
@ -85,6 +85,11 @@ class ensightFaMesh
|
|||||||
//- Enforce consistent index/part numbering
|
//- Enforce consistent index/part numbering
|
||||||
void renumber();
|
void renumber();
|
||||||
|
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
ensightFaMesh(const ensightFaMesh&) = delete;
|
ensightFaMesh(const ensightFaMesh&) = delete;
|
||||||
|
|
||||||
@ -92,8 +97,6 @@ class ensightFaMesh
|
|||||||
void operator=(const ensightFaMesh&) = delete;
|
void operator=(const ensightFaMesh&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from mesh with all default options
|
//- Construct from mesh with all default options
|
||||||
|
|||||||
Reference in New Issue
Block a user