Abstract base class for point-mesh patch fields. More...
Public Types | |
typedef Type | value_type |
typedef pointPatch | Patch |
typedef calculatedPointPatchField< Type > | Calculated |
Public Member Functions | |
TypeName ("pointPatchField") | |
declareRunTimeSelectionTable (autoPtr, pointPatchField, pointPatch,(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF),(p, iF)) | |
declareRunTimeSelectionTable (autoPtr, pointPatchField, patchMapper,(const pointPatchField< Type > &ptf, const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const pointPatchFieldMapper &m),(dynamic_cast< const pointPatchFieldType & >(ptf), p, iF, m)) | |
declareRunTimeSelectionTable (autoPtr, pointPatchField, dictionary,(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const dictionary &dict),(p, iF, dict)) | |
pointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &) | |
pointPatchField (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &) | |
pointPatchField (const pointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &) | |
pointPatchField (const pointPatchField< Type > &) | |
virtual autoPtr< pointPatchField< Type > > | clone () const =0 |
pointPatchField (const pointPatchField< Type > &, const DimensionedField< Type, pointMesh > &) | |
virtual autoPtr< pointPatchField< Type > > | clone (const DimensionedField< Type, pointMesh > &iF) const =0 |
virtual | ~pointPatchField ()=default |
const objectRegistry & | db () const |
label | size () const |
const pointPatch & | patch () const |
const DimensionedField< Type, pointMesh > & | internalField () const |
const Field< Type > & | primitiveField () const |
const word & | patchType () const |
word & | patchType () |
virtual bool | fixesValue () const |
virtual bool | coupled () const |
bool | updated () const |
tmp< Field< Type > > | patchInternalField () const |
template<class Type1 > | |
tmp< Field< Type1 > > | patchInternalField (const Field< Type1 > &iF) const |
template<class Type1 > | |
tmp< Field< Type1 > > | patchInternalField (const Field< Type1 > &iF, const labelList &meshPoints) const |
template<class Type1 > | |
void | addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const |
template<class Type1 > | |
void | addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &points) const |
template<class Type1 > | |
void | setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF, const labelList &meshPoints) const |
template<class Type1 > | |
void | setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const |
virtual const word & | constraintType () const |
virtual void | autoMap (const pointPatchFieldMapper &) |
virtual void | rmap (const pointPatchField< Type > &, const labelList &) |
virtual void | updateCoeffs () |
virtual void | initEvaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking) |
virtual void | evaluate (const Pstream::commsTypes commsType=Pstream::commsTypes::blocking) |
virtual void | write (Ostream &) const |
virtual void | operator= (const pointPatchField< Type > &) |
virtual void | operator+= (const pointPatchField< Type > &) |
virtual void | operator-= (const pointPatchField< Type > &) |
virtual void | operator*= (const pointPatchField< scalar > &) |
virtual void | operator/= (const pointPatchField< scalar > &) |
virtual void | operator= (const Field< Type > &) |
virtual void | operator+= (const Field< Type > &) |
virtual void | operator-= (const Field< Type > &) |
virtual void | operator*= (const Field< scalar > &) |
virtual void | operator/= (const Field< scalar > &) |
virtual void | operator= (const Type &) |
virtual void | operator+= (const Type &) |
virtual void | operator-= (const Type &) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const scalar) |
virtual void | operator== (const pointPatchField< Type > &) |
virtual void | operator== (const Field< Type > &) |
virtual void | operator== (const Type &) |
void | negate () |
template<class Type2 > | |
Foam::autoPtr< Foam::pointPatchField< Type > > | NewCalculatedType (const pointPatchField< Type2 > &pf) |
template<class Type > | |
Foam::tmp< Foam::Field< Type > > | patchInternalField () const |
template<class Type1 > | |
Foam::tmp< Foam::Field< Type1 > > | patchInternalField (const Field< Type1 > &iF, const labelList &meshPoints) const |
template<class Type1 > | |
Foam::tmp< Foam::Field< Type1 > > | patchInternalField (const Field< Type1 > &iF) const |
Static Public Member Functions | |
static autoPtr< pointPatchField< Type > > | New (const word &, const pointPatch &, const DimensionedField< Type, pointMesh > &) |
static autoPtr< pointPatchField< Type > > | New (const word &, const word &actualPatchType, const pointPatch &, const DimensionedField< Type, pointMesh > &) |
static autoPtr< pointPatchField< Type > > | New (const pointPatchField< Type > &, const pointPatch &, const DimensionedField< Type, pointMesh > &, const pointPatchFieldMapper &) |
static autoPtr< pointPatchField< Type > > | New (const pointPatch &, const DimensionedField< Type, pointMesh > &, const dictionary &) |
template<class Type2 > | |
static autoPtr< pointPatchField< Type > > | NewCalculatedType (const pointPatchField< Type2 > &) |
static const word & | calculatedType () |
Static Public Attributes | |
static int | disallowGenericPointPatchField |
Friends | |
Ostream & | operator (Ostream &, const pointPatchField< Type > &) |
Abstract base class for point-mesh patch fields.
The base-field does not store values as they are part of the "internal field". There are derived classes to store constraint values e.g. fixedValuePointPatchField derived from the generic valuePointPatchField which ensures the values in the "internal field" are reset to the fixed-values by applying the stored values.
Definition at line 56 of file pointMVCWeight.H.
typedef Type value_type |
Definition at line 93 of file pointPatchField.H.
typedef pointPatch Patch |
Definition at line 94 of file pointPatchField.H.
typedef calculatedPointPatchField<Type> Calculated |
Definition at line 95 of file pointPatchField.H.
pointPatchField | ( | const pointPatch & | , |
const DimensionedField< Type, pointMesh > & | |||
) |
pointPatchField | ( | const pointPatch & | , |
const DimensionedField< Type, pointMesh > & | , | ||
const dictionary & | |||
) |
pointPatchField | ( | const pointPatchField< Type > & | , |
const pointPatch & | , | ||
const DimensionedField< Type, pointMesh > & | , | ||
const pointPatchFieldMapper & | |||
) |
pointPatchField | ( | const pointPatchField< Type > & | ) |
pointPatchField | ( | const pointPatchField< Type > & | , |
const DimensionedField< Type, pointMesh > & | |||
) |
|
virtualdefault |
TypeName | ( | "pointPatchField" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
pointPatchField | , | ||
pointPatch | , | ||
(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF) | , | ||
(p, iF) | |||
) |
declareRunTimeSelectionTable | ( | autoPtr | , |
pointPatchField | , | ||
patchMapper | , | ||
(const pointPatchField< Type > &ptf, const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const pointPatchFieldMapper &m) | , | ||
(dynamic_cast< const pointPatchFieldType & >(ptf), p, iF, m) | |||
) |
declareRunTimeSelectionTable | ( | autoPtr | , |
pointPatchField | , | ||
dictionary | , | ||
(const pointPatch &p, const DimensionedField< Type, pointMesh > &iF, const dictionary &dict) | , | ||
(p, iF, dict) | |||
) |
|
pure virtual |
|
pure virtual |
Implemented in coupledPointPatchField< Type >, codedFixedValuePointPatchField< Type >, cyclicACMIPointPatchField< Type >, cyclicAMIPointPatchField< Type >, timeVaryingMappedFixedValuePointPatchField< Type >, exprValuePointPatchField< Type >, uniformFixedValuePointPatchField< Type >, zeroFixedValuePointPatchField< Type >, timeVaryingUniformFixedValuePointPatchField< Type >, genericPointPatchField< Type >, processorCyclicPointPatchField< Type >, valuePointPatchField< Type >, cyclicPointPatchField< Type >, symmetryPlanePointPatchField< Type >, processorPointPatchField< Type >, calculatedPointPatchField< Type >, fixedValuePointPatchField< Type >, cyclicSlipPointPatchField< Type >, emptyPointPatchField< Type >, nonuniformTransformCyclicPointPatchField< Type >, symmetryPointPatchField< Type >, wedgePointPatchField< Type >, zeroGradientPointPatchField< Type >, slipPointPatchField< Type >, and basicSymmetryPointPatchField< Type >.
|
static |
|
static |
|
static |
|
static |
|
static |
const Foam::objectRegistry & db | ( | ) | const |
Definition at line 103 of file pointPatchField.C.
|
inline |
Definition at line 258 of file pointPatchField.H.
|
inline |
Definition at line 264 of file pointPatchField.H.
Referenced by pointPatchField< Type >::NewCalculatedType(), and pointPatchField< Type >::size().
|
inline |
Definition at line 271 of file pointPatchField.H.
|
inline |
Definition at line 277 of file pointPatchField.H.
|
inline |
Definition at line 283 of file pointPatchField.H.
|
inline |
Definition at line 289 of file pointPatchField.H.
|
inlinevirtual |
Reimplemented in fixedValuePointPatchField< vector >.
Definition at line 295 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 301 of file pointPatchField.H.
|
inline |
Definition at line 307 of file pointPatchField.H.
Referenced by pointConstraints::setPatchFields(), and velocityDisplacementMotionSolver::solve().
tmp<Field<Type1> > patchInternalField | ( | const Field< Type1 > & | iF, |
const labelList & | meshPoints | ||
) | const |
Definition at line 167 of file pointPatchField.C.
void addToInternalField | ( | Field< Type1 > & | iF, |
const Field< Type1 > & | pF, | ||
const labelList & | points | ||
) | const |
Definition at line 204 of file pointPatchField.C.
void setInInternalField | ( | Field< Type1 > & | iF, |
const Field< Type1 > & | pF, | ||
const labelList & | meshPoints | ||
) | const |
Definition at line 243 of file pointPatchField.C.
Definition at line 278 of file pointPatchField.C.
|
static |
Definition at line 27 of file calculatedPointPatchField.C.
|
inlinevirtual |
Definition at line 374 of file pointPatchField.H.
|
inlinevirtual |
Reimplemented in timeVaryingMappedFixedValuePointPatchField< Type >, uniformFixedValuePointPatchField< Type >, sixDoFRigidBodyDisplacementPointPatchVectorField, valuePointPatchField< Type >, valuePointPatchField< vector >, genericPointPatchField< Type >, uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField, angularOscillatingDisplacementPointPatchVectorField, angularOscillatingVelocityPointPatchVectorField, and oscillatingVelocityPointPatchVectorField.
Definition at line 384 of file pointPatchField.H.
|
inlinevirtual |
Reimplemented in timeVaryingMappedFixedValuePointPatchField< Type >, uniformFixedValuePointPatchField< Type >, valuePointPatchField< Type >, and genericPointPatchField< Type >.
Definition at line 391 of file pointPatchField.H.
|
inlinevirtual |
Reimplemented in waveMakerPointPatchVectorField, codedFixedValuePointPatchField< Type >, lumpedPointDisplacementPointPatchVectorField, timeVaryingMappedFixedValuePointPatchField< Type >, uniformFixedValuePointPatchField< Type >, sixDoFRigidBodyDisplacementPointPatchVectorField, exprValuePointPatchField< Type >, uniformInterpolatedDisplacementPointPatchVectorField, valuePointPatchField< Type >, valuePointPatchField< vector >, uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField, angularOscillatingDisplacementPointPatchVectorField, angularOscillatingVelocityPointPatchVectorField, oscillatingVelocityPointPatchVectorField, timeVaryingUniformFixedValuePointPatchField< Type >, waveDisplacementPointPatchVectorField, and oscillatingDisplacementPointPatchVectorField.
Definition at line 402 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 409 of file pointPatchField.H.
|
virtual |
Reimplemented in coupledPointPatchField< Type >, codedFixedValuePointPatchField< Type >, cyclicAMIPointPatchField< Type >, cyclicACMIPointPatchField< Type >, surfaceSlipDisplacementPointPatchVectorField, processorPointPatchField< Type >, processorCyclicPointPatchField< Type >, valuePointPatchField< Type >, valuePointPatchField< vector >, cyclicPointPatchField< Type >, symmetryPlanePointPatchField< Type >, wedgePointPatchField< Type >, cyclicSlipPointPatchField< Type >, nonuniformTransformCyclicPointPatchField< Type >, and basicSymmetryPointPatchField< Type >.
Definition at line 288 of file pointPatchField.C.
Referenced by surfaceSlipDisplacementPointPatchVectorField::evaluate().
|
virtual |
Reimplemented in lumpedPointDisplacementPointPatchVectorField, exprValuePointPatchField< Type >, waveMakerPointPatchVectorField, codedFixedValuePointPatchField< Type >, surfaceSlipDisplacementPointPatchVectorField, timeVaryingMappedFixedValuePointPatchField< Type >, uniformFixedValuePointPatchField< Type >, sixDoFRigidBodyDisplacementPointPatchVectorField, uniformInterpolatedDisplacementPointPatchVectorField, valuePointPatchField< Type >, valuePointPatchField< vector >, uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField, angularOscillatingDisplacementPointPatchVectorField, angularOscillatingVelocityPointPatchVectorField, oscillatingVelocityPointPatchVectorField, timeVaryingUniformFixedValuePointPatchField< Type >, waveDisplacementPointPatchVectorField, oscillatingDisplacementPointPatchVectorField, and genericPointPatchField< Type >.
Definition at line 110 of file pointPatchField.C.
Referenced by oscillatingDisplacementPointPatchVectorField::write(), waveDisplacementPointPatchVectorField::write(), oscillatingVelocityPointPatchVectorField::write(), angularOscillatingVelocityPointPatchVectorField::write(), angularOscillatingDisplacementPointPatchVectorField::write(), uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField::write(), uniformInterpolatedDisplacementPointPatchVectorField::write(), sixDoFRigidBodyDisplacementPointPatchVectorField::write(), surfaceSlipDisplacementPointPatchVectorField::write(), lumpedPointDisplacementPointPatchVectorField::write(), and waveMakerPointPatchVectorField::write().
|
inlinevirtual |
Reimplemented in valuePointPatchField< Type >.
Definition at line 431 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 432 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 433 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 434 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 435 of file pointPatchField.H.
Reimplemented in valuePointPatchField< Type >, and fixedValuePointPatchField< Type >.
Definition at line 437 of file pointPatchField.H.
Definition at line 438 of file pointPatchField.H.
Definition at line 439 of file pointPatchField.H.
Definition at line 441 of file pointPatchField.H.
Definition at line 442 of file pointPatchField.H.
|
inlinevirtual |
Reimplemented in valuePointPatchField< Type >, and fixedValuePointPatchField< Type >.
Definition at line 444 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 445 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 446 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 447 of file pointPatchField.H.
|
inlinevirtual |
Definition at line 448 of file pointPatchField.H.
|
inlinevirtual |
Reimplemented in valuePointPatchField< Type >.
Definition at line 455 of file pointPatchField.H.
Reimplemented in valuePointPatchField< Type >.
Definition at line 456 of file pointPatchField.H.
|
inlinevirtual |
Reimplemented in valuePointPatchField< Type >.
Definition at line 457 of file pointPatchField.H.
|
inline |
Definition at line 476 of file pointPatchField.H.
Foam::autoPtr<Foam::pointPatchField<Type> > NewCalculatedType | ( | const pointPatchField< Type2 > & | pf | ) |
Definition at line 86 of file calculatedPointPatchField.C.
Foam::tmp<Foam::Field<Type> > patchInternalField | ( | ) | const |
Definition at line 123 of file pointPatchField.C.
Foam::tmp<Foam::Field<Type1> > patchInternalField | ( | const Field< Type1 > & | iF, |
const labelList & | meshPoints | ||
) | const |
Definition at line 133 of file pointPatchField.C.
Foam::tmp<Foam::Field<Type1> > patchInternalField | ( | const Field< Type1 > & | iF | ) | const |
Definition at line 156 of file pointPatchField.C.
|
friend |
|
static |
Definition at line 102 of file pointPatchField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.