Updates the porosity values in topology optimization using a sinh function. More...
#include <sinhInterpolation.H>


Public Member Functions | |
| TypeName ("sinh") | |
| Runtime type information. | |
| sinhInterpolation (const fvMesh &mesh, const dictionary &dict) | |
| Construct from components. | |
| virtual | ~sinhInterpolation ()=default |
| Destructor. | |
| virtual void | interpolate (const scalarField &arg, scalarField &res) const |
| Interpolate argument and write to result. | |
| virtual tmp< scalarField > | derivative (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< topOInterpolationFunction > | New (const fvMesh &mesh, const dictionary &dict) |
| Return an autoPtr to the selected interpolation type. | |
| Protected Attributes inherited from topOInterpolationFunction | |
| const fvMesh & | mesh_ |
| dictionary | dict_ |
Updates the porosity values in topology optimization using a sinh function.
InterpolationFiles sinhInterpolation.C
Definition at line 45 of file sinhInterpolation.H.
| sinhInterpolation | ( | const fvMesh & | mesh, |
| const dictionary & | dict ) |
Construct from components.
Definition at line 41 of file sinhInterpolation.C.
References dict, mesh, and topOInterpolationFunction::New().

|
virtualdefault |
Destructor.
|
virtual |
Interpolate argument and write to result.
Implements topOInterpolationFunction.
Definition at line 54 of file sinhInterpolation.C.
References b, topOInterpolationFunction::mesh_, and Foam::sinh().

|
virtual |
Return of function with respect to the argument field.
Implements topOInterpolationFunction.
Definition at line 69 of file sinhInterpolation.C.
References b, Foam::cosh(), topOInterpolationFunction::mesh_, tmp< T >::New(), tmp< T >::ref(), Foam::sinh(), UList< T >::size(), and Foam::Zero.
