Calculation of exact distance to nearest patch for all cells and boundary by constructing a search tree for all patch faces. More...
Public Member Functions | |
TypeName ("exactDistance") | |
exact (const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs) | |
exact (const fvMesh &mesh, const labelHashSet &patchIDs) | |
virtual bool | movePoints () |
virtual void | updateMesh (const mapPolyMesh &) |
virtual bool | correct (volScalarField &y) |
virtual bool | correct (volScalarField &y, volVectorField &n) |
![]() | |
TypeName ("patchDistMethod") | |
declareRunTimeSelectionTable (autoPtr, patchDistMethod, dictionary,(const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs),(dict, mesh, patchIDs)) | |
patchDistMethod (const fvMesh &mesh, const labelHashSet &patchIDs) | |
virtual | ~patchDistMethod () |
const labelHashSet & | patchIDs () const |
template<class Type > | |
Foam::wordList | patchTypes (const fvMesh &mesh, const labelHashSet &patchIDs) |
Additional Inherited Members | |
![]() | |
static autoPtr< patchDistMethod > | New (const dictionary &dict, const fvMesh &mesh, const labelHashSet &patchIDs, const word &defaultPatchDistMethod=word::null) |
template<class Type > | |
static wordList | patchTypes (const fvMesh &mesh, const labelHashSet &patchIDs) |
![]() | |
patchDistMethod (const patchDistMethod &)=delete | |
void | operator= (const patchDistMethod &)=delete |
![]() | |
const fvMesh & | mesh_ |
const labelHashSet | patchIDs_ |
Calculation of exact distance to nearest patch for all cells and boundary by constructing a search tree for all patch faces.
Definition at line 56 of file exactPatchDistMethod.H.
exact | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const labelHashSet & | patchIDs | ||
) |
Definition at line 121 of file exactPatchDistMethod.C.
exact | ( | const fvMesh & | mesh, |
const labelHashSet & | patchIDs | ||
) |
Definition at line 132 of file exactPatchDistMethod.C.
TypeName | ( | "exactDistance" | ) |
|
inlinevirtual |
Reimplemented from patchDistMethod.
Definition at line 105 of file exactPatchDistMethod.H.
|
inlinevirtual |
Reimplemented from patchDistMethod.
Definition at line 113 of file exactPatchDistMethod.H.
|
virtual |
Implements patchDistMethod.
Definition at line 143 of file exactPatchDistMethod.C.
References correct(), GeometricField::null(), and y.
|
virtual |
Implements patchDistMethod.
Definition at line 150 of file exactPatchDistMethod.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), distributedTriSurfaceMesh::findNearest(), forAll, distributedTriSurfaceMesh::getNormal(), Foam::Info, Foam::mag(), n, OFstream::name(), Foam::notNull(), Foam::sqr(), Foam::type(), OBJstream::write(), and y.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.