OpenFOAM logo
Open Source CFD Toolkit

TetPointPatchField Class Template Reference

Inheritance diagram for TetPointPatchField:

Inheritance graph
[legend]
Collaboration diagram for TetPointPatchField:

Collaboration graph
[legend]
List of all members.

template<template< class > class PatchField, class PointPatch, class Type>
class Foam::TetPointPatchField< PatchField, PointPatch, Type >


Public Types

typedef PointPatch Patch
typedef PatchField< Type > pointPatchTypeField

Public Member Functions

 TypeName ("TetPointPatchField")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, pointPatchTypeField, PointPatch,(const PointPatch &p, const Field< Type > &iF),(p, iF))
 declareRunTimeSelectionTable (autoPtr, pointPatchTypeField, patchMapper,(const TetPointPatchField< PatchField, PointPatch, Type > &ptf, const PointPatch &p, const Field< Type > &iF, const TetPointPatchFieldMapper &m),(dynamic_cast< const pointPatchTypeFieldType & >(ptf), p, iF, m))
 declareRunTimeSelectionTable (autoPtr, pointPatchTypeField, dictionary,(const PointPatch &p, const Field< Type > &iF, const dictionary &dict),(p, iF, dict))
 TetPointPatchField (const PointPatch &, const Field< Type > &)
 Construct from patch and internal field.
 TetPointPatchField (const TetPointPatchField< PatchField, PointPatch, Type > &)
 Construct as copy.
virtual autoPtr< PatchField<
Type > > 
clone () const =0
 Construct and return a clone.
 TetPointPatchField (const TetPointPatchField< PatchField, PointPatch, Type > &, const Field< Type > &)
 Construct as copy setting internal field reference.
virtual autoPtr< PatchField<
Type > > 
clone (const Field< Type > &iF) const =0
 Construct and return a clone setting internal field reference.
virtual ~TetPointPatchField ()
const objectRegistrydb () const
 Return local objectRegistry.
label size () const
 Return size.
const PointPatch & patch () const
 Return patch.
const Field< Type > & internalField () const
 Return internal field reference.
tmp< Field< Type > > patchInternalField () const
 Return field created from appropriate internal field values.
template<class Type1>
tmp< Field< Type1 > > patchInternalField (const Field< Type1 > &iF) const
 Return field created from appropriate internal field values.
template<class Type1>
void addToInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 Given the internal field and a patch field,.
template<class Type1>
void setInInternalField (Field< Type1 > &iF, const Field< Type1 > &pF) const
 Given the internal field and a patch field,.
virtual void autoMap (const TetPointPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const TetPointPatchField< PatchField, PointPatch, Type > &, const labelList &)
 Reverse map the given TetPointPatchField onto.
virtual bool storesFieldData () const
 Does it store field data.
bool isPointField () const
 Does this patchField correspond to a pointTypeField.
void checkPointField () const
 Check that this patchField corresponds to a pointTypeField,.
virtual void initEvaluate (const bool=false)
 Initialise evaluation of the patch field (do nothing).
virtual void evaluate ()
 Evaluate the patch field.
virtual void updateBoundaryField ()
 Update boundary value.
virtual void initAddField () const
 Init add field to internal field.
virtual void addField (Field< Type > &) const
 Add field to internal field.
virtual void setBoundaryCondition (Map< constraint< Type > > &) const
 Set boundary condition to matrix.
virtual void initAddDiag (const scalarField &) const
 Add diagonal/source contributions.
virtual void initAddSource (const scalarField &) const
virtual void addDiag (scalarField &) const
virtual void addSource (scalarField &) const
virtual tmp< scalarFieldcutBouCoeffs (const lduMatrix &) const
 Get the cut edge coefficients in Amul order.
virtual tmp< scalarFieldcutIntCoeffs (const lduMatrix &) const
 Get the cut edge coefficients in Tmul order.
virtual void initAddUpperLower (const scalarField &) const
 Add upper/lower contributions.
virtual void addUpperLower (scalarField &) const
virtual void eliminateUpperLower (scalarField &) const
virtual tmp< labelFieldnbrColour (const labelField &cField) const
 Return neighbour colouring.
virtual void write (Ostream &) const
 Write.
virtual void operator= (const TetPointPatchField< PatchField, PointPatch, Type > &)
virtual void operator+= (const TetPointPatchField< PatchField, PointPatch, Type > &)
virtual void operator-= (const TetPointPatchField< PatchField, PointPatch, Type > &)
virtual void operator *= (const TetPointPatchField< PatchField, PointPatch, scalar > &)
virtual void operator/= (const TetPointPatchField< PatchField, PointPatch, 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 TetPointPatchField< PatchField, PointPatch, Type > &)
virtual void operator== (const Field< Type > &)
virtual void operator== (const Type &)

Static Public Member Functions

autoPtr< PatchField< Type > > New (const word &, const PointPatch &, const Field< Type > &)
 Return a pointer to a new patchField created on freestore given.
autoPtr< PatchField< Type > > New (const TetPointPatchField< PatchField, PointPatch, Type > &, const PointPatch &, const Field< Type > &, const TetPointPatchFieldMapper &)
 Return a pointer to a new patchField created on freestore from.
autoPtr< PatchField< Type > > New (const PointPatch &, const Field< Type > &, const dictionary &)
 Return a pointer to a new patchField created on freestore.
template<class Type2>
autoPtr< TetPointPatchField<
PatchField, PointPatch, Type > > 
NewCalculatedType (const TetPointPatchField< PatchField, PointPatch, Type2 > &)
 Return a pointer to a new CalculatedTetPointPatchField created on.
const wordcalculatedType ()
 Return the type of the calculated for of TetPointPatchField.

Friends

Ostreamoperator (Ostream &, const TetPointPatchField< PatchField, PointPatch, Type > &)

Member Typedef Documentation

typedef PointPatch Patch
 

Definition at line 107 of file TetPointPatchField.H.

typedef PatchField<Type> pointPatchTypeField
 

Definition at line 108 of file TetPointPatchField.H.


Constructor & Destructor Documentation

TetPointPatchField const PointPatch &  ,
const Field< Type > & 
 

Construct from patch and internal field.

TetPointPatchField const TetPointPatchField< PatchField, PointPatch, Type > &   ) 
 

Construct as copy.

TetPointPatchField const TetPointPatchField< PatchField, PointPatch, Type > &  ,
const Field< Type > & 
 

Construct as copy setting internal field reference.

virtual ~TetPointPatchField  )  [inline, virtual]
 


Member Function Documentation

virtual void addDiag scalarField  )  const [inline, virtual]
 

Definition at line 377 of file TetPointPatchField.H.

virtual void addField Field< Type > &   )  const [inline, virtual]
 

Add field to internal field.

Definition at line 355 of file TetPointPatchField.H.

virtual void addSource scalarField  )  const [inline, virtual]
 

Definition at line 382 of file TetPointPatchField.H.

void addToInternalField Field< Type1 > &  iF,
const Field< Type1 > &  pF
const
 

Given the internal field and a patch field,.

add the patch field to the internal field

virtual void addUpperLower scalarField  )  const [inline, virtual]
 

Definition at line 403 of file TetPointPatchField.H.

virtual void autoMap const TetPointPatchFieldMapper  )  [inline, virtual]
 

Map (and resize as needed) from self given a mapping object.

Definition at line 304 of file TetPointPatchField.H.

const word& calculatedType  )  [static]
 

Return the type of the calculated for of TetPointPatchField.

void checkPointField  )  const
 

Check that this patchField corresponds to a pointTypeField,.

if not abort!

virtual autoPtr<PatchField<Type> > clone const Field< Type > &  iF  )  const [pure virtual]
 

Construct and return a clone setting internal field reference.

Implemented in tetPolyPatchField.

virtual autoPtr<PatchField<Type> > clone  )  const [pure virtual]
 

Construct and return a clone.

Implemented in tetPolyPatchField.

virtual tmp<scalarField> cutBouCoeffs const lduMatrix  )  const [inline, virtual]
 

Get the cut edge coefficients in Amul order.

Definition at line 388 of file TetPointPatchField.H.

virtual tmp<scalarField> cutIntCoeffs const lduMatrix  )  const [inline, virtual]
 

Get the cut edge coefficients in Tmul order.

Definition at line 394 of file TetPointPatchField.H.

const objectRegistry& db  )  const
 

Return local objectRegistry.

declareRunTimeSelectionTable autoPtr  ,
pointPatchTypeField  ,
dictionary  ,
(const PointPatch &p, const Field< Type > &iF, const dictionary &dict)  ,
(p, iF, dict) 
 

declareRunTimeSelectionTable autoPtr  ,
pointPatchTypeField  ,
patchMapper  ,
(const TetPointPatchField< PatchField, PointPatch, Type > &ptf, const PointPatch &p, const Field< Type > &iF, const TetPointPatchFieldMapper &m)  ,
(dynamic_cast< const pointPatchTypeFieldType & >(ptf), p, iF, m) 
 

declareRunTimeSelectionTable autoPtr  ,
pointPatchTypeField  ,
PointPatch  ,
(const PointPatch &p, const Field< Type > &iF)  ,
(p, iF) 
 

virtual void eliminateUpperLower scalarField  )  const [inline, virtual]
 

Definition at line 408 of file TetPointPatchField.H.

virtual void evaluate  )  [inline, virtual]
 

Evaluate the patch field.

Definition at line 343 of file TetPointPatchField.H.

virtual void initAddDiag const scalarField  )  const [inline, virtual]
 

Add diagonal/source contributions.

Definition at line 371 of file TetPointPatchField.H.

virtual void initAddField  )  const [inline, virtual]
 

Init add field to internal field.

Definition at line 351 of file TetPointPatchField.H.

virtual void initAddSource const scalarField  )  const [inline, virtual]
 

Definition at line 374 of file TetPointPatchField.H.

virtual void initAddUpperLower const scalarField  )  const [inline, virtual]
 

Add upper/lower contributions.

Definition at line 400 of file TetPointPatchField.H.

virtual void initEvaluate const   bool = false  )  [inline, virtual]
 

Initialise evaluation of the patch field (do nothing).

Definition at line 339 of file TetPointPatchField.H.

const Field<Type>& internalField  )  const [inline]
 

Return internal field reference.

Definition at line 258 of file TetPointPatchField.H.

bool isPointField  )  const
 

Does this patchField correspond to a pointTypeField.

virtual tmp<labelField> nbrColour const labelField cField  )  const [inline, virtual]
 

Return neighbour colouring.

Implements lduCoupledInterface.

Definition at line 418 of file TetPointPatchField.H.

autoPtr<PatchField<Type> > New const PointPatch &  ,
const Field< Type > &  ,
const dictionary
[static]
 

Return a pointer to a new patchField created on freestore.

from dictionary

autoPtr<PatchField<Type> > New const TetPointPatchField< PatchField, PointPatch, Type > &  ,
const PointPatch &  ,
const Field< Type > &  ,
const TetPointPatchFieldMapper
[static]
 

Return a pointer to a new patchField created on freestore from.

a given TetPointPatchField mapped onto a new patch

autoPtr<PatchField<Type> > New const word ,
const PointPatch &  ,
const Field< Type > & 
[static]
 

Return a pointer to a new patchField created on freestore given.

patch and internal field (does not set the patch field values)

autoPtr<TetPointPatchField<PatchField, PointPatch, Type> > NewCalculatedType const TetPointPatchField< PatchField, PointPatch, Type2 > &   )  [static]
 

Return a pointer to a new CalculatedTetPointPatchField created on.

freestore without setting patchField values

virtual void operator *= const   scalar  )  [inline, virtual]
 

Definition at line 470 of file TetPointPatchField.H.

virtual void operator *= const Field< scalar > &   )  [inline, virtual]
 

Definition at line 464 of file TetPointPatchField.H.

virtual void operator *= const TetPointPatchField< PatchField, PointPatch, scalar > &   )  [inline, virtual]
 

Definition at line 449 of file TetPointPatchField.H.

virtual void operator+= const Type &   )  [inline, virtual]
 

Definition at line 468 of file TetPointPatchField.H.

virtual void operator+= const Field< Type > &   )  [inline, virtual]
 

Definition at line 461 of file TetPointPatchField.H.

virtual void operator+= const TetPointPatchField< PatchField, PointPatch, Type > &   )  [inline, virtual]
 

Definition at line 437 of file TetPointPatchField.H.

virtual void operator-= const Type &   )  [inline, virtual]
 

Definition at line 469 of file TetPointPatchField.H.

virtual void operator-= const Field< Type > &   )  [inline, virtual]
 

Definition at line 462 of file TetPointPatchField.H.

virtual void operator-= const TetPointPatchField< PatchField, PointPatch, Type > &   )  [inline, virtual]
 

Definition at line 443 of file TetPointPatchField.H.

virtual void operator/= const   scalar  )  [inline, virtual]
 

Definition at line 471 of file TetPointPatchField.H.

virtual void operator/= const Field< scalar > &   )  [inline, virtual]
 

Definition at line 465 of file TetPointPatchField.H.

virtual void operator/= const TetPointPatchField< PatchField, PointPatch, scalar > &   )  [inline, virtual]
 

Definition at line 455 of file TetPointPatchField.H.

virtual void operator= const Type &   )  [inline, virtual]
 

Reimplemented in tetPolyPatchField.

Definition at line 467 of file TetPointPatchField.H.

virtual void operator= const Field< Type > &   )  [inline, virtual]
 

Definition at line 460 of file TetPointPatchField.H.

virtual void operator= const TetPointPatchField< PatchField, PointPatch, Type > &   )  [inline, virtual]
 

Definition at line 431 of file TetPointPatchField.H.

virtual void operator== const Type &   )  [inline, virtual]
 

Definition at line 483 of file TetPointPatchField.H.

virtual void operator== const Field< Type > &   )  [inline, virtual]
 

Definition at line 482 of file TetPointPatchField.H.

virtual void operator== const TetPointPatchField< PatchField, PointPatch, Type > &   )  [inline, virtual]
 

Definition at line 477 of file TetPointPatchField.H.

const PointPatch& patch  )  const [inline]
 

Return patch.

Definition at line 252 of file TetPointPatchField.H.

tmp<Field<Type1> > patchInternalField const Field< Type1 > &  iF  )  const
 

Return field created from appropriate internal field values.

given internal field reference

tmp<Field<Type> > patchInternalField  )  const
 

Return field created from appropriate internal field values.

virtual void rmap const TetPointPatchField< PatchField, PointPatch, Type > &  ,
const labelList
[inline, virtual]
 

Reverse map the given TetPointPatchField onto.

this TetPointPatchField

Definition at line 314 of file TetPointPatchField.H.

virtual void setBoundaryCondition Map< constraint< Type > > &   )  const [inline, virtual]
 

Set boundary condition to matrix.

Reimplemented in tetPolyPatchField.

Definition at line 362 of file TetPointPatchField.H.

void setInInternalField Field< Type1 > &  iF,
const Field< Type1 > &  pF
const
 

Given the internal field and a patch field,.

set the patch field in the internal field

label size  )  const [inline]
 

Return size.

Definition at line 246 of file TetPointPatchField.H.

virtual bool storesFieldData  )  const [inline, virtual]
 

Does it store field data.

Definition at line 324 of file TetPointPatchField.H.

TypeName "TetPointPatchField< PatchField, PointPatch, Type >"   ) 
 

Runtime type information.

virtual void updateBoundaryField  )  [inline, virtual]
 

Update boundary value.

Definition at line 347 of file TetPointPatchField.H.

virtual void write Ostream  )  const [virtual]
 

Write.


Friends And Related Function Documentation

Ostream& operator Ostream ,
const TetPointPatchField< PatchField, PointPatch, Type > & 
[friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org