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

tetherPotential Class Reference

Inheritance diagram for tetherPotential:
Collaboration diagram for tetherPotential:

List of all members.


Public Member Functions

 TypeName ("tetherPotential")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, tetherPotential, dictionary,(const word &name, const dictionary &tetherPotentialProperties),(name, tetherPotentialProperties))
 tetherPotential (const word &name, const dictionary &tetherPotentialProperties)
 Construct from components.
virtual ~tetherPotential ()
virtual scalar energy (const vector r) const =0
virtual vector force (const vector r) const =0
const dictionary & tetherPotentialProperties () const
virtual bool read (const dictionary &tetherPotentialProperties)=0
 Read tetherPotential dictionary.

Static Public Member Functions

static autoPtr< tetherPotential > New (const word &name, const dictionary &tetherPotentialProperties)
 Return a reference to the selected viscosity model.

Protected Member Functions

 tetherPotential (const tetherPotential &)
 Disallow copy construct.
void operator= (const tetherPotential &)
 Disallow default bitwise assignment.

Protected Attributes

word name_
dictionary tetherPotentialProperties_

Detailed Description

Source files

Definition at line 48 of file tetherPotential.H.


Constructor & Destructor Documentation

tetherPotential ( const tetherPotential &   )  [protected]

Disallow copy construct.

tetherPotential ( const word &  name,
const dictionary &  tetherPotentialProperties 
)

Construct from components.

Definition at line 32 of file tetherPotential.C.

References Foam::defineRunTimeSelectionTable(), and Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

virtual ~tetherPotential (  )  [inline, virtual]

Definition at line 111 of file tetherPotential.H.


Member Function Documentation

void operator= ( const tetherPotential &   )  [protected]

Disallow default bitwise assignment.

TypeName ( "tetherPotential"   ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
tetherPotential  ,
dictionary  ,
(const word &name, const dictionary &tetherPotentialProperties)  ,
(name, tetherPotentialProperties)   
)

autoPtr< tetherPotential > New ( const word &  name,
const dictionary &  tetherPotentialProperties 
) [static]

Return a reference to the selected viscosity model.

Definition at line 28 of file newTetherPotential.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), Foam::name(), and Foam::nl.

Here is the call graph for this function:

virtual scalar energy ( const vector  r  )  const [pure virtual]

virtual vector force ( const vector  r  )  const [pure virtual]

const dictionary& tetherPotentialProperties (  )  const [inline]

Definition at line 121 of file tetherPotential.H.

References tetherPotential::tetherPotentialProperties_.

bool read ( const dictionary &  tetherPotentialProperties  )  [pure virtual]

Read tetherPotential dictionary.

Implemented in harmonicSpring, pitchForkRing, and restrainedHarmonicSpring.

Definition at line 45 of file tetherPotential.C.


Member Data Documentation

word name_ [protected]

Definition at line 55 of file tetherPotential.H.


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