Loading...
Searching...
No Matches
linearInterpolation Class Reference

Implements a linear (with respect to beta) term for topology optimisation. More...

#include <linearInterpolation.H>

Inheritance diagram for linearInterpolation:
Collaboration diagram for linearInterpolation:

Public Member Functions

 TypeName ("linear")
 Runtime type information.
 linearInterpolation (const fvMesh &mesh, const dictionary &dict)
 Construct from components.
virtual ~linearInterpolation ()=default
 Destructor.
virtual void interpolate (const scalarField &arg, scalarField &res) const
 Interpolate argument and write to result.
virtual tmp< scalarFieldderivative (const scalarField &arg) const
 Return of function with respect to the argument field.
Public Member Functions inherited from topOInterpolationFunction
 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 setLengthScaleParam (const scalar lengthScale)
 Set the parameter determining length scale.

Additional Inherited Members

Static Public Member Functions inherited from topOInterpolationFunction
static autoPtr< topOInterpolationFunctionNew (const fvMesh &mesh, const dictionary &dict)
 Return an autoPtr to the selected interpolation type.
Protected Attributes inherited from topOInterpolationFunction
const fvMeshmesh_
dictionary dict_

Detailed Description

Implements a linear (with respect to beta) term for topology optimisation.

InterpolationFiles linearInterpolation.C

Definition at line 45 of file linearInterpolation.H.

Constructor & Destructor Documentation

◆ linearInterpolation()

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

Construct from components.

Definition at line 41 of file linearInterpolation.C.

References dict, and mesh.

◆ ~linearInterpolation()

virtual ~linearInterpolation ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "linear" )

Runtime type information.

References dict, and mesh.

◆ interpolate()

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

Interpolate argument and write to result.

Implements topOInterpolationFunction.

Definition at line 53 of file linearInterpolation.C.

◆ derivative()

Foam::tmp< Foam::scalarField > derivative ( const scalarField & arg) const
virtual

Return of function with respect to the argument field.

Implements topOInterpolationFunction.

Definition at line 64 of file linearInterpolation.C.

References tmp< T >::New(), and UList< T >::size().

Here is the call graph for this function:

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