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

#include <potential/tetherPotential.H>


Detailed Description

Source files

Definition at line 53 of file tetherPotential.H.

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_

Constructor & Destructor Documentation

tetherPotential ( const tetherPotential &    ) [protected]

Disallow copy construct.

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

Construct from components.

Definition at line 40 of file tetherPotential.C.

virtual ~tetherPotential (  ) [inline, virtual]

Definition at line 116 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 36 of file newTetherPotential.C.

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

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 126 of file tetherPotential.H.

References tetherPotential::tetherPotentialProperties_.

Referenced by tetherPotential::read().

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

Member Data Documentation

word name_ [protected]

Definition at line 60 of file tetherPotential.H.


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