mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updated member type comments
Resolves bug-report http://bugs.openfoam.org/view.php?id=2356
This commit is contained in:
@ -34,7 +34,7 @@ namespace Foam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::scalar Foam::ODESolver::normalizeError
|
Foam::scalar Foam::ODESolver::normalizeError
|
||||||
(
|
(
|
||||||
|
|||||||
@ -25,7 +25,7 @@ License
|
|||||||
|
|
||||||
#include "DictionaryBase.H"
|
#include "DictionaryBase.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class IDLListType, class T>
|
template<class IDLListType, class T>
|
||||||
void Foam::DictionaryBase<IDLListType, T>::addEntries()
|
void Foam::DictionaryBase<IDLListType, T>::addEntries()
|
||||||
|
|||||||
@ -241,6 +241,7 @@ private:
|
|||||||
const label index
|
const label index
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
// Protected data
|
// Protected data
|
||||||
|
|||||||
@ -78,7 +78,7 @@ const int Foam::Time::maxPrecision_(3 - log10(SMALL));
|
|||||||
Foam::word Foam::Time::controlDictName("controlDict");
|
Foam::word Foam::Time::controlDictName("controlDict");
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::Time::adjustDeltaT()
|
void Foam::Time::adjustDeltaT()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -59,6 +59,7 @@ SourceFiles
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
// Forward declaration of classes
|
// Forward declaration of classes
|
||||||
class argList;
|
class argList;
|
||||||
|
|
||||||
@ -86,6 +87,7 @@ class Time
|
|||||||
//- The controlDict
|
//- The controlDict
|
||||||
IOdictionary controlDict_;
|
IOdictionary controlDict_;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Write control options
|
//- Write control options
|
||||||
|
|||||||
@ -278,6 +278,8 @@ void Foam::codedBase::createLibrary
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::codedBase::updateLibrary
|
void Foam::codedBase::updateLibrary
|
||||||
(
|
(
|
||||||
const word& name
|
const word& name
|
||||||
@ -350,7 +352,4 @@ Foam::codedBase::~codedBase()
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -43,7 +43,7 @@ namespace Foam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::GAMGAgglomeration::compactLevels(const label nCreatedLevels)
|
void Foam::GAMGAgglomeration::compactLevels(const label nCreatedLevels)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -33,11 +33,11 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
defineTypeNameAndDebug(mapDistributeBase, 0);
|
defineTypeNameAndDebug(mapDistributeBase, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::List<Foam::labelPair> Foam::mapDistributeBase::schedule
|
Foam::List<Foam::labelPair> Foam::mapDistributeBase::schedule
|
||||||
(
|
(
|
||||||
|
|||||||
@ -51,7 +51,7 @@ namespace Foam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::coupledPolyPatch::writeOBJ(Ostream& os, const point& pt)
|
void Foam::coupledPolyPatch::writeOBJ(Ostream& os, const point& pt)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -38,7 +38,8 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(polyPatch, wedgePolyPatch, dictionary);
|
addToRunTimeSelectionTable(polyPatch, wedgePolyPatch, dictionary);
|
||||||
}
|
}
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::wedgePolyPatch::calcGeometry(PstreamBuffers&)
|
void Foam::wedgePolyPatch::calcGeometry(PstreamBuffers&)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -43,7 +43,8 @@ namespace Foam
|
|||||||
|
|
||||||
const char* const Foam::faceZone::labelsName = "faceLabels";
|
const char* const Foam::faceZone::labelsName = "faceLabels";
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::faceZone::calcFaceZonePatch() const
|
void Foam::faceZone::calcFaceZonePatch() const
|
||||||
{
|
{
|
||||||
|
|||||||
@ -27,7 +27,7 @@ License
|
|||||||
#include "Time.H"
|
#include "Time.H"
|
||||||
#include "interpolationWeights.H"
|
#include "interpolationWeights.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
const Foam::interpolationWeights&
|
const Foam::interpolationWeights&
|
||||||
|
|||||||
@ -104,6 +104,9 @@ protected:
|
|||||||
//- Return (demand driven) interpolator
|
//- Return (demand driven) interpolator
|
||||||
const interpolationWeights& interpolator() const;
|
const interpolationWeights& interpolator() const;
|
||||||
|
|
||||||
|
|
||||||
|
private:
|
||||||
|
|
||||||
//- Disallow default bitwise assignment
|
//- Disallow default bitwise assignment
|
||||||
void operator=(const TableBase<Type>&);
|
void operator=(const TableBase<Type>&);
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -112,7 +112,7 @@ class kkLOmega
|
|||||||
:
|
:
|
||||||
public eddyViscosity<incompressible::RASModel>
|
public eddyViscosity<incompressible::RASModel>
|
||||||
{
|
{
|
||||||
// Private memmber functions
|
// Private member functions
|
||||||
|
|
||||||
tmp<volScalarField> fv(const volScalarField& Ret) const;
|
tmp<volScalarField> fv(const volScalarField& Ret) const;
|
||||||
|
|
||||||
|
|||||||
@ -41,7 +41,7 @@ namespace RASModels
|
|||||||
defineTypeNameAndDebug(qZeta, 0);
|
defineTypeNameAndDebug(qZeta, 0);
|
||||||
addToRunTimeSelectionTable(RASModel, qZeta, dictionary);
|
addToRunTimeSelectionTable(RASModel, qZeta, dictionary);
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * * //
|
||||||
|
|
||||||
tmp<volScalarField> qZeta::fMu() const
|
tmp<volScalarField> qZeta::fMu() const
|
||||||
{
|
{
|
||||||
|
|||||||
@ -33,7 +33,7 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class TurbulenceModel, class BasicTurbulenceModel>
|
template<class TurbulenceModel, class BasicTurbulenceModel>
|
||||||
tmp<volScalarField>
|
tmp<volScalarField>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -87,8 +87,6 @@ tmp<volScalarField> SpalartAllmarasIDDES<BasicTurbulenceModel>::rd
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
|
||||||
|
|
||||||
template<class BasicTurbulenceModel>
|
template<class BasicTurbulenceModel>
|
||||||
tmp<volScalarField> SpalartAllmarasIDDES<BasicTurbulenceModel>::fd
|
tmp<volScalarField> SpalartAllmarasIDDES<BasicTurbulenceModel>::fd
|
||||||
(
|
(
|
||||||
@ -99,6 +97,8 @@ tmp<volScalarField> SpalartAllmarasIDDES<BasicTurbulenceModel>::fd
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasicTurbulenceModel>
|
template<class BasicTurbulenceModel>
|
||||||
tmp<volScalarField> SpalartAllmarasIDDES<BasicTurbulenceModel>::dTilda
|
tmp<volScalarField> SpalartAllmarasIDDES<BasicTurbulenceModel>::dTilda
|
||||||
(
|
(
|
||||||
|
|||||||
@ -33,7 +33,7 @@ namespace Foam
|
|||||||
namespace LESModels
|
namespace LESModels
|
||||||
{
|
{
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasicTurbulenceModel>
|
template<class BasicTurbulenceModel>
|
||||||
volScalarField dynamicKEqn<BasicTurbulenceModel>::Ck
|
volScalarField dynamicKEqn<BasicTurbulenceModel>::Ck
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,7 @@ namespace Foam
|
|||||||
namespace LESModels
|
namespace LESModels
|
||||||
{
|
{
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasicTurbulenceModel>
|
template<class BasicTurbulenceModel>
|
||||||
void dynamicLagrangian<BasicTurbulenceModel>::correctNut
|
void dynamicLagrangian<BasicTurbulenceModel>::correctNut
|
||||||
|
|||||||
@ -34,7 +34,7 @@ namespace Foam
|
|||||||
namespace RASModels
|
namespace RASModels
|
||||||
{
|
{
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasicTurbulenceModel>
|
template<class BasicTurbulenceModel>
|
||||||
tmp<volScalarField> realizableKE<BasicTurbulenceModel>::rCmu
|
tmp<volScalarField> realizableKE<BasicTurbulenceModel>::rCmu
|
||||||
|
|||||||
@ -34,7 +34,7 @@ namespace Foam
|
|||||||
namespace RASModels
|
namespace RASModels
|
||||||
{
|
{
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class BasicTurbulenceModel>
|
template<class BasicTurbulenceModel>
|
||||||
tmp<volScalarField> v2f<BasicTurbulenceModel>::Ts() const
|
tmp<volScalarField> v2f<BasicTurbulenceModel>::Ts() const
|
||||||
|
|||||||
@ -35,7 +35,7 @@ License
|
|||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void kLowReWallFunctionFvPatchScalarField::checkType()
|
void kLowReWallFunctionFvPatchScalarField::checkType()
|
||||||
{
|
{
|
||||||
@ -51,8 +51,6 @@ void kLowReWallFunctionFvPatchScalarField::checkType()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
|
||||||
|
|
||||||
scalar kLowReWallFunctionFvPatchScalarField::yPlusLam
|
scalar kLowReWallFunctionFvPatchScalarField::yPlusLam
|
||||||
(
|
(
|
||||||
const scalar kappa,
|
const scalar kappa,
|
||||||
|
|||||||
@ -238,7 +238,7 @@ private:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
// Protected data
|
// Protected member data
|
||||||
|
|
||||||
//- Pointers to cell shape models
|
//- Pointers to cell shape models
|
||||||
static const cellModel* unknownModel;
|
static const cellModel* unknownModel;
|
||||||
@ -285,11 +285,12 @@ protected:
|
|||||||
cellTable cellTable_;
|
cellTable cellTable_;
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Protected member functions
|
||||||
|
|
||||||
//- Subclasses are required to supply this information
|
//- Subclasses are required to supply this information
|
||||||
virtual bool readGeometry(const scalar scaleFactor = 1.0) = 0;
|
virtual bool readGeometry(const scalar scaleFactor = 1.0) = 0;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Static Members
|
// Static Members
|
||||||
|
|||||||
@ -52,7 +52,7 @@ const int Foam::meshReaders::STARCD::starToFoamFaceAddr[4][6] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::meshReaders::STARCD::readToNewline(IFstream& is)
|
void Foam::meshReaders::STARCD::readToNewline(IFstream& is)
|
||||||
{
|
{
|
||||||
@ -93,8 +93,6 @@ bool Foam::meshReaders::STARCD::readHeader(IFstream& is, word fileSignature)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
|
||||||
|
|
||||||
void Foam::meshReaders::STARCD::readAux(const objectRegistry& registry)
|
void Foam::meshReaders::STARCD::readAux(const objectRegistry& registry)
|
||||||
{
|
{
|
||||||
boundaryRegion_.readDict(registry);
|
boundaryRegion_.readDict(registry);
|
||||||
|
|||||||
@ -42,10 +42,8 @@ namespace Foam
|
|||||||
addToRunTimeSelectionTable(dynamicFvMesh, dynamicRefineFvMesh, IOobject);
|
addToRunTimeSelectionTable(dynamicFvMesh, dynamicRefineFvMesh, IOobject);
|
||||||
}
|
}
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
// the PackedBoolList::count method would probably be faster
|
|
||||||
// since we are only checking for 'true' anyhow
|
|
||||||
Foam::label Foam::dynamicRefineFvMesh::count
|
Foam::label Foam::dynamicRefineFvMesh::count
|
||||||
(
|
(
|
||||||
const PackedBoolList& l,
|
const PackedBoolList& l,
|
||||||
@ -250,10 +248,10 @@ Foam::dynamicRefineFvMesh::refine
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// // Remove the stored tet base points
|
// // Remove the stored tet base points
|
||||||
// tetBasePtIsPtr_.clear();
|
// tetBasePtIsPtr_.clear();
|
||||||
// // Remove the cell tree
|
// // Remove the cell tree
|
||||||
// cellTreePtr_.clear();
|
// cellTreePtr_.clear();
|
||||||
|
|
||||||
// Update fields
|
// Update fields
|
||||||
updateMesh(map);
|
updateMesh(map);
|
||||||
@ -463,8 +461,6 @@ Foam::dynamicRefineFvMesh::refine
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Combines previously split cells, maps fields and recalculates
|
|
||||||
// (an approximate) flux
|
|
||||||
Foam::autoPtr<Foam::mapPolyMesh>
|
Foam::autoPtr<Foam::mapPolyMesh>
|
||||||
Foam::dynamicRefineFvMesh::unrefine
|
Foam::dynamicRefineFvMesh::unrefine
|
||||||
(
|
(
|
||||||
@ -646,7 +642,6 @@ Foam::dynamicRefineFvMesh::unrefine
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Get max of connected point
|
|
||||||
Foam::scalarField
|
Foam::scalarField
|
||||||
Foam::dynamicRefineFvMesh::maxPointField(const scalarField& pFld) const
|
Foam::dynamicRefineFvMesh::maxPointField(const scalarField& pFld) const
|
||||||
{
|
{
|
||||||
@ -665,7 +660,6 @@ Foam::dynamicRefineFvMesh::maxPointField(const scalarField& pFld) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Get max of connected cell
|
|
||||||
Foam::scalarField
|
Foam::scalarField
|
||||||
Foam::dynamicRefineFvMesh::maxCellField(const volScalarField& vFld) const
|
Foam::dynamicRefineFvMesh::maxCellField(const volScalarField& vFld) const
|
||||||
{
|
{
|
||||||
@ -684,7 +678,6 @@ Foam::dynamicRefineFvMesh::maxCellField(const volScalarField& vFld) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Simple (non-parallel) interpolation by averaging.
|
|
||||||
Foam::scalarField
|
Foam::scalarField
|
||||||
Foam::dynamicRefineFvMesh::cellToPoint(const scalarField& vFld) const
|
Foam::dynamicRefineFvMesh::cellToPoint(const scalarField& vFld) const
|
||||||
{
|
{
|
||||||
@ -705,7 +698,6 @@ Foam::dynamicRefineFvMesh::cellToPoint(const scalarField& vFld) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Calculate error. Is < 0 or distance to minLevel, maxLevel
|
|
||||||
Foam::scalarField Foam::dynamicRefineFvMesh::error
|
Foam::scalarField Foam::dynamicRefineFvMesh::error
|
||||||
(
|
(
|
||||||
const scalarField& fld,
|
const scalarField& fld,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -104,7 +104,7 @@ protected:
|
|||||||
PackedBoolList protectedCell_;
|
PackedBoolList protectedCell_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Protected Member Functions
|
||||||
|
|
||||||
//- Count set/unset elements in packedlist.
|
//- Count set/unset elements in packedlist.
|
||||||
static label count(const PackedBoolList&, const unsigned int);
|
static label count(const PackedBoolList&, const unsigned int);
|
||||||
|
|||||||
@ -70,6 +70,7 @@ class boundaryMesh
|
|||||||
// the largest distance from face centre to one of its vertices.
|
// the largest distance from face centre to one of its vertices.
|
||||||
static const scalar distanceTol_;
|
static const scalar distanceTol_;
|
||||||
|
|
||||||
|
|
||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
//- All boundary mesh data. Reconstructed every time faces are repatched
|
//- All boundary mesh data. Reconstructed every time faces are repatched
|
||||||
|
|||||||
@ -62,9 +62,8 @@ Foam::autoPtr<Foam::cellLooper> Foam::cellLooper::New
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
// Get faces (on cell) connected to vertI which are not using edgeI
|
|
||||||
Foam::labelList Foam::cellLooper::getVertFacesNonEdge
|
Foam::labelList Foam::cellLooper::getVertFacesNonEdge
|
||||||
(
|
(
|
||||||
const label celli,
|
const label celli,
|
||||||
@ -101,7 +100,6 @@ Foam::labelList Foam::cellLooper::getVertFacesNonEdge
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Get first edge connected to vertI and on facei
|
|
||||||
Foam::label Foam::cellLooper::getFirstVertEdge
|
Foam::label Foam::cellLooper::getFirstVertEdge
|
||||||
(
|
(
|
||||||
const label facei,
|
const label facei,
|
||||||
@ -131,7 +129,6 @@ Foam::label Foam::cellLooper::getFirstVertEdge
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Get edges (on cell) connected to vertI which are not on facei
|
|
||||||
Foam::labelList Foam::cellLooper::getVertEdgesNonFace
|
Foam::labelList Foam::cellLooper::getVertEdgesNonFace
|
||||||
(
|
(
|
||||||
const label celli,
|
const label celli,
|
||||||
@ -166,8 +163,6 @@ Foam::labelList Foam::cellLooper::getVertEdgesNonFace
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Return edge from cellEdges that is most perpendicular
|
|
||||||
// to refinement direction.
|
|
||||||
Foam::label Foam::cellLooper::getMisAlignedEdge
|
Foam::label Foam::cellLooper::getMisAlignedEdge
|
||||||
(
|
(
|
||||||
const vector& refDir,
|
const vector& refDir,
|
||||||
|
|||||||
@ -71,8 +71,6 @@ class cellLooper
|
|||||||
:
|
:
|
||||||
public edgeVertex
|
public edgeVertex
|
||||||
{
|
{
|
||||||
// Private data
|
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
@ -105,6 +103,7 @@ protected:
|
|||||||
// to refinement direction.
|
// to refinement direction.
|
||||||
label getMisAlignedEdge(const vector& refDir, const label celli) const;
|
label getMisAlignedEdge(const vector& refDir, const label celli) const;
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -72,6 +72,7 @@ protected:
|
|||||||
//- Point motion field
|
//- Point motion field
|
||||||
mutable pointScalarField pointDisplacement_;
|
mutable pointScalarField pointDisplacement_;
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
@ -88,6 +89,7 @@ private:
|
|||||||
//- Disallow default bitwise assignment
|
//- Disallow default bitwise assignment
|
||||||
void operator=(const componentDisplacementMotionSolver&);
|
void operator=(const componentDisplacementMotionSolver&);
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -69,6 +69,7 @@ protected:
|
|||||||
//- Point motion field
|
//- Point motion field
|
||||||
mutable pointScalarField pointMotionU_;
|
mutable pointScalarField pointMotionU_;
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
@ -85,6 +86,7 @@ private:
|
|||||||
//- Disallow default bitwise assignment
|
//- Disallow default bitwise assignment
|
||||||
void operator=(const componentVelocityMotionSolver&);
|
void operator=(const componentVelocityMotionSolver&);
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -82,6 +82,7 @@ class edgeMesh
|
|||||||
//- From point to edges
|
//- From point to edges
|
||||||
mutable autoPtr<labelListList> pointEdgesPtr_;
|
mutable autoPtr<labelListList> pointEdgesPtr_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Calculate point-edge addressing (inverse of edges)
|
//- Calculate point-edge addressing (inverse of edges)
|
||||||
|
|||||||
@ -56,7 +56,7 @@ inline void Foam::fileFormats::STARCDedgeFormat::writeLines
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fileFormats::STARCDedgeFormat::writeCase
|
void Foam::fileFormats::STARCDedgeFormat::writeCase
|
||||||
(
|
(
|
||||||
|
|||||||
@ -99,6 +99,7 @@ protected:
|
|||||||
const label nEdges
|
const label nEdges
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ License
|
|||||||
#include "vtkUnstructuredReader.H"
|
#include "vtkUnstructuredReader.H"
|
||||||
#include "Time.H"
|
#include "Time.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fileFormats::VTKedgeFormat::writeHeader
|
void Foam::fileFormats::VTKedgeFormat::writeHeader
|
||||||
(
|
(
|
||||||
|
|||||||
@ -23,6 +23,20 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
inline Foam::pointField& Foam::edgeMesh::storedPoints()
|
||||||
|
{
|
||||||
|
return points_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline Foam::edgeList& Foam::edgeMesh::storedEdges()
|
||||||
|
{
|
||||||
|
return edges_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
inline Foam::edgeMesh::edgeMesh(const edgeMesh& em)
|
inline Foam::edgeMesh::edgeMesh(const edgeMesh& em)
|
||||||
@ -58,18 +72,6 @@ inline const Foam::labelListList& Foam::edgeMesh::pointEdges() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
inline Foam::pointField& Foam::edgeMesh::storedPoints()
|
|
||||||
{
|
|
||||||
return points_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
inline Foam::edgeList& Foam::edgeMesh::storedEdges()
|
|
||||||
{
|
|
||||||
return edges_;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::edgeMesh::operator=(const edgeMesh& rhs)
|
void Foam::edgeMesh::operator=(const edgeMesh& rhs)
|
||||||
|
|||||||
@ -168,7 +168,7 @@ bool Foam::extendedEdgeMesh::canRead
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::extendedEdgeMesh::pointStatus
|
Foam::extendedEdgeMesh::pointStatus
|
||||||
Foam::extendedEdgeMesh::classifyFeaturePoint
|
Foam::extendedEdgeMesh::classifyFeaturePoint
|
||||||
|
|||||||
@ -141,7 +141,7 @@ protected:
|
|||||||
static label externalStart_;
|
static label externalStart_;
|
||||||
|
|
||||||
|
|
||||||
// Private data
|
// Protected data
|
||||||
|
|
||||||
//- Index of the start of the concave feature points
|
//- Index of the start of the concave feature points
|
||||||
label concaveStart_;
|
label concaveStart_;
|
||||||
@ -203,7 +203,7 @@ protected:
|
|||||||
mutable PtrList<indexedOctree<treeDataEdge>> edgeTreesByType_;
|
mutable PtrList<indexedOctree<treeDataEdge>> edgeTreesByType_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Protected Member Functions
|
||||||
|
|
||||||
//- Classify the type of feature point. Requires valid stored member
|
//- Classify the type of feature point. Requires valid stored member
|
||||||
// data for edges and normals.
|
// data for edges and normals.
|
||||||
|
|||||||
@ -53,7 +53,7 @@ Foam::autoPtr<Foam::writer<Type>> Foam::writer<Type>::New
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::fileName Foam::writer<Type>::getBaseName
|
Foam::fileName Foam::writer<Type>::getBaseName
|
||||||
|
|||||||
@ -30,7 +30,7 @@ License
|
|||||||
#include "coupledFvPatchFields.H"
|
#include "coupledFvPatchFields.H"
|
||||||
#include "UIndirectList.H"
|
#include "UIndirectList.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
template<class Type2>
|
template<class Type2>
|
||||||
|
|||||||
@ -28,7 +28,7 @@ License
|
|||||||
#include "SortableList.H"
|
#include "SortableList.H"
|
||||||
#include "emptyPolyPatch.H"
|
#include "emptyPolyPatch.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::cellToCellStencil::merge
|
void Foam::cellToCellStencil::merge
|
||||||
(
|
(
|
||||||
|
|||||||
@ -32,11 +32,11 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
defineTypeNameAndDebug(extendedCellToFaceStencil, 0);
|
defineTypeNameAndDebug(extendedCellToFaceStencil, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::extendedCellToFaceStencil::writeStencilStats
|
void Foam::extendedCellToFaceStencil::writeStencilStats
|
||||||
(
|
(
|
||||||
|
|||||||
@ -72,7 +72,7 @@ protected:
|
|||||||
const polyMesh& mesh_;
|
const polyMesh& mesh_;
|
||||||
|
|
||||||
|
|
||||||
protected:
|
// Protected member functions
|
||||||
|
|
||||||
//- Write some statistics about stencil
|
//- Write some statistics about stencil
|
||||||
static void writeStencilStats
|
static void writeStencilStats
|
||||||
@ -82,6 +82,7 @@ protected:
|
|||||||
const mapDistribute& map
|
const mapDistribute& map
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Declare name of the class and its debug switch
|
// Declare name of the class and its debug switch
|
||||||
|
|||||||
@ -29,7 +29,7 @@ License
|
|||||||
#include "syncTools.H"
|
#include "syncTools.H"
|
||||||
#include "dummyTransform.H"
|
#include "dummyTransform.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::cellToFaceStencil::merge
|
void Foam::cellToFaceStencil::merge
|
||||||
(
|
(
|
||||||
|
|||||||
@ -131,6 +131,8 @@ Foam::lduInterfacePtrsList Foam::fvBoundaryMesh::interfaces() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fvBoundaryMesh::readUpdate(const polyBoundaryMesh& basicBdry)
|
void Foam::fvBoundaryMesh::readUpdate(const polyBoundaryMesh& basicBdry)
|
||||||
{
|
{
|
||||||
clear();
|
clear();
|
||||||
|
|||||||
@ -33,7 +33,7 @@ int Foam::cellPointWeight::debug(debug::debugSwitch("cellPointWeight", 0));
|
|||||||
|
|
||||||
Foam::scalar Foam::cellPointWeight::tol(SMALL);
|
Foam::scalar Foam::cellPointWeight::tol(SMALL);
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::cellPointWeight::findTetrahedron
|
void Foam::cellPointWeight::findTetrahedron
|
||||||
(
|
(
|
||||||
|
|||||||
@ -36,7 +36,7 @@ namespace Foam
|
|||||||
Foam::scalar Foam::pointMVCWeight::tol(SMALL);
|
Foam::scalar Foam::pointMVCWeight::tol(SMALL);
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::pointMVCWeight::calcWeights
|
void Foam::pointMVCWeight::calcWeights
|
||||||
(
|
(
|
||||||
|
|||||||
@ -202,7 +202,6 @@ private:
|
|||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
effectivenessHeatExchangerSource
|
effectivenessHeatExchangerSource
|
||||||
(
|
(
|
||||||
|
|||||||
@ -47,7 +47,7 @@ namespace fv
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fv::meanVelocityForce::writeProps
|
void Foam::fv::meanVelocityForce::writeProps
|
||||||
(
|
(
|
||||||
|
|||||||
@ -29,7 +29,7 @@ License
|
|||||||
#include "dynamicCode.H"
|
#include "dynamicCode.H"
|
||||||
#include "dynamicCodeContext.H"
|
#include "dynamicCodeContext.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void Foam::fv::CodedSource<Type>::prepare
|
void Foam::fv::CodedSource<Type>::prepare
|
||||||
|
|||||||
@ -487,6 +487,8 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::calc
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ParcelType>
|
template<class ParcelType>
|
||||||
template<class TrackData>
|
template<class TrackData>
|
||||||
void Foam::ReactingMultiphaseParcel<ParcelType>::calcDevolatilisation
|
void Foam::ReactingMultiphaseParcel<ParcelType>::calcDevolatilisation
|
||||||
|
|||||||
@ -74,6 +74,8 @@ void Foam::FacePostProcessing<CloudType>::makeLogFile
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
void Foam::FacePostProcessing<CloudType>::write()
|
void Foam::FacePostProcessing<CloudType>::write()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -385,6 +385,8 @@ void Foam::ParticleCollector<CloudType>::collectParcelConcentricCircles
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
void Foam::ParticleCollector<CloudType>::write()
|
void Foam::ParticleCollector<CloudType>::write()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -25,7 +25,7 @@ License
|
|||||||
|
|
||||||
#include "NonSphereDragForce.H"
|
#include "NonSphereDragForce.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::scalar Foam::NonSphereDragForce<CloudType>::CdRe(const scalar Re) const
|
Foam::scalar Foam::NonSphereDragForce<CloudType>::CdRe(const scalar Re) const
|
||||||
|
|||||||
@ -27,6 +27,13 @@ License
|
|||||||
#include "runTimeSelectionTables.H"
|
#include "runTimeSelectionTables.H"
|
||||||
#include "pointMesh.H"
|
#include "pointMesh.H"
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<class Type>
|
||||||
|
void Foam::AveragingMethod<Type>::updateGrad()
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
@ -106,15 +113,6 @@ Foam::AveragingMethod<Type>::~AveragingMethod()
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
void Foam::AveragingMethod<Type>::updateGrad()
|
|
||||||
{
|
|
||||||
// do nothing
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
|
|||||||
@ -29,7 +29,7 @@ License
|
|||||||
|
|
||||||
using namespace Foam::constant::mathematical;
|
using namespace Foam::constant::mathematical;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::tmp<Foam::scalarField> Foam::LiquidEvaporation<CloudType>::calcXc
|
Foam::tmp<Foam::scalarField> Foam::LiquidEvaporation<CloudType>::calcXc
|
||||||
|
|||||||
@ -29,7 +29,7 @@ License
|
|||||||
|
|
||||||
using namespace Foam::constant::mathematical;
|
using namespace Foam::constant::mathematical;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::tmp<Foam::scalarField> Foam::LiquidEvaporationBoil<CloudType>::calcXc
|
Foam::tmp<Foam::scalarField> Foam::LiquidEvaporationBoil<CloudType>::calcXc
|
||||||
|
|||||||
@ -81,6 +81,8 @@ Foam::word Foam::ThermoSurfaceFilm<CloudType>::interactionTypeStr
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
Foam::vector Foam::ThermoSurfaceFilm<CloudType>::tangentVector
|
Foam::vector Foam::ThermoSurfaceFilm<CloudType>::tangentVector
|
||||||
(
|
(
|
||||||
|
|||||||
@ -35,8 +35,7 @@ namespace Foam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
void Foam::pairPotential::scaleEnergy(scalar& e, const scalar r) const
|
void Foam::pairPotential::scaleEnergy(scalar& e, const scalar r) const
|
||||||
{
|
{
|
||||||
|
|||||||
@ -60,7 +60,7 @@ class pairPotential
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
// Protected data
|
// Protected member data
|
||||||
|
|
||||||
word name_;
|
word name_;
|
||||||
dictionary pairPotentialProperties_;
|
dictionary pairPotentialProperties_;
|
||||||
@ -79,7 +79,7 @@ protected:
|
|||||||
bool writeTables_;
|
bool writeTables_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Protected member functions
|
||||||
|
|
||||||
void scaleEnergy(scalar& e, const scalar r) const;
|
void scaleEnergy(scalar& e, const scalar r) const;
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ License
|
|||||||
|
|
||||||
#include "polyLine.H"
|
#include "polyLine.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::polyLine::calcParam()
|
void Foam::polyLine::calcParam()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -298,59 +298,6 @@ void Foam::refinementFeatures::buildTrees(const label featI)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const Foam::PtrList<Foam::indexedOctree<Foam::treeDataEdge>>&
|
|
||||||
Foam::refinementFeatures::regionEdgeTrees() const
|
|
||||||
{
|
|
||||||
if (!regionEdgeTreesPtr_.valid())
|
|
||||||
{
|
|
||||||
regionEdgeTreesPtr_.reset
|
|
||||||
(
|
|
||||||
new PtrList<indexedOctree<treeDataEdge>>(size())
|
|
||||||
);
|
|
||||||
PtrList<indexedOctree<treeDataEdge>>& trees = regionEdgeTreesPtr_();
|
|
||||||
|
|
||||||
forAll(*this, featI)
|
|
||||||
{
|
|
||||||
const extendedEdgeMesh& eMesh = operator[](featI);
|
|
||||||
const pointField& points = eMesh.points();
|
|
||||||
const edgeList& edges = eMesh.edges();
|
|
||||||
|
|
||||||
// Calculate bb of all points
|
|
||||||
treeBoundBox bb(points);
|
|
||||||
|
|
||||||
// Random number generator. Bit dodgy since not exactly random ;-)
|
|
||||||
Random rndGen(65431);
|
|
||||||
|
|
||||||
// Slightly extended bb. Slightly off-centred just so on symmetric
|
|
||||||
// geometry there are less face/edge aligned items.
|
|
||||||
bb = bb.extend(rndGen, 1e-4);
|
|
||||||
bb.min() -= point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
|
|
||||||
bb.max() += point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
|
|
||||||
|
|
||||||
trees.set
|
|
||||||
(
|
|
||||||
featI,
|
|
||||||
new indexedOctree<treeDataEdge>
|
|
||||||
(
|
|
||||||
treeDataEdge
|
|
||||||
(
|
|
||||||
false, // do not cache bb
|
|
||||||
edges,
|
|
||||||
points,
|
|
||||||
eMesh.regionEdges()
|
|
||||||
),
|
|
||||||
bb, // overall search domain
|
|
||||||
8, // maxLevel
|
|
||||||
10, // leafsize
|
|
||||||
3.0 // duplicity
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return regionEdgeTreesPtr_();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Find maximum level of a shell.
|
// Find maximum level of a shell.
|
||||||
void Foam::refinementFeatures::findHigherLevel
|
void Foam::refinementFeatures::findHigherLevel
|
||||||
(
|
(
|
||||||
@ -424,6 +371,61 @@ void Foam::refinementFeatures::findHigherLevel
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
const Foam::PtrList<Foam::indexedOctree<Foam::treeDataEdge>>&
|
||||||
|
Foam::refinementFeatures::regionEdgeTrees() const
|
||||||
|
{
|
||||||
|
if (!regionEdgeTreesPtr_.valid())
|
||||||
|
{
|
||||||
|
regionEdgeTreesPtr_.reset
|
||||||
|
(
|
||||||
|
new PtrList<indexedOctree<treeDataEdge>>(size())
|
||||||
|
);
|
||||||
|
PtrList<indexedOctree<treeDataEdge>>& trees = regionEdgeTreesPtr_();
|
||||||
|
|
||||||
|
forAll(*this, featI)
|
||||||
|
{
|
||||||
|
const extendedEdgeMesh& eMesh = operator[](featI);
|
||||||
|
const pointField& points = eMesh.points();
|
||||||
|
const edgeList& edges = eMesh.edges();
|
||||||
|
|
||||||
|
// Calculate bb of all points
|
||||||
|
treeBoundBox bb(points);
|
||||||
|
|
||||||
|
// Random number generator. Bit dodgy since not exactly random ;-)
|
||||||
|
Random rndGen(65431);
|
||||||
|
|
||||||
|
// Slightly extended bb. Slightly off-centred just so on symmetric
|
||||||
|
// geometry there are less face/edge aligned items.
|
||||||
|
bb = bb.extend(rndGen, 1e-4);
|
||||||
|
bb.min() -= point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
|
||||||
|
bb.max() += point(ROOTVSMALL, ROOTVSMALL, ROOTVSMALL);
|
||||||
|
|
||||||
|
trees.set
|
||||||
|
(
|
||||||
|
featI,
|
||||||
|
new indexedOctree<treeDataEdge>
|
||||||
|
(
|
||||||
|
treeDataEdge
|
||||||
|
(
|
||||||
|
false, // do not cache bb
|
||||||
|
edges,
|
||||||
|
points,
|
||||||
|
eMesh.regionEdges()
|
||||||
|
),
|
||||||
|
bb, // overall search domain
|
||||||
|
8, // maxLevel
|
||||||
|
10, // leafsize
|
||||||
|
3.0 // duplicity
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return regionEdgeTreesPtr_();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::refinementFeatures::refinementFeatures
|
Foam::refinementFeatures::refinementFeatures
|
||||||
|
|||||||
@ -53,8 +53,6 @@ class refinementFeatures
|
|||||||
:
|
:
|
||||||
public PtrList<extendedFeatureEdgeMesh>
|
public PtrList<extendedFeatureEdgeMesh>
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
|
|
||||||
// Private data
|
// Private data
|
||||||
|
|
||||||
//- Per shell the list of ranges
|
//- Per shell the list of ranges
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -54,9 +54,6 @@ class regionModel1D
|
|||||||
:
|
:
|
||||||
public regionModel
|
public regionModel
|
||||||
{
|
{
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -52,9 +52,6 @@ class singleLayerRegion
|
|||||||
:
|
:
|
||||||
public regionModel
|
public regionModel
|
||||||
{
|
{
|
||||||
|
|
||||||
private:
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
|
|||||||
@ -65,8 +65,6 @@ class thermoSingleLayer
|
|||||||
:
|
:
|
||||||
public kinematicSingleLayer
|
public kinematicSingleLayer
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
|
|
||||||
// Private member functions
|
// Private member functions
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
|
|||||||
@ -26,7 +26,7 @@ License
|
|||||||
#include "OppositeFaceCellWave.H"
|
#include "OppositeFaceCellWave.H"
|
||||||
#include "polyMesh.H"
|
#include "polyMesh.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type, class TrackingData>
|
template<class Type, class TrackingData>
|
||||||
void Foam::OppositeFaceCellWave<Type, TrackingData>::opposingFaceLabels
|
void Foam::OppositeFaceCellWave<Type, TrackingData>::opposingFaceLabels
|
||||||
|
|||||||
@ -334,32 +334,7 @@ void Foam::cuttingPlane::walkCellCuts
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
// Construct without cutting
|
|
||||||
Foam::cuttingPlane::cuttingPlane(const plane& pln)
|
|
||||||
:
|
|
||||||
plane(pln)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
// Construct from plane and mesh reference, restricted to a list of cells
|
|
||||||
Foam::cuttingPlane::cuttingPlane
|
|
||||||
(
|
|
||||||
const plane& pln,
|
|
||||||
const primitiveMesh& mesh,
|
|
||||||
const bool triangulate,
|
|
||||||
const labelUList& cellIdLabels
|
|
||||||
)
|
|
||||||
:
|
|
||||||
plane(pln)
|
|
||||||
{
|
|
||||||
reCut(mesh, triangulate, cellIdLabels);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
void Foam::cuttingPlane::reCut
|
void Foam::cuttingPlane::reCut
|
||||||
(
|
(
|
||||||
@ -406,6 +381,30 @@ void Foam::cuttingPlane::remapFaces
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
// Construct without cutting
|
||||||
|
Foam::cuttingPlane::cuttingPlane(const plane& pln)
|
||||||
|
:
|
||||||
|
plane(pln)
|
||||||
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
// Construct from plane and mesh reference, restricted to a list of cells
|
||||||
|
Foam::cuttingPlane::cuttingPlane
|
||||||
|
(
|
||||||
|
const plane& pln,
|
||||||
|
const primitiveMesh& mesh,
|
||||||
|
const bool triangulate,
|
||||||
|
const labelUList& cellIdLabels
|
||||||
|
)
|
||||||
|
:
|
||||||
|
plane(pln)
|
||||||
|
{
|
||||||
|
reCut(mesh, triangulate, cellIdLabels);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::cuttingPlane::operator=(const cuttingPlane& rhs)
|
void Foam::cuttingPlane::operator=(const cuttingPlane& rhs)
|
||||||
|
|||||||
@ -39,7 +39,7 @@ namespace Foam
|
|||||||
|
|
||||||
Foam::scalar Foam::meshToMeshMethod::tolerance_ = 1e-6;
|
Foam::scalar Foam::meshToMeshMethod::tolerance_ = 1e-6;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::labelList Foam::meshToMeshMethod::maskCells() const
|
Foam::labelList Foam::meshToMeshMethod::maskCells() const
|
||||||
{
|
{
|
||||||
|
|||||||
@ -46,7 +46,7 @@ namespace Foam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::probes::findElements(const fvMesh& mesh)
|
void Foam::probes::findElements(const fvMesh& mesh)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -90,7 +90,7 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// Private data
|
// Protected member data
|
||||||
|
|
||||||
//- Const reference to fvMesh
|
//- Const reference to fvMesh
|
||||||
const fvMesh& mesh_;
|
const fvMesh& mesh_;
|
||||||
@ -140,7 +140,7 @@ protected:
|
|||||||
HashPtrTable<OFstream> probeFilePtrs_;
|
HashPtrTable<OFstream> probeFilePtrs_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Protected Member Functions
|
||||||
|
|
||||||
//- Clear old field groups
|
//- Clear old field groups
|
||||||
void clearFieldGroups();
|
void clearFieldGroups();
|
||||||
|
|||||||
@ -39,7 +39,7 @@ namespace Foam
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::label Foam::sampledSet::getBoundaryCell(const label facei) const
|
Foam::label Foam::sampledSet::getBoundaryCell(const label facei) const
|
||||||
{
|
{
|
||||||
|
|||||||
@ -39,15 +39,6 @@ namespace Foam
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::sampledSurface::clearGeom() const
|
|
||||||
{
|
|
||||||
deleteDemandDrivenData(SfPtr_);
|
|
||||||
deleteDemandDrivenData(magSfPtr_);
|
|
||||||
deleteDemandDrivenData(CfPtr_);
|
|
||||||
area_ = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void Foam::sampledSurface::makeSf() const
|
void Foam::sampledSurface::makeSf() const
|
||||||
{
|
{
|
||||||
// It is an error to recalculate if the pointer is already set
|
// It is an error to recalculate if the pointer is already set
|
||||||
@ -111,6 +102,17 @@ void Foam::sampledSurface::makeCf() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
void Foam::sampledSurface::clearGeom() const
|
||||||
|
{
|
||||||
|
deleteDemandDrivenData(SfPtr_);
|
||||||
|
deleteDemandDrivenData(magSfPtr_);
|
||||||
|
deleteDemandDrivenData(CfPtr_);
|
||||||
|
area_ = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::autoPtr<Foam::sampledSurface> Foam::sampledSurface::New
|
Foam::autoPtr<Foam::sampledSurface> Foam::sampledSurface::New
|
||||||
|
|||||||
@ -69,6 +69,32 @@ Foam::word Foam::surfMesh::meshSubDir = "surfMesh";
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
void Foam::surfMesh::updatePointsRef()
|
||||||
|
{
|
||||||
|
// Assign the reference to the points (this is truly ugly)
|
||||||
|
reinterpret_cast<SubField<point>&>
|
||||||
|
(
|
||||||
|
const_cast<Field<point>&>(MeshReference::points())
|
||||||
|
) = reinterpret_cast<SubField<point>&>(this->storedPoints());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Foam::surfMesh::updateFacesRef()
|
||||||
|
{
|
||||||
|
// Assign the reference to the faces
|
||||||
|
shallowCopy(this->storedFaces());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Foam::surfMesh::updateRefs()
|
||||||
|
{
|
||||||
|
this->updatePointsRef();
|
||||||
|
this->updateFacesRef();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::surfMesh::surfMesh(const IOobject& io, const word& surfName)
|
Foam::surfMesh::surfMesh(const IOobject& io, const word& surfName)
|
||||||
@ -227,30 +253,6 @@ Foam::surfMesh::~surfMesh()
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::surfMesh::updatePointsRef()
|
|
||||||
{
|
|
||||||
// Assign the reference to the points (this is truly ugly)
|
|
||||||
reinterpret_cast<SubField<point>&>
|
|
||||||
(
|
|
||||||
const_cast<Field<point>&>(MeshReference::points())
|
|
||||||
) = reinterpret_cast<SubField<point>&>(this->storedPoints());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void Foam::surfMesh::updateFacesRef()
|
|
||||||
{
|
|
||||||
// Assign the reference to the faces
|
|
||||||
shallowCopy(this->storedFaces());
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void Foam::surfMesh::updateRefs()
|
|
||||||
{
|
|
||||||
this->updatePointsRef();
|
|
||||||
this->updateFacesRef();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void Foam::surfMesh::resetPrimitives
|
void Foam::surfMesh::resetPrimitives
|
||||||
(
|
(
|
||||||
const Xfer<pointField>& points,
|
const Xfer<pointField>& points,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,7 +28,7 @@ License
|
|||||||
#include "IFstream.H"
|
#include "IFstream.H"
|
||||||
#include "IStringStream.H"
|
#include "IStringStream.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
bool Foam::fileFormats::AC3DsurfaceFormatCore::readCmd
|
bool Foam::fileFormats::AC3DsurfaceFormatCore::readCmd
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -26,7 +26,7 @@ License
|
|||||||
#include "OFSsurfaceFormatCore.H"
|
#include "OFSsurfaceFormatCore.H"
|
||||||
#include "clock.H"
|
#include "clock.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fileFormats::OFSsurfaceFormatCore::writeHeader
|
void Foam::fileFormats::OFSsurfaceFormatCore::writeHeader
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,7 +28,7 @@ License
|
|||||||
#include "regExp.H"
|
#include "regExp.H"
|
||||||
#include "IStringStream.H"
|
#include "IStringStream.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
// parse things like this:
|
// parse things like this:
|
||||||
// CTNAME 1 someName
|
// CTNAME 1 someName
|
||||||
|
|||||||
@ -26,7 +26,7 @@ License
|
|||||||
#include "VTKsurfaceFormatCore.H"
|
#include "VTKsurfaceFormatCore.H"
|
||||||
#include "clock.H"
|
#include "clock.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fileFormats::VTKsurfaceFormatCore::writeHeader
|
void Foam::fileFormats::VTKsurfaceFormatCore::writeHeader
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -26,7 +26,7 @@ License
|
|||||||
#include "WRLsurfaceFormatCore.H"
|
#include "WRLsurfaceFormatCore.H"
|
||||||
#include "clock.H"
|
#include "clock.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fileFormats::WRLsurfaceFormatCore::writeHeader
|
void Foam::fileFormats::WRLsurfaceFormatCore::writeHeader
|
||||||
(
|
(
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -26,7 +26,7 @@ License
|
|||||||
#include "X3DsurfaceFormatCore.H"
|
#include "X3DsurfaceFormatCore.H"
|
||||||
#include "clock.H"
|
#include "clock.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::fileFormats::X3DsurfaceFormatCore::writeHeader
|
void Foam::fileFormats::X3DsurfaceFormatCore::writeHeader
|
||||||
(
|
(
|
||||||
|
|||||||
@ -40,7 +40,7 @@ namespace Foam
|
|||||||
defineTypeNameAndDebug(psiuReactionThermo, 0);
|
defineTypeNameAndDebug(psiuReactionThermo, 0);
|
||||||
defineRunTimeSelectionTable(psiuReactionThermo, fvMesh);
|
defineRunTimeSelectionTable(psiuReactionThermo, fvMesh);
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
wordList psiuReactionThermo::heuBoundaryTypes()
|
wordList psiuReactionThermo::heuBoundaryTypes()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -36,10 +36,12 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
defineTypeNameAndDebug(triSurface, 0);
|
defineTypeNameAndDebug(triSurface, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::fileName Foam::triSurface::triSurfInstance(const Time& d)
|
Foam::fileName Foam::triSurface::triSurfInstance(const Time& d)
|
||||||
{
|
{
|
||||||
fileName foamName(d.caseName() + ".ftr");
|
fileName foamName(d.caseName() + ".ftr");
|
||||||
|
|||||||
Reference in New Issue
Block a user