3#include <unordered_map>
28 double value(
int id)
const;
46 std::unordered_map<int, double>
values;
Dirichlet boundary condition.
DirichletBoundaryCondition()=default
double value(int id) const
Get the boundary condition value.
std::unordered_map< int, double > values
boundary condition values
bool contains(int id) const
Check if the boundary condition contains the particle.
void set(int id, double value)
Set the boundary condition value.