56 public regularisationPDE
64 Helmholtz(
const Helmholtz&) =
delete;
67 void operator=(
const Helmholtz&) =
delete;
91 const bool isTopoField,
93 const scalar minSetValue =
Zero,
94 const bool fixATildaValues =
true
127 const bool isTopoField,
129 const scalar minSetValue =
Zero,
130 const bool fixATildaValues =
true
scalar wallValue_
Fixed value at wall boundaries. Defaults to 1.
virtual ~Helmholtz()=default
Destructor.
TypeName("Helmholtz")
Runtime type information.
void solveEqn(const volScalarField &aTilda, const scalarField &source, scalarField &result, const bool isTopoField, const regularisationRadius &radius, const scalar minSetValue=Zero, const bool fixATildaValues=true)
Solve the regulatisation equation.
virtual void regularise(const volScalarField &aTilda, const scalarField &source, scalarField &result, const bool isTopoField, const regularisationRadius &radius, const scalar minSetValue=Zero, const bool fixATildaValues=true)
Regularise field (or sensitivities) using a Laplace PDE.
bool solveOnActiveCells_
Solve the regularisationPDE only on a subset mesh made of the active cell zones.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Base class for selecting the regulatisation radius.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static constexpr const zero Zero
Global zero (0).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.