Face area weighted Arbitrary Mesh Interface (AMI) method that performs the intersection of src and tgt face area in 2D.
More...
|
| TypeName ("faceAreaWeightAMI2D") |
|
| faceAreaWeightAMI2D (const dictionary &dict, const bool reverseTarget=false) |
|
| faceAreaWeightAMI2D (const bool requireMatch, const bool reverseTarget=false, const scalar lowWeightCorrection=-1, const faceAreaIntersect::triangulationMode triMode=faceAreaIntersect::tmMesh, const bool restartUncoveredSourceFace=true) |
|
| faceAreaWeightAMI2D (const faceAreaWeightAMI2D &ami) |
|
virtual autoPtr< AMIInterpolation > | clone () const |
|
virtual | ~faceAreaWeightAMI2D ()=default |
|
virtual bool | calculate (const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const autoPtr< searchableSurface > &surfPtr=nullptr) |
|
virtual void | write (Ostream &os) const |
|
| TypeName ("advancingFrontAMI") |
|
| advancingFrontAMI (const dictionary &dict, const bool reverseTarget) |
|
| advancingFrontAMI (const bool requireMatch=true, const bool reverseTarget=false, const scalar lowWeightCorrection=-1, const faceAreaIntersect::triangulationMode triMode=faceAreaIntersect::tmMesh) |
|
| advancingFrontAMI (const advancingFrontAMI &ami) |
|
virtual | ~advancingFrontAMI ()=default |
|
const primitivePatch & | srcPatch () const |
|
const primitivePatch & | tgtPatch () const |
|
const labelList & | srcNonOverlap () const |
|
| TypeName ("AMIInterpolation") |
|
| declareRunTimeSelectionTable (autoPtr, AMIInterpolation, dict,(const dictionary &dict, const bool reverseTarget),(dict, reverseTarget)) |
|
| declareRunTimeSelectionTable (autoPtr, AMIInterpolation, component,(const bool requireMatch, const bool reverseTarget, const scalar lowWeightCorrection),(requireMatch, reverseTarget, lowWeightCorrection)) |
|
| AMIInterpolation (const dictionary &dict, const bool reverseTarget=false) |
|
| AMIInterpolation (const bool requireMatch=true, const bool reverseTarget=false, const scalar lowWeightCorrection=-1) |
|
| AMIInterpolation (const AMIInterpolation &fineAMI, const labelList &sourceRestrictAddressing, const labelList &neighbourRestrictAddressing) |
|
| AMIInterpolation (const AMIInterpolation &ami) |
|
virtual | ~AMIInterpolation ()=default |
|
bool | upToDate () const |
|
bool & | upToDate () |
|
bool | distributed () const |
|
bool | requireMatch () const |
|
bool | setRequireMatch (const bool flag) |
|
bool | mustMatchFaces () const |
|
bool | reverseTarget () const |
|
scalar | lowWeightCorrection () const |
|
bool | applyLowWeightCorrection () const |
|
label | singlePatchProc () const |
|
const List< scalar > & | srcMagSf () const |
|
List< scalar > & | srcMagSf () |
|
const labelListList & | srcAddress () const |
|
labelListList & | srcAddress () |
|
const scalarListList & | srcWeights () const |
|
scalarListList & | srcWeights () |
|
const scalarField & | srcWeightsSum () const |
|
scalarField & | srcWeightsSum () |
|
const pointListList & | srcCentroids () const |
|
pointListList & | srcCentroids () |
|
const mapDistribute & | srcMap () const |
|
const List< scalar > & | tgtMagSf () const |
|
List< scalar > & | tgtMagSf () |
|
const labelListList & | tgtAddress () const |
|
labelListList & | tgtAddress () |
|
const scalarListList & | tgtWeights () const |
|
scalarListList & | tgtWeights () |
|
const scalarField & | tgtWeightsSum () const |
|
scalarField & | tgtWeightsSum () |
|
const mapDistribute & | tgtMap () const |
|
void | reset (autoPtr< mapDistribute > &&srcToTgtMap, autoPtr< mapDistribute > &&tgtToSrcMap, labelListList &&srcAddress, scalarListList &&srcWeights, labelListList &&tgtAddress, scalarListList &&tgtWeights) |
|
void | append (const primitivePatch &srcPatch, const primitivePatch &tgtPatch) |
|
void | normaliseWeights (const bool conformal, const bool output) |
|
template<class Type , class CombineOp > |
void | interpolateToSource (const UList< Type > &fld, const CombineOp &cop, List< Type > &result, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type , class CombineOp > |
void | interpolateToTarget (const UList< Type > &fld, const CombineOp &cop, List< Type > &result, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type , class CombineOp > |
tmp< Field< Type > > | interpolateToSource (const Field< Type > &fld, const CombineOp &cop, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type , class CombineOp > |
tmp< Field< Type > > | interpolateToSource (const tmp< Field< Type >> &tFld, const CombineOp &cop, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type , class CombineOp > |
tmp< Field< Type > > | interpolateToTarget (const Field< Type > &fld, const CombineOp &cop, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type , class CombineOp > |
tmp< Field< Type > > | interpolateToTarget (const tmp< Field< Type >> &tFld, const CombineOp &cop, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type > |
tmp< Field< Type > > | interpolateToSource (const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type > |
tmp< Field< Type > > | interpolateToSource (const tmp< Field< Type >> &tFld, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type > |
tmp< Field< Type > > | interpolateToTarget (const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
template<class Type > |
tmp< Field< Type > > | interpolateToTarget (const tmp< Field< Type >> &tFld, const UList< Type > &defaultValues=UList< Type >::null()) const |
|
label | srcPointFace (const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const vector &n, const label tgtFacei, point &tgtPoint) const |
|
label | tgtPointFace (const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const vector &n, const label srcFacei, point &srcPoint) const |
|
bool | checkSymmetricWeights (const bool log) const |
|
void | writeFaceConnectivity (const primitivePatch &srcPatch, const primitivePatch &tgtPatch, const labelListList &srcAddress) const |
|
template<class Type , class CombineOp > |
Foam::tmp< Foam::Field< Type > > | interpolateToSource (const Field< Type > &fld, const CombineOp &cop, const UList< Type > &defaultValues) const |
|
template<class Type , class CombineOp > |
Foam::tmp< Foam::Field< Type > > | interpolateToSource (const tmp< Field< Type >> &tFld, const CombineOp &cop, const UList< Type > &defaultValues) const |
|
template<class Type , class CombineOp > |
Foam::tmp< Foam::Field< Type > > | interpolateToTarget (const Field< Type > &fld, const CombineOp &cop, const UList< Type > &defaultValues) const |
|
template<class Type , class CombineOp > |
Foam::tmp< Foam::Field< Type > > | interpolateToTarget (const tmp< Field< Type >> &tFld, const CombineOp &cop, const UList< Type > &defaultValues) const |
|
template<class Type > |
Foam::tmp< Foam::Field< Type > > | interpolateToSource (const Field< Type > &fld, const UList< Type > &defaultValues) const |
|
template<class Type > |
Foam::tmp< Foam::Field< Type > > | interpolateToSource (const tmp< Field< Type >> &tFld, const UList< Type > &defaultValues) const |
|
template<class Type > |
Foam::tmp< Foam::Field< Type > > | interpolateToTarget (const Field< Type > &fld, const UList< Type > &defaultValues) const |
|
template<class Type > |
Foam::tmp< Foam::Field< Type > > | interpolateToTarget (const tmp< Field< Type >> &tFld, const UList< Type > &defaultValues) const |
|
|
void | operator= (const faceAreaWeightAMI2D &)=delete |
|
void | writeNoMatch (const label srcFacei, const labelList &tgtFaceCandidates, const boundBox &srcFaceBb) const |
|
void | storeInterArea (const label srcFacei, const label tgtFacei, DynamicList< label > &srcAddr, DynamicList< scalar > &srcWght, DynamicList< vector > &srcCtr, DynamicList< label > &tgtAddr, DynamicList< scalar > &tgtWght) const |
|
labelList | overlappingTgtFaces (const AABBTree< face > &tree, const List< boundBox > &tgtFaceBbs, const boundBox &srcFaceBb) const |
|
void | createExtendedTgtPatch () |
|
void | checkPatches () const |
|
bool | initialiseWalk (label &srcFacei, label &tgtFacei) |
|
void | writeIntersectionOBJ (const scalar area, const face &f1, const face &f2, const pointField &f1Points, const pointField &f2Points) const |
|
label | findTargetFace (const label srcFacei, const UList< label > &excludeFaces=UList< label >::null(), const label srcFacePti=-1) const |
|
void | appendNbrFaces (const label facei, const primitivePatch &patch, const DynamicList< label > &visitedFaces, DynamicList< label > &faceIDs) const |
|
void | triangulatePatch (const primitivePatch &patch, List< DynamicList< face >> &tris, List< scalar > &magSf) const |
|
virtual void | nonConformalCorrection () |
|
void | operator= (const AMIInterpolation &)=delete |
|
autoPtr< indexedOctree< treeType > > | createTree (const primitivePatch &patch) const |
|
label | calcDistribution (const primitivePatch &srcPatch, const primitivePatch &tgtPatch) const |
|
void | projectPointsToSurface (const searchableSurface &surf, pointField &pts) const |
|
const primitivePatch & | srcPatch0 () const |
|
const primitivePatch & | tgtPatch0 () const |
|
Face area weighted Arbitrary Mesh Interface (AMI) method that performs the intersection of src and tgt face area in 2D.
- Source files
-
Definition at line 48 of file faceAreaWeightAMI2D.H.