Base class for Lagrangian boundary conditions. More...


Public Types | |
| typedef LagrangianPatch | Patch |
| The patch type. More... | |
| typedef calculatedLagrangianPatchField< Type > | Calculated |
| The calculated patch field type. More... | |
Public Member Functions | |
| TypeName ("LagrangianPatchField") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, LagrangianPatchField, LagrangianPatch,(const LagrangianPatch &p, const regIOobject &iIo),(p, iIo)) | |
| Select given patch and internal field. More... | |
| declareRunTimeSelectionTable (autoPtr, LagrangianPatchField, dictionary,(const LagrangianPatch &p, const regIOobject &iIo, const dictionary &dict),(p, iIo, dict)) | |
| Select given patch, internal field and dictionary. More... | |
| LagrangianPatchField (const LagrangianPatch &, const regIOobject &) | |
| Construct from patch and internal field. More... | |
| LagrangianPatchField (const LagrangianPatch &, const regIOobject &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| LagrangianPatchField (const LagrangianPatchField< Type > &) | |
| Construct as copy. More... | |
| LagrangianPatchField (const LagrangianPatchField< Type > &, const regIOobject &) | |
| Construct as copy setting the internal field reference. More... | |
| LagrangianPatchField (const LagrangianPatchField< Type > &, const LagrangianPatch &, const regIOobject &) | |
| Construct as copy setting the patch and the internal field reference. More... | |
| virtual autoPtr< LagrangianPatchField< Type > > | clone () const =0 |
| Construct and return a clone. More... | |
| virtual autoPtr< LagrangianPatchField< Type > > | clone (const regIOobject &) const =0 |
| Construct and return a clone setting the internal field reference. More... | |
| virtual autoPtr< LagrangianPatchField< Type > > | clone (const LagrangianPatch &, const regIOobject &) const |
| Construct and return a clone onto a new patch. More... | |
| virtual | ~LagrangianPatchField () |
| Destructor. More... | |
| const objectRegistry & | db () const |
| Return local objectRegistry. More... | |
| const LagrangianPatch & | patch () const |
| Return patch. More... | |
| const dimensionSet & | internalDimensions () const |
| Return internal dimensions reference. More... | |
| const LagrangianInternalDynamicField< Type > & | internalField () const |
| Return internal field reference. More... | |
| tmp< LagrangianSubSubField< Type > > | internalSubField () const |
| Generate an internal sub field corresponding to this patch. More... | |
| SubField< Type > | primitiveSubField () const |
| Generate a primitive sub field corresponding to this patch. More... | |
| virtual void | reset (const LagrangianPatchField< Type > &) |
| Reset to the given LagrangianPatchField. More... | |
| virtual void | initEvaluate (PstreamBuffers &, const LagrangianScalarInternalDynamicField &fraction) |
| Initialise evaluation of the patch field. More... | |
| virtual void | evaluate (PstreamBuffers &, const LagrangianScalarInternalDynamicField &fraction) |
| Evaluate the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
| tmp< LagrangianSubSubField< Type > > | operator() () const |
| Generate a sub-sub field corresponding to this patch. More... | |
| virtual void | operator= (const LagrangianPatchField< Type > &) |
| virtual void | operator= (const LagrangianSubField< Type > &) |
| virtual void | operator= (const LagrangianSubSubField< Type > &) |
| virtual void | operator= (const UList< Type > &) |
| virtual void | operator= (const Type &) |
| virtual void | operator== (const LagrangianPatchField< Type > &) |
| virtual void | operator== (const LagrangianSubField< Type > &) |
| virtual void | operator== (const LagrangianSubSubField< Type > &) |
| virtual void | operator== (const UList< Type > &) |
| virtual void | operator== (const Type &) |
| virtual void | operator+= (const LagrangianPatchField< Type > &) |
| virtual void | operator+= (const LagrangianSubField< Type > &) |
| virtual void | operator+= (const LagrangianSubSubField< Type > &) |
| virtual void | operator+= (const UList< Type > &) |
| virtual void | operator+= (const Type &) |
| virtual void | operator-= (const LagrangianPatchField< Type > &) |
| virtual void | operator-= (const LagrangianSubField< Type > &) |
| virtual void | operator-= (const LagrangianSubSubField< Type > &) |
| virtual void | operator-= (const UList< Type > &) |
| virtual void | operator-= (const Type &) |
| virtual void | operator*= (const LagrangianPatchField< scalar > &) |
| virtual void | operator*= (const LagrangianSubField< scalar > &) |
| virtual void | operator*= (const LagrangianSubSubField< scalar > &) |
| virtual void | operator*= (const UList< scalar > &) |
| virtual void | operator*= (const scalar &) |
| virtual void | operator/= (const LagrangianPatchField< scalar > &) |
| virtual void | operator/= (const LagrangianSubField< scalar > &) |
| virtual void | operator/= (const LagrangianSubSubField< scalar > &) |
| virtual void | operator/= (const UList< scalar > &) |
| virtual void | operator/= (const scalar &) |
| template<class Type2 > | |
| Foam::autoPtr< Foam::LagrangianPatchField< Type > > | NewCalculatedType (const LagrangianPatchField< Type2 > &pf) |
Static Public Member Functions | |
| static autoPtr< LagrangianPatchField< Type > > | New (const word &patchFieldType, const word &actualPatchType, const LagrangianPatch &p, const regIOobject &) |
| Return a pointer to a new LagrangianPatchField with a given type. More... | |
| static autoPtr< LagrangianPatchField< Type > > | New (const word &, const LagrangianPatch &, const regIOobject &) |
| Return a pointer to a new LagrangianPatchField with a given type. More... | |
| static autoPtr< LagrangianPatchField< Type > > | New (const LagrangianPatch &, const regIOobject &, const dictionary &) |
| Return a pointer to a new LagrangianPatchField corresponding to a. More... | |
| template<class Type2 > | |
| static autoPtr< LagrangianPatchField< Type > > | NewCalculatedType (const LagrangianPatchField< Type2 > &) |
| Return a pointer to a new calculatedPointPatchField. More... | |
| static const word & | calculatedType () |
| Return the type of the calculated form of LagrangianPatchField. More... | |
Static Public Attributes | |
| static int | disallowGenericLagrangianPatchField |
| Debug switch to disallow the use of genericLagrangianPatchField. More... | |
Protected Attributes | |
| const regIOobject & | internalIo_ |
| Reference to the internal IO object. More... | |
| const LagrangianInternalDynamicField< Type > & | internalField_ |
| Reference to the internal field. More... | |
| const LagrangianInternalField< Type > & | internalNonDynamicField_ |
| Reference to the non-dynamic internal field. More... | |
Friends | |
| template<class Type2 > | |
| class | LagrangianPatchField |
| Declare friendship with patch fields of different types. More... | |
| Ostream & | operator (Ostream &, const LagrangianPatchField< Type > &) |
| Ostream operator. More... | |
Base class for Lagrangian boundary conditions.
Definition at line 67 of file LagrangianPatchField.H.
| typedef LagrangianPatch Patch |
The patch type.
Definition at line 99 of file LagrangianPatchField.H.
| typedef calculatedLagrangianPatchField<Type> Calculated |
The calculated patch field type.
Definition at line 102 of file LagrangianPatchField.H.
| LagrangianPatchField | ( | const LagrangianPatch & | p, |
| const regIOobject & | iIo | ||
| ) |
Construct from patch and internal field.
Definition at line 35 of file LagrangianPatchField.C.
| LagrangianPatchField | ( | const LagrangianPatch & | p, |
| const regIOobject & | iIo, | ||
| const dictionary & | |||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 55 of file LagrangianPatchField.C.
| LagrangianPatchField | ( | const LagrangianPatchField< Type > & | ptf | ) |
Construct as copy.
Definition at line 76 of file LagrangianPatchField.C.
| LagrangianPatchField | ( | const LagrangianPatchField< Type > & | ptf, |
| const regIOobject & | iIo | ||
| ) |
Construct as copy setting the internal field reference.
Definition at line 89 of file LagrangianPatchField.C.
| LagrangianPatchField | ( | const LagrangianPatchField< Type > & | ptf, |
| const LagrangianPatch & | p, | ||
| const regIOobject & | iIo | ||
| ) |
Construct as copy setting the patch and the internal field reference.
Definition at line 109 of file LagrangianPatchField.C.
|
virtual |
Destructor.
Definition at line 266 of file LagrangianPatchField.C.
| TypeName | ( | "LagrangianPatchField< Type >" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| LagrangianPatchField< Type > | , | ||
| LagrangianPatch | , | ||
| (const LagrangianPatch &p, const regIOobject &iIo) | , | ||
| (p, iIo) | |||
| ) |
Select given patch and internal field.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| LagrangianPatchField< Type > | , | ||
| dictionary | , | ||
| (const LagrangianPatch &p, const regIOobject &iIo, const dictionary &dict) | , | ||
| (p, iIo, dict) | |||
| ) |
Select given patch, internal field and dictionary.
|
pure virtual |
Construct and return a clone.
Implemented in wedgeLagrangianPatchField< Type >, symmetryPlaneLagrangianPatchField< Type >, symmetryLagrangianPatchField< Type >, processorCyclicLagrangianPatchField< Type >, processorLagrangianPatchField< Type >, nonConformalProcessorCyclicLagrangianPatchField< Type >, nonConformalErrorLagrangianPatchField< Type >, nonConformalCyclicLagrangianPatchField< Type >, internalLagrangianPatchField< Type >, emptyLagrangianPatchField< Type >, cyclicLagrangianPatchField< Type >, calculatedLagrangianPatchField< Type >, and genericLagrangianPatchField< Type >.
|
pure virtual |
Construct and return a clone setting the internal field reference.
Implemented in wedgeLagrangianPatchField< Type >, symmetryPlaneLagrangianPatchField< Type >, symmetryLagrangianPatchField< Type >, processorCyclicLagrangianPatchField< Type >, processorLagrangianPatchField< Type >, nonConformalProcessorCyclicLagrangianPatchField< Type >, nonConformalErrorLagrangianPatchField< Type >, nonConformalCyclicLagrangianPatchField< Type >, internalLagrangianPatchField< Type >, emptyLagrangianPatchField< Type >, cyclicLagrangianPatchField< Type >, calculatedLagrangianPatchField< Type >, and genericLagrangianPatchField< Type >.
References NotImplemented.
|
inlinevirtual |
Construct and return a clone onto a new patch.
and setting the internal field reference
Reimplemented in processorCyclicLagrangianPatchField< Type >, processorLagrangianPatchField< Type >, and nonConformalProcessorCyclicLagrangianPatchField< Type >.
Definition at line 189 of file LagrangianPatchField.H.
|
static |
Return a pointer to a new LagrangianPatchField with a given type.
name, corresponding to a LagrangianPatch and internal field
Definition at line 133 of file LagrangianPatchField.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, InfoInFunction, Foam::nl, word::null, p, and Foam::patchFieldType().

|
static |
Return a pointer to a new LagrangianPatchField with a given type.
name, corresponding to a LagrangianPatch and internal field
Definition at line 186 of file LagrangianPatchField.C.
References Foam::New(), word::null, p, and Foam::patchFieldType().

|
static |
Return a pointer to a new LagrangianPatchField corresponding to a.
LagrangianPatch and internal field, with type and parameters specified in a dictionary
Definition at line 199 of file LagrangianPatchField.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, dictionary::found(), InfoInFunction, dictionary::lookup(), Foam::nl, p, and Foam::patchFieldType().

|
static |
Return a pointer to a new calculatedPointPatchField.
| const Foam::objectRegistry & db |
Return local objectRegistry.
Definition at line 273 of file LagrangianPatchField.C.
| const Foam::LagrangianPatch & patch |
Return patch.
Definition at line 280 of file LagrangianPatchField.C.
Referenced by LagrangianPatchField< Type >::NewCalculatedType().

| const Foam::dimensionSet & internalDimensions |
Return internal dimensions reference.
Definition at line 288 of file LagrangianPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::notNull().

| const Foam::LagrangianInternalDynamicField< Type > & internalField |
Return internal field reference.
Definition at line 311 of file LagrangianPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::notNull().

| Foam::tmp< Foam::LagrangianSubSubField< Type > > internalSubField |
Generate an internal sub field corresponding to this patch.
Definition at line 329 of file LagrangianPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and Foam::notNull().

| Foam::SubField< Type > primitiveSubField |
Generate a primitive sub field corresponding to this patch.
Definition at line 351 of file LagrangianPatchField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::notNull(), and Foam::NullObjectRef().

|
static |
Return the type of the calculated form of LagrangianPatchField.
Definition at line 31 of file calculatedLagrangianPatchField.C.
|
virtual |
Reset to the given LagrangianPatchField.
Definition at line 373 of file LagrangianPatchField.C.
|
virtual |
Initialise evaluation of the patch field.
Reimplemented in processorLagrangianPatchField< Type >.
Definition at line 378 of file LagrangianPatchField.C.
|
virtual |
Evaluate the patch field.
Reimplemented in wedgeLagrangianPatchField< Type >, symmetryPlaneLagrangianPatchField< Type >, symmetryLagrangianPatchField< Type >, processorCyclicLagrangianPatchField< Type >, processorLagrangianPatchField< Type >, nonConformalCyclicLagrangianPatchField< Type >, emptyLagrangianPatchField< Type >, and cyclicLagrangianPatchField< Type >.
Definition at line 387 of file LagrangianPatchField.C.
|
virtual |
Write.
Reimplemented in genericLagrangianPatchField< Type >.
Definition at line 396 of file LagrangianPatchField.C.
References Foam::type(), and Foam::writeEntry().

| Foam::tmp< Foam::LagrangianSubSubField< Type > > operator() |
Generate a sub-sub field corresponding to this patch.
Definition at line 406 of file LagrangianPatchField.C.
|
virtual |
Definition at line 484 of file LagrangianPatchField.C.
|
virtual |
Definition at line 484 of file LagrangianPatchField.C.
|
virtual |
Definition at line 484 of file LagrangianPatchField.C.
Definition at line 484 of file LagrangianPatchField.C.
|
virtual |
Definition at line 484 of file LagrangianPatchField.C.
|
virtual |
Definition at line 485 of file LagrangianPatchField.C.
|
virtual |
Definition at line 485 of file LagrangianPatchField.C.
|
virtual |
Definition at line 485 of file LagrangianPatchField.C.
Definition at line 485 of file LagrangianPatchField.C.
|
virtual |
Definition at line 485 of file LagrangianPatchField.C.
|
virtual |
Definition at line 486 of file LagrangianPatchField.C.
|
virtual |
Definition at line 486 of file LagrangianPatchField.C.
|
virtual |
Definition at line 486 of file LagrangianPatchField.C.
Definition at line 486 of file LagrangianPatchField.C.
|
virtual |
Definition at line 486 of file LagrangianPatchField.C.
|
virtual |
Definition at line 487 of file LagrangianPatchField.C.
|
virtual |
Definition at line 487 of file LagrangianPatchField.C.
|
virtual |
Definition at line 487 of file LagrangianPatchField.C.
Definition at line 487 of file LagrangianPatchField.C.
|
virtual |
Definition at line 487 of file LagrangianPatchField.C.
|
virtual |
Definition at line 488 of file LagrangianPatchField.C.
|
virtual |
Definition at line 488 of file LagrangianPatchField.C.
|
virtual |
Definition at line 488 of file LagrangianPatchField.C.
Definition at line 488 of file LagrangianPatchField.C.
|
virtual |
Definition at line 488 of file LagrangianPatchField.C.
|
virtual |
Definition at line 489 of file LagrangianPatchField.C.
|
virtual |
Definition at line 489 of file LagrangianPatchField.C.
|
virtual |
Definition at line 489 of file LagrangianPatchField.C.
Definition at line 489 of file LagrangianPatchField.C.
|
virtual |
Definition at line 489 of file LagrangianPatchField.C.
| Foam::autoPtr<Foam::LagrangianPatchField<Type> > NewCalculatedType | ( | const LagrangianPatchField< Type2 > & | pf | ) |
Definition at line 88 of file calculatedLagrangianPatchField.C.
References Field< Type >::null(), and LagrangianPatchField< Type >::patch().

|
friend |
Declare friendship with patch fields of different types.
Definition at line 93 of file LagrangianPatchField.H.
|
friend |
Ostream operator.
|
protected |
Reference to the internal IO object.
Definition at line 80 of file LagrangianPatchField.H.
|
protected |
Reference to the internal field.
Definition at line 83 of file LagrangianPatchField.H.
|
protected |
Reference to the non-dynamic internal field.
Definition at line 86 of file LagrangianPatchField.H.
|
static |
Debug switch to disallow the use of genericLagrangianPatchField.
Definition at line 110 of file LagrangianPatchField.H.