Loading...
Searching...
No Matches
topOInterpolationFunction Class Referenceabstract

#include <topOInterpolationFunction.H>

Inheritance diagram for topOInterpolationFunction:
Collaboration diagram for topOInterpolationFunction:

Public Member Functions

 TypeName ("topOInterpolationFunction")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, topOInterpolationFunction, dictionary,(const fvMesh &mesh, const dictionary &dict),(mesh, dict))
 topOInterpolationFunction (const fvMesh &mesh, const dictionary &dict)
 Construct from components.
virtual ~topOInterpolationFunction ()=default
 Destructor.
virtual void interpolate (const scalarField &arg, scalarField &res) const =0
 Interpolate argument to result.
virtual tmp< scalarFieldderivative (const scalarField &arg) const =0
 Return of function with respect to the argument field.
virtual void setLengthScaleParam (const scalar lengthScale)
 Set the parameter determining length scale.

Static Public Member Functions

static autoPtr< topOInterpolationFunctionNew (const fvMesh &mesh, const dictionary &dict)
 Return an autoPtr to the selected interpolation type.

Protected Attributes

const fvMeshmesh_
dictionary dict_

Detailed Description

Definition at line 50 of file topOInterpolationFunction.H.

Constructor & Destructor Documentation

◆ topOInterpolationFunction()

topOInterpolationFunction ( const fvMesh & mesh,
const dictionary & dict )

Construct from components.

Definition at line 36 of file topOInterpolationFunction.C.

References dict, dict_, mesh, and mesh_.

◆ ~topOInterpolationFunction()

virtual ~topOInterpolationFunction ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "topOInterpolationFunction" )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr ,
topOInterpolationFunction ,
dictionary ,
(const fvMesh &mesh, const dictionary &dict) ,
(mesh, dict)  )

References dict, and mesh.

◆ New()

◆ interpolate()

virtual void interpolate ( const scalarField & arg,
scalarField & res ) const
pure virtual

◆ derivative()

◆ setLengthScaleParam()

void setLengthScaleParam ( const scalar lengthScale)
virtual

Set the parameter determining length scale.

Warning if the selected interpolation function has no such param

Reimplemented in tanhInterpolation.

Definition at line 79 of file topOInterpolationFunction.C.

References Foam::endl(), Foam::type(), and WarningInFunction.

Here is the call graph for this function:

Member Data Documentation

◆ mesh_

◆ dict_


The documentation for this class was generated from the following files:
  • src/optimisation/adjointOptimisation/adjoint/optimisation/designVariables/topODesignVariables/interpolationFunctions/interpolationFunction/topOInterpolationFunction.H
  • src/optimisation/adjointOptimisation/adjoint/optimisation/designVariables/topODesignVariables/interpolationFunctions/interpolationFunction/topOInterpolationFunction.C