OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

SubDimensionedField Class Template Reference

Inheritance diagram for SubDimensionedField:

Inheritance graph
[legend]
Collaboration diagram for SubDimensionedField:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class Type, class GeoMesh>
class Foam::SubDimensionedField< Type, GeoMesh >

Definition at line 62 of file SubDimensionedField.H.


Public Types

typedef GeoMesh::Mesh Mesh
typedef Field< Type >::cmptType cmptType
 Component type.

Public Member Functions

 SubDimensionedField (const SubField< Type > &slist)
 Construct from a SubField.
 SubDimensionedField (const UList< Type > &list, const label subSize)
 Construct from a UList and size.
 SubDimensionedField (const UList< Type > &list, const label subSize, const label startIndex)
 Construct from a UList start and end indices.
 SubDimensionedField (const SubDimensionedField< cmptType, GeoMesh > &sfield)
 Construct as copy.
tmp< DimensionedField< cmptType,
GeoMesh > > 
component (const direction) const
 Return a component field of the field.
tmp< DimensionedField< Type,
GeoMesh > > 
T () const
 Return the field transpose (only defined for second rank tensors).
void operator= (const SubDimensionedField< Type, GeoMesh > &)
 Assignment.
 operator const DimensionedField () const
 Allow cast to a const DimensionedField<Type, GeoMesh>&.

Static Public Member Functions

static SubDimensionedField<
Type, GeoMesh > & 
null ()
 Return a null SubDimensionedField.

Member Typedef Documentation

Definition at line 72 of file SubDimensionedField.H.

typedef Field<Type>::cmptType cmptType

Component type.

Reimplemented from SubField.

Definition at line 73 of file SubDimensionedField.H.


Constructor & Destructor Documentation

SubDimensionedField ( const SubField< Type > &  slist  )  [inline]

Construct from a SubField.

Definition at line 41 of file SubDimensionedFieldI.H.

SubDimensionedField ( const UList< Type > &  list,
const label  subSize 
) [inline]

Construct from a UList and size.

Definition at line 50 of file SubDimensionedFieldI.H.

SubDimensionedField ( const UList< Type > &  list,
const label  subSize,
const label  startIndex 
) [inline]

Construct from a UList start and end indices.

Definition at line 61 of file SubDimensionedFieldI.H.

SubDimensionedField ( const SubDimensionedField< cmptType, GeoMesh > &  sfield  )  [inline]

Construct as copy.


Member Function Documentation

SubDimensionedField< Type, GeoMesh > & null (  )  [inline, static]

Return a null SubDimensionedField.

Reimplemented from SubField.

Definition at line 87 of file SubDimensionedFieldI.H.

tmp< Field< typename SubDimensionedField< Type, GeoMesh >::cmptType > > component ( const   direction  )  const [inline]

Return a component field of the field.

Reimplemented from SubField.

Definition at line 98 of file SubDimensionedFieldI.H.

tmp< DimensionedField< Type, GeoMesh > > T (  )  const [inline]

Return the field transpose (only defined for second rank tensors).

Reimplemented from SubField.

Definition at line 111 of file SubDimensionedFieldI.H.

void operator= ( const SubDimensionedField< Type, GeoMesh > &   )  [inline]

Assignment.

Definition at line 124 of file SubDimensionedFieldI.H.

operator const DimensionedField< Type, GeoMesh > & (  )  const [inline]

Allow cast to a const DimensionedField<Type, GeoMesh>&.

Definition at line 136 of file SubDimensionedFieldI.H.


The documentation for this class was generated from the following files: Copyright © 2000-2007 OpenCFD Ltd