Foam::fvMeshStitcherTools Namespace Reference

Collection of free functions utilised by the stitching process. More...

Typedefs

template<class Type >
using SurfaceFieldBoundary = GeometricBoundaryField< Type, fvsPatchField, surfaceMesh >
 Alias for surface boundary fields to reduce verbosity of method. More...
 

Functions

template<class Type >
tmp< Field< Type > > fieldMap (const Field< Type > &f, const labelUList &addr, const label addr0=0)
 Map a field with an (optional) addressing offset. More...
 
template<class Type >
tmp< Field< Type > > fieldMap (const tmp< Field< Type >> &f, const labelUList &addr, const label addr0=0)
 Tmp variant of above. More...
 
template<class Type >
tmp< Field< Type > > fieldRMapSum (const Field< Type > &f, const label size, const labelUList &addr, const label addr0=0)
 Reverse map a field with an (optional) addressing offset, initialising the. More...
 
template<class Type >
tmp< Field< Type > > fieldRMapSum (const tmp< Field< Type >> &f, const label size, const labelUList &addr, const label addr0=0)
 Tmp variant of above. More...
 
tmp< SurfaceFieldBoundary< scalar > > origNcMagSfb (const fvMesh &mesh)
 Return the total non-conformal area associated with each original face. More...
 
template<class Type >
tmp< SurfaceFieldBoundary< Type > > conformedNcBoundaryField (const SurfaceFieldBoundary< Type > &fieldb)
 Extract the non-conformal parts of the boundary field and store it on the. More...
 
template<class Type >
tmp< SurfaceFieldBoundary< Type > > conformedOrigBoundaryField (const SurfaceFieldBoundary< Type > &fieldb)
 Extract the original parts of the boundary field and store it. More...
 
template<class Type >
tmp< SurfaceFieldBoundary< Type > > unconformedBoundaryField (const SurfaceFieldBoundary< Type > &ncFieldb, const SurfaceFieldBoundary< Type > &origFieldb)
 Combine non-conformal and original parts of the boundary field from the. More...
 
template<class Type >
tmp< SurfaceFieldBoundary< Type > > synchronisedBoundaryField (const SurfaceFieldBoundary< Type > &fieldb, const bool flip, const scalar ownerWeight, const scalar neighbourWeight)
 Synchronise the boundary field by combining corresponding. More...
 
template<class Type >
tmp< SurfaceFieldBoundary< Type > > synchronisedBoundaryField (const SurfaceFieldBoundary< Type > &fieldb)
 Synchronise the boundary field by combining corresponding. More...
 

Detailed Description

Collection of free functions utilised by the stitching process.

Source files

Typedef Documentation

◆ SurfaceFieldBoundary

Alias for surface boundary fields to reduce verbosity of method.

definitions below

Definition at line 90 of file fvMeshStitcherTools.H.

Function Documentation

◆ fieldMap() [1/2]

tmp<Field<Type> > Foam::fvMeshStitcherTools::fieldMap ( const Field< Type > &  f,
const labelUList addr,
const label  addr0 = 0 
)

Map a field with an (optional) addressing offset.

Referenced by conformedFvPatchField< Type >::conform().

Here is the caller graph for this function:

◆ fieldMap() [2/2]

tmp<Field<Type> > Foam::fvMeshStitcherTools::fieldMap ( const tmp< Field< Type >> &  f,
const labelUList addr,
const label  addr0 = 0 
)

Tmp variant of above.

◆ fieldRMapSum() [1/2]

tmp<Field<Type> > Foam::fvMeshStitcherTools::fieldRMapSum ( const Field< Type > &  f,
const label  size,
const labelUList addr,
const label  addr0 = 0 
)

Reverse map a field with an (optional) addressing offset, initialising the.

value to zero and summing repeated indices

Referenced by conformedFvPatchField< Type >::conform(), and origNcMagSfb().

Here is the caller graph for this function:

◆ fieldRMapSum() [2/2]

tmp<Field<Type> > Foam::fvMeshStitcherTools::fieldRMapSum ( const tmp< Field< Type >> &  f,
const label  size,
const labelUList addr,
const label  addr0 = 0 
)

Tmp variant of above.

◆ origNcMagSfb()

◆ conformedNcBoundaryField()

tmp<SurfaceFieldBoundary<Type> > Foam::fvMeshStitcherTools::conformedNcBoundaryField ( const SurfaceFieldBoundary< Type > &  fieldb)

Extract the non-conformal parts of the boundary field and store it on the.

conformal faces

Referenced by conformedFvsPatchField< Type >::conform().

Here is the caller graph for this function:

◆ conformedOrigBoundaryField()

tmp<SurfaceFieldBoundary<Type> > Foam::fvMeshStitcherTools::conformedOrigBoundaryField ( const SurfaceFieldBoundary< Type > &  fieldb)

Extract the original parts of the boundary field and store it.

on the conformal faces

Referenced by conformedFvsPatchField< Type >::conform().

Here is the caller graph for this function:

◆ unconformedBoundaryField()

tmp<SurfaceFieldBoundary<Type> > Foam::fvMeshStitcherTools::unconformedBoundaryField ( const SurfaceFieldBoundary< Type > &  ncFieldb,
const SurfaceFieldBoundary< Type > &  origFieldb 
)

Combine non-conformal and original parts of the boundary field from the.

conformal faces to construct the complete non-conformal boundary field

Referenced by conformedFvsPatchField< Type >::unconform().

Here is the caller graph for this function:

◆ synchronisedBoundaryField() [1/2]

tmp<SurfaceFieldBoundary<Type> > Foam::fvMeshStitcherTools::synchronisedBoundaryField ( const SurfaceFieldBoundary< Type > &  fieldb,
const bool  flip,
const scalar  ownerWeight,
const scalar  neighbourWeight 
)

Synchronise the boundary field by combining corresponding.

values across couplings with the given weightings

Referenced by conformedFvsPatchField< Type >::unconform().

Here is the caller graph for this function:

◆ synchronisedBoundaryField() [2/2]

tmp<SurfaceFieldBoundary<Type> > Foam::fvMeshStitcherTools::synchronisedBoundaryField ( const SurfaceFieldBoundary< Type > &  fieldb)

Synchronise the boundary field by combining corresponding.

values across couplings with equal weightings