Go to the documentation of this file.
44 #ifndef fvsPatchField_H
45 #define fvsPatchField_H
59 class fvPatchFieldMapper;
127 (
dynamic_cast<const fvsPatchFieldType&
>(ptf),
p, iF, m)
226 const word& actualPatchType,
259 template<
class Type2>
389 #define makeFvsPatchTypeFieldTypeName(type) \
391 defineNamedTemplateTypeNameAndDebug(type, 0);
393 #define makeFvsPatchFieldsTypeName(type) \
395 makeFvsPatchTypeFieldTypeName(type##FvsPatchScalarField); \
396 makeFvsPatchTypeFieldTypeName(type##FvsPatchVectorField); \
397 makeFvsPatchTypeFieldTypeName(type##FvsPatchSphericalTensorField); \
398 makeFvsPatchTypeFieldTypeName(type##FvsPatchSymmTensorField); \
399 makeFvsPatchTypeFieldTypeName(type##FvsPatchTensorField);
401 #define makeFvsPatchTypeField(PatchTypeField, typePatchTypeField) \
403 defineNamedTemplateTypeNameAndDebug(typePatchTypeField, 0); \
405 addToRunTimeSelectionTable \
407 PatchTypeField, typePatchTypeField, patch \
410 addToRunTimeSelectionTable \
413 typePatchTypeField, \
417 addToRunTimeSelectionTable \
419 PatchTypeField, typePatchTypeField, dictionary \
423 #define makeFvsPatchFields(type) \
425 makeFvsPatchTypeField(fvsPatchScalarField, type##FvsPatchScalarField); \
426 makeFvsPatchTypeField(fvsPatchVectorField, type##FvsPatchVectorField); \
427 makeFvsPatchTypeField \
429 fvsPatchSphericalTensorField, \
430 type##FvsPatchSphericalTensorField \
432 makeFvsPatchTypeField(fvsPatchSymmTensorField, type##FvsPatchSymmTensorField); \
433 makeFvsPatchTypeField(fvsPatchTensorField, type##FvsPatchTensorField);
436 #define makeFvsPatchTypeFieldTypedefs(type) \
438 typedef type##FvsPatchField<scalar> type##FvsPatchScalarField; \
439 typedef type##FvsPatchField<vector> type##FvsPatchVectorField; \
440 typedef type##FvsPatchField<sphericalTensor> \
441 type##FvsPatchSphericalTensorField; \
442 typedef type##FvsPatchField<symmTensor> type##FvsPatchSymmTensorField; \
443 typedef type##FvsPatchField<tensor> type##FvsPatchTensorField;
A class for handling words, derived from string.
const fvPatch & patch_
Reference to patch.
A class for managing temporary objects.
virtual void operator-=(const fvsPatchField< Type > &)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const objectRegistry & db() const
Return local objectRegistry.
Registry of regIOobjects.
static const word & calculatedType()
Return the type of the calculated for of fvsPatchField.
Pre-declare SubField and related Field type.
static int disallowGenericFvsPatchField
Debug switch to disallow the use of genericFvsPatchField.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Ostream & operator<<(Ostream &, const edgeMesh &)
static tmp< fvsPatchField< Type > > New(const word &, const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Return a pointer to a new patchField created on freestore given.
virtual tmp< fvsPatchField< Type > > clone() const
Construct and return a clone.
const DimensionedField< Type, surfaceMesh > & internalField_
Reference to internal field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Field< Type > & internalField() const
Return internal field reference.
virtual void operator=(const UList< Type > &)
fvsPatchField(const fvPatch &, const DimensionedField< Type, surfaceMesh > &)
Construct from patch and internal field.
virtual void write(Ostream &) const
Write.
const DimensionedField< Type, surfaceMesh > & dimensionedInternalField() const
Return dimensioned internal field reference.
declareRunTimeSelectionTable(tmp, fvsPatchField, patch,(const fvPatch &p, const DimensionedField< Type, surfaceMesh > &iF),(p, iF))
TypeName("fvsPatchField")
Runtime type information.
const fvPatch & patch() const
Return patch.
virtual void operator/=(const fvsPatchField< scalar > &)
static tmp< fvsPatchField< Type > > NewCalculatedType(const fvPatch &)
Return a pointer to a new calculatedFvsPatchField created on.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual void rmap(const fvsPatchField< Type > &, const labelList &)
Reverse map the given fvsPatchField onto this fvsPatchField.
virtual void operator==(const fvsPatchField< Type > &)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual bool coupled() const
Return true if this patch field is coupled.
virtual bool fixesValue() const
Return true if this patch field fixes a value.
void check(const fvsPatchField< Type > &) const
Check fvsPatchField<Type> against given fvsPatchField<Type>
virtual void operator*=(const fvsPatchField< scalar > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void operator+=(const fvsPatchField< Type > &)