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

pointSourceProperties Class Reference

Helper class to describe point source properties. More...

Collaboration diagram for pointSourceProperties:

List of all members.


Public Member Functions

 pointSourceProperties ()
 Construct null.
 pointSourceProperties (const dictionary &dict)
 Construct from dictionary.
 pointSourceProperties (Istream &is)
 Construct from Istream.
 pointSourceProperties (const pointSourceProperties &)
 Copy constructor.
const word & name () const
 Return const access to the source name.
scalar timeStart () const
 Return const access to the time start.
scalar timeEnd () const
 Return const access to the time end.
scalar duration () const
 Return const access to the duration.
const point & location () const
 Return const access to the point location.
const List< fieldNameValuePair > & fieldData () const
 Return const access to the source field name vs value pairs.
word & name ()
 Return access to the source name.
scalar & timeStart ()
 Return access to the time start.
scalar & duration ()
 Return access to the duration.
point & location ()
 Return access to the point location.
List< fieldNameValuePair > & fieldData ()
 Return access to the source field name vs value pairs.
void operator= (const pointSourceProperties &)

Protected Types

typedef Tuple2< word, scalar > fieldNameValuePair

Protected Attributes

word name_
 Source name.
scalar timeStart_
 Time start.
scalar duration_
 Duration.
point location_
 Point location.
List< fieldNameValuePair > fieldData_
 List of source field name vs value pairs.

Friends

Istream & operator>> (Istream &, pointSourceProperties &)
Ostream & operator<< (Ostream &, const pointSourceProperties &)

Detailed Description

Helper class to describe point source properties.

Source files

Definition at line 47 of file pointSourceProperties.H.


Member Typedef Documentation

typedef Tuple2<word, scalar> fieldNameValuePair [protected]

Definition at line 53 of file pointSourceProperties.H.


Constructor & Destructor Documentation

Construct null.

Definition at line 22 of file pointSourceProperties.C.

pointSourceProperties ( const dictionary &  dict  ) 

Construct from dictionary.

Definition at line 32 of file pointSourceProperties.C.

Copy constructor.

Definition at line 43 of file pointSourceProperties.C.


Member Function Documentation

const Foam::word & name (  )  const [inline]

Return const access to the source name.

Definition at line 22 of file pointSourcePropertiesI.H.

Foam::scalar timeStart (  )  const [inline]

Return const access to the time start.

Definition at line 28 of file pointSourcePropertiesI.H.

References pointSourceProperties::name_.

Foam::scalar timeEnd (  )  const [inline]

Return const access to the time end.

Definition at line 34 of file pointSourcePropertiesI.H.

Foam::scalar duration (  )  const [inline]

Return const access to the duration.

Definition at line 40 of file pointSourcePropertiesI.H.

const Foam::point & location (  )  const [inline]

Return const access to the point location.

Definition at line 46 of file pointSourcePropertiesI.H.

const Foam::List< Foam::pointSourceProperties::fieldNameValuePair > & fieldData (  )  const [inline]

Return const access to the source field name vs value pairs.

Definition at line 53 of file pointSourcePropertiesI.H.

References pointSourceProperties::location_.

Foam::word & name (  )  [inline]

Return access to the source name.

Definition at line 59 of file pointSourcePropertiesI.H.

References pointSourceProperties::fieldData_.

Foam::scalar & timeStart (  )  [inline]

Return access to the time start.

Definition at line 65 of file pointSourcePropertiesI.H.

Foam::scalar & duration (  )  [inline]

Return access to the duration.

Definition at line 71 of file pointSourcePropertiesI.H.

Foam::point & location (  )  [inline]

Return access to the point location.

Definition at line 77 of file pointSourcePropertiesI.H.

Return access to the source field name vs value pairs.

Definition at line 84 of file pointSourcePropertiesI.H.

References pointSourceProperties::location_.

void operator= ( const pointSourceProperties &  rhs  ) 

Definition at line 57 of file pointSourceProperties.C.


Friends And Related Function Documentation

Istream& operator>> ( Istream &  ,
pointSourceProperties &   
) [friend]

Ostream& operator<< ( Ostream &  ,
const pointSourceProperties &   
) [friend]


Member Data Documentation

word name_ [protected]

scalar timeStart_ [protected]

Time start.

Definition at line 59 of file pointSourceProperties.H.

Referenced by pointSourceProperties::pointSourceProperties().

scalar duration_ [protected]

Duration.

Definition at line 62 of file pointSourceProperties.H.

Referenced by pointSourceProperties::pointSourceProperties().

point location_ [protected]

List of source field name vs value pairs.

Definition at line 68 of file pointSourceProperties.H.

Referenced by pointSourceProperties::name(), and pointSourceProperties::pointSourceProperties().


The documentation for this class was generated from the following files:
  • src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitMulticomponentPointSource/pointSourceProperties/pointSourceProperties.H
  • src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitMulticomponentPointSource/pointSourceProperties/pointSourceProperties.C
  • src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitMulticomponentPointSource/pointSourceProperties/pointSourcePropertiesI.H
  • src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitMulticomponentPointSource/pointSourceProperties/pointSourcePropertiesIO.C
Copyright © 2000-2009 OpenCFD Ltd