Loading...
Searching...
No Matches
expInterpolation Class Reference

Computes the Brickmann penalization function for topology optimisation, relying on exp functions and proposed in. More...

#include <expInterpolation.H>

Inheritance diagram for expInterpolation:
Collaboration diagram for expInterpolation:

Public Member Functions

 TypeName ("exp")
 Runtime type information.
 expInterpolation (const fvMesh &mesh, const dictionary &dict)
 Construct from components.
virtual ~expInterpolation ()=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

Computes the Brickmann penalization function for topology optimisation, relying on exp functions and proposed in.

Reference:

    Wang, F., Lazarov, B., Sigmund, O.(2011).
    On projection methods, convergence and robust formulations in topology
    optimization.
    Structural and Multidisciplinary Optimization 43(6), 767–784.
    https://doi:10.1007/s00158-010-0602-y
Source files

Definition at line 58 of file expInterpolation.H.

Constructor & Destructor Documentation

◆ expInterpolation()

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

Construct from components.

Definition at line 41 of file expInterpolation.C.

References dict, mesh, and topOInterpolationFunction::New().

Here is the call graph for this function:

◆ ~expInterpolation()

virtual ~expInterpolation ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "exp" )

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 54 of file expInterpolation.C.

References b, DebugInfo, Foam::endl(), Foam::exp(), topOInterpolationFunction::mesh_, and Foam::type().

Here is the call graph for this function:

◆ 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 70 of file expInterpolation.C.

References b, DebugInfo, Foam::endl(), Foam::exp(), topOInterpolationFunction::mesh_, tmp< T >::New(), tmp< T >::ref(), UList< T >::size(), Foam::type(), and Foam::Zero.

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/exp/expInterpolation.H
  • src/optimisation/adjointOptimisation/adjoint/optimisation/designVariables/topODesignVariables/interpolationFunctions/exp/expInterpolation.C