FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

UniformDimensionedField< Type > Class Template Reference

Dimensioned<Type> registered with the database as a registered IOobject which has the functionality of a uniform field and allows values from the top-level code to be passed to boundary conditions etc. More...

#include <OpenFOAM/UniformDimensionedField.H>


Detailed Description

template<class Type>
class Foam::UniformDimensionedField< Type >

Dimensioned<Type> registered with the database as a registered IOobject which has the functionality of a uniform field and allows values from the top-level code to be passed to boundary conditions etc.

Source files

Definition at line 53 of file UniformDimensionedField.H.

Inheritance diagram for UniformDimensionedField< Type >:
Collaboration diagram for UniformDimensionedField< Type >:

List of all members.

Public Member Functions

 TypeName ("UniformDimensionedField")
 Runtime type information.
 UniformDimensionedField ()
 Construct null.
 UniformDimensionedField (const IOobject &, const dimensioned< Type > &)
 Construct from components.
 UniformDimensionedField (const UniformDimensionedField< Type > &)
 Construct as copy.
 UniformDimensionedField (const IOobject &)
 Construct from Istream.
virtual  ~UniformDimensionedField ()
 Destructor.
virtual const word &  name () const
 Name function provided to resolve the ambiguity between the.
bool  writeData (Ostream &) const
 Pure virtual writaData function.
void  operator= (const UniformDimensionedField< Type > &)
void  operator= (const dimensioned< Type > &)

Constructor & Destructor Documentation

Construct null.

UniformDimensionedField ( const IOobject &   io,
const dimensioned< Type > &   dt  
)

Construct from components.

Definition at line 32 of file UniformDimensionedField.C.

UniformDimensionedField ( const UniformDimensionedField< Type > &   rdt  )

Construct as copy.

Definition at line 44 of file UniformDimensionedField.C.

UniformDimensionedField ( const IOobject &   io  )

Construct from Istream.

Definition at line 55 of file UniformDimensionedField.C.

References dictionary::lookup().

~UniformDimensionedField (  ) [virtual]

Destructor.

Definition at line 71 of file UniformDimensionedField.C.


Member Function Documentation

TypeName ( "UniformDimensionedField< Type >"    )

Runtime type information.

virtual const word& name (  ) const [inline, virtual]

Name function provided to resolve the ambiguity between the.

name functions in regIOobject and dimensioned<Type>

Reimplemented from dimensioned< Type >.

Definition at line 88 of file UniformDimensionedField.H.

bool writeData ( Ostream &    ) const [virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 78 of file UniformDimensionedField.C.

References IOstream::good(), Foam::nl, and Ostream::writeKeyword().

void operator= ( const UniformDimensionedField< Type > &   rhs  )

Definition at line 93 of file UniformDimensionedField.C.

void operator= ( const dimensioned< Type > &   rhs  )

Definition at line 103 of file UniformDimensionedField.C.


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