Direct mapped Arbitrary Mesh Interface (AMI) method. More...
Public Member Functions | |
TypeName ("directAMI") | |
Runtime type information. More... | |
directAMI (const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const scalarField &srcMagSf, const scalarField &tgtMagSf, const faceAreaIntersect::triangulationMode &triMode, const bool reverseTarget=false, const bool requireMatch=true) | |
Construct from components. More... | |
directAMI (const directAMI &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~directAMI () |
Destructor. More... | |
virtual void | calculate (labelListList &srcAddress, scalarListList &srcWeights, labelListList &tgtAddress, scalarListList &tgtWeights, label srcFacei=-1, label tgtFacei=-1) |
Update addressing and weights. More... | |
void | operator= (const directAMI &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from AMIMethod | |
TypeName ("AMIMethod") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, AMIMethod, components,(const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const scalarField &srcMagSf, const scalarField &tgtMagSf, const faceAreaIntersect::triangulationMode &triMode, const bool reverseTarget, const bool requireMatch),(srcPatch, tgtPatch, srcMagSf, tgtMagSf, triMode, reverseTarget, requireMatch)) | |
Declare runtime constructor selection table. More... | |
AMIMethod (const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const scalarField &srcMagSf, const scalarField &tgtMagSf, const faceAreaIntersect::triangulationMode &triMode, const bool reverseTarget, const bool requireMatch) | |
Construct from components. More... | |
AMIMethod (const AMIMethod &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~AMIMethod () |
Destructor. More... | |
const labelList & | srcNonOverlap () const |
Labels of faces that are not overlapped by any target faces. More... | |
virtual bool | conformal () const |
Flag to indicate that interpolation patches are conformal. More... | |
void | operator= (const AMIMethod &)=delete |
Disallow default bitwise assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from AMIMethod | |
static autoPtr< AMIMethod > | New (const word &methodName, const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const scalarField &srcMagSf, const scalarField &tgtMagSf, const faceAreaIntersect::triangulationMode &triMode, const bool reverseTarget, const bool requireMatch) |
Selector. More... | |
Protected Types inherited from AMIMethod | |
typedef treeDataPrimitivePatch< primitivePatch > | treeType |
Local typedef to octree tree-type. More... | |
Protected Member Functions inherited from AMIMethod | |
void | checkPatches () const |
Check AMI patch coupling. More... | |
bool | initialise (labelListList &srcAddress, scalarListList &srcWeights, labelListList &tgtAddress, scalarListList &tgtWeights, label &srcFacei, label &tgtFacei) |
Initialise and return true if all ok. More... | |
void | writeIntersectionOBJ (const scalar area, const face &f1, const face &f2, const pointField &f1Points, const pointField &f2Points) const |
Write triangle intersection to OBJ file. More... | |
void | resetTree () |
Reset the octree for the target patch face search. More... | |
label | findTargetFace (const label srcFacei) const |
Find face on target patch that overlaps source face. More... | |
void | appendNbrFaces (const label facei, const primitivePatch &patch, const DynamicList< label > &visitedFaces, DynamicList< label > &faceIDs) const |
Add faces neighbouring facei to the ID list. More... | |
virtual scalar | maxWalkAngle () const |
The maximum edge angle that the walk will cross. More... | |
Protected Attributes inherited from AMIMethod | |
const primitivePatch & | srcPatch_ |
Reference to source patch. More... | |
const primitivePatch & | tgtPatch_ |
Reference to target patch. More... | |
const bool | reverseTarget_ |
Flag to indicate that the two patches are co-directional and. More... | |
const bool | requireMatch_ |
Flag to indicate that the two patches must be matched/an overlap. More... | |
const scalarField & | srcMagSf_ |
Source face areas. More... | |
const scalarField & | tgtMagSf_ |
Target face areas. More... | |
labelList | srcNonOverlap_ |
Labels of faces that are not overlapped by any target faces. More... | |
autoPtr< indexedOctree< treeType > > | treePtr_ |
Octree used to find face seeds. More... | |
const faceAreaIntersect::triangulationMode | triMode_ |
Face triangulation mode. More... | |
Direct mapped Arbitrary Mesh Interface (AMI) method.
Definition at line 48 of file directAMI.H.
directAMI | ( | const primitivePatch & | srcPatch, |
const primitivePatch & | tgtPatch, | ||
const scalarField & | srcMagSf, | ||
const scalarField & | tgtMagSf, | ||
const faceAreaIntersect::triangulationMode & | triMode, | ||
const bool | reverseTarget = false , |
||
const bool | requireMatch = true |
||
) |
Construct from components.
Definition at line 199 of file directAMI.C.
|
virtual |
Destructor.
Definition at line 224 of file directAMI.C.
References directAMI::calculate().
TypeName | ( | "directAMI" | ) |
Runtime type information.
|
virtual |
Update addressing and weights.
Implements AMIMethod.
Definition at line 231 of file directAMI.C.
References DynamicList< T, SizeInc, SizeMult, SizeDiv >::append(), Foam::endl(), forAll, Foam::Pout, List< T >::size(), and List< T >::transfer().
Referenced by directAMI::~directAMI().
|
delete |
Disallow default bitwise assignment.