OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

FieldMapper Class Reference

Abstract base class to hold the Field mapping addressing and weights. More...

Inheritance diagram for FieldMapper:

List of all members.


Public Member Functions

 FieldMapper ()
 Null constructor.
virtual ~FieldMapper ()
virtual label size () const =0
virtual bool direct () const =0
virtual const unallocLabelListdirectAddressing () const
virtual const labelListListaddressing () const
virtual const scalarListListweights () const
template<class Type >
tmp< Field< Type > > operator() (const Field< Type > &f) const

Detailed Description

Abstract base class to hold the Field mapping addressing and weights.

Definition at line 36 of file FieldMapper.H.


Constructor & Destructor Documentation

FieldMapper (  )  [inline]

Null constructor.

Definition at line 44 of file FieldMapper.H.

virtual ~FieldMapper (  )  [inline, virtual]

Definition at line 50 of file FieldMapper.H.


Member Function Documentation

virtual const labelListList& addressing (  )  const [inline, virtual]

Reimplemented in fvPatchMapper, fvSurfaceMapper, pointMapper, pointPatchMapper, cellMapper, faceMapper, and processorSurfacePatchFieldDecomposer.

Definition at line 69 of file FieldMapper.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, and UList< label >::null().

Here is the call graph for this function:

virtual const scalarListList& weights (  )  const [inline, virtual]

Reimplemented in fvPatchMapper, fvSurfaceMapper, pointMapper, pointPatchMapper, cellMapper, faceMapper, and processorSurfacePatchFieldDecomposer.

Definition at line 78 of file FieldMapper.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, and List< labelList >::null().

Here is the call graph for this function:

tmp<Field<Type> > operator() ( const Field< Type > &  f  )  const [inline]

Definition at line 91 of file FieldMapper.H.


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