BoundaryCondition

class BoundaryCondition : public godzilla::Object, public godzilla::PrintInterface

Base class for boundary conditions.

Subclassed by godzilla::EssentialBC, godzilla::NaturalBC, godzilla::NaturalRiemannBC

Public Functions

Int get_dimension() const

Get problem spatial dimension.

Returns:

Spatial dimension

const std::vector<std::string> &get_boundary() const

Get the boundary name this BC is active on.

Returns:

The boundary name

DiscreteProblemInterface *get_discrete_problem_interface() const

Get DiscreteProblemInterface.

Returns:

Discrete problem this BC is part of

virtual void set_up() = 0

Set up this boundary condition.

Public Static Functions

static Parameters parameters()

Method for building Parameters for this class.