NaturalBC
-
class NaturalBC : public godzilla::BoundaryCondition
Base class for natural boundary conditions.
Public Functions
-
virtual void create() override
Called to construct the object.
-
virtual void set_up() override
Set up this boundary condition.
-
Int get_field_id() const
Get the ID of the field this boundary condition operates on.
- Returns:
ID of the field
-
virtual const std::vector<Int> &get_components() const = 0
Get the component numbers this boundary condition is constraining.
- Returns:
Vector of component numbers
-
virtual void set_up_weak_form() = 0
Set up the weak form for the boundary integral of this boundary condition.
-
virtual void create() override