FreeFOAM The Cross-Platform CFD Toolkit
SRFVelocityFvPatchVectorField Class Reference

Velocity patch to be used with SRF model. More...

#include <finiteVolume/SRFVelocityFvPatchVectorField.H>


Detailed Description

List of all members.

Public Member Functions

 TypeName ("SRFVelocity")
 Runtime type information.
 SRFVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 SRFVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given SRFVelocityFvPatchVectorField.
 SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &)
 Construct as copy.
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone.
 SRFVelocityFvPatchVectorField (const SRFVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference.
const Switchrelative () const
 Return const access to the relative flag.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchVectorField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 40 of file SRFVelocityFvPatchVectorField.C.

Referenced by SRFVelocityFvPatchVectorField::clone().

SRFVelocityFvPatchVectorField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 66 of file SRFVelocityFvPatchVectorField.C.

References fvPatchField< Type >::operator=(), and fvPatch::size().

SRFVelocityFvPatchVectorField ( const SRFVelocityFvPatchVectorField ptf,
const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given SRFVelocityFvPatchVectorField.

onto a new patch

Definition at line 52 of file SRFVelocityFvPatchVectorField.C.

Construct as copy.

Definition at line 81 of file SRFVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 92 of file SRFVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "SRFVelocity"  )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 103 of file SRFVelocityFvPatchVectorField.H.

References SRFVelocityFvPatchVectorField::SRFVelocityFvPatchVectorField().

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 120 of file SRFVelocityFvPatchVectorField.H.

References SRFVelocityFvPatchVectorField::SRFVelocityFvPatchVectorField().

const Switch& relative ( ) const
inline

Return const access to the relative flag.

Definition at line 136 of file SRFVelocityFvPatchVectorField.H.

Referenced by SRFModel::Uabs().

void autoMap ( const fvPatchFieldMapper m)
virtual

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

Definition at line 106 of file SRFVelocityFvPatchVectorField.C.

References Field< vector >::autoMap().

void rmap ( const fvPatchVectorField ptf,
const labelList addr 
)
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 116 of file SRFVelocityFvPatchVectorField.C.

References SRFVelocityFvPatchVectorField::rmap().

Referenced by SRFVelocityFvPatchVectorField::rmap().

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 130 of file SRFVelocityFvPatchVectorField.C.

References Foam::operator==(), and SRFModel::velocity().

void write ( Ostream os) const
virtual

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