processorLagrangianPatch Class Reference

Processor Lagrangian patch. This is used for the patches that interface between processors across faces that are internal to the complete mesh. More...

Inheritance diagram for processorLagrangianPatch:
Collaboration diagram for processorLagrangianPatch:

Public Member Functions

 TypeName (processorPolyPatch::typeName_())
 Runtime type information. More...
 
 processorLagrangianPatch (const polyPatch &, const LagrangianBoundaryMesh &)
 Construct from a patch and a boundary mesh. More...
 
virtual ~processorLagrangianPatch ()
 Destructor. More...
 
const processorPolyPatchprocessorPatch () const
 Return the processor patch. More...
 
virtual const LagrangianSubMeshmesh () const
 Return the sub-mesh associated with this patch. More...
 
virtual void initEvaluate (PstreamBuffers &, LagrangianMesh &, const LagrangianScalarInternalDynamicField &fraction) const
 Initialise evaluation of changes in elements that have tracked to. More...
 
virtual void evaluate (PstreamBuffers &, LagrangianMesh &, const LagrangianScalarInternalDynamicField &fraction) const
 Evaluate changes in elements that have tracked to this patch. More...
 
virtual void partition () const
 Update following partitioning of the mesh. More...
 
- Public Member Functions inherited from LagrangianPatch
 TypeName (polyPatch::typeName_())
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, LagrangianPatch, polyPatch,(const polyPatch &patch, const LagrangianBoundaryMesh &boundaryMesh),(patch, boundaryMesh))
 Declare run-time constructor selection tables. More...
 
 LagrangianPatch (const polyPatch &, const LagrangianBoundaryMesh &)
 Construct from a patch and a boundary mesh. More...
 
 LagrangianPatch (const LagrangianPatch &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~LagrangianPatch ()
 Destructor. More...
 
const polyPatchpatch () const
 Return the patch. More...
 
virtual const wordname () const
 Return name. More...
 
virtual bool coupled () const
 Return whether or not this patch is coupled. More...
 
const LagrangianBoundaryMeshboundaryMesh () const
 Return the boundary mesh. More...
 
const objectRegistrydb () const
 Return the local object registry. More...
 
template<class GeometricField , class Type >
const GeometricField::PatchlookupPatchField (const word &name)
 Lookup and return the patchField of the named field from the. More...
 
void operator= (const LagrangianPatch &)=delete
 Disallow default bitwise assignment. More...
 

Protected Attributes

autoPtr< LagrangianSubMeshreceiveMeshPtr_
 The sub-mesh used to append received data. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from LagrangianPatch
static autoPtr< LagrangianPatchNew (const word &type, const polyPatch &patch, const LagrangianBoundaryMesh &boundaryMesh)
 Return a pointer to a new LagrangianPatch of specified type. More...
 
static autoPtr< LagrangianPatchNew (const polyPatch &patch, const LagrangianBoundaryMesh &boundaryMesh)
 Return a pointer to a new LagrangianPatch corresponding to the. More...
 

Detailed Description

Processor Lagrangian patch. This is used for the patches that interface between processors across faces that are internal to the complete mesh.

with a co-located patch on another process.

Source files

Definition at line 52 of file processorLagrangianPatch.H.

Constructor & Destructor Documentation

◆ processorLagrangianPatch()

processorLagrangianPatch ( const polyPatch patch,
const LagrangianBoundaryMesh boundaryMesh 
)

Construct from a patch and a boundary mesh.

Definition at line 47 of file processorLagrangianPatch.C.

◆ ~processorLagrangianPatch()

Destructor.

Definition at line 60 of file processorLagrangianPatch.C.

Member Function Documentation

◆ TypeName()

TypeName ( processorPolyPatch::typeName_()  )

Runtime type information.

◆ processorPatch()

const processorPolyPatch& processorPatch ( ) const
inline

Return the processor patch.

Definition at line 95 of file processorLagrangianPatch.H.

◆ mesh()

const Foam::LagrangianSubMesh & mesh ( ) const
virtual

Return the sub-mesh associated with this patch.

Reimplemented from LagrangianPatch.

Definition at line 66 of file processorLagrangianPatch.C.

References LagrangianPatch::mesh().

Here is the call graph for this function:

◆ initEvaluate()

void initEvaluate ( PstreamBuffers pBufs,
LagrangianMesh mesh,
const LagrangianScalarInternalDynamicField fraction 
) const
virtual

Initialise evaluation of changes in elements that have tracked to.

this patch

Reimplemented from LagrangianPatch.

Reimplemented in nonConformalProcessorCyclicLagrangianPatch.

Definition at line 75 of file processorLagrangianPatch.C.

References forAll, Foam::tracking::inProcessor(), mesh, DimensionedField< Type, GeoMesh, PrimitiveField >::primitiveField(), LagrangianSubMesh::sub(), and Foam::toBeRemoved.

Here is the call graph for this function:

◆ evaluate()

void evaluate ( PstreamBuffers pBufs,
LagrangianMesh mesh,
const LagrangianScalarInternalDynamicField fraction 
) const
virtual

Evaluate changes in elements that have tracked to this patch.

Reimplemented from LagrangianPatch.

Reimplemented in nonConformalProcessorCyclicLagrangianPatch.

Definition at line 115 of file processorLagrangianPatch.C.

References forAll, Foam::inCell, mesh, and Foam::tracking::outProcessor().

Here is the call graph for this function:

◆ partition()

void partition ( ) const
virtual

Update following partitioning of the mesh.

Reimplemented from LagrangianPatch.

Definition at line 171 of file processorLagrangianPatch.C.

References LagrangianPatch::partition().

Here is the call graph for this function:

Member Data Documentation

◆ receiveMeshPtr_

autoPtr<LagrangianSubMesh> receiveMeshPtr_
mutableprotected

The sub-mesh used to append received data.

Definition at line 69 of file processorLagrangianPatch.H.


The documentation for this class was generated from the following files: