42 #ifndef dynamicTopODesignVariables_H 43 #define dynamicTopODesignVariables_H 77 const label fluidID = 0,
78 const bool activeIO =
false virtual void evolveNumber()
Update the active design variables.
virtual ~dynamicTopODesignVariables()=default
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void setActiveDesignVariables(const label fluidID=0, const bool activeIO=false)
Set active design variables.
virtual bool writeData(Ostream &) const
The writeData function required by the regIOobject write operation.
Design variables for porosity-based topology optimisation (topO) problems.
marchingCells marchCells_
Mechanism for gradually activating design variables.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
label size() const noexcept
The number of elements in the container.
label evolvedCount_
Number of times the design variables have evolved.
static autoPtr< dynamicTopODesignVariables > New(fvMesh &mesh, const dictionary &dict)
Construct and return the selected design variables.
Mesh data needed to do the Finite Volume discretisation.
TypeName("dynamicTopO")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Design variables for topology optimisation problems. Active design variables are added gradually...