diff --git a/include/boundaryvalues.h b/include/boundaryvalues.h index 44579f3..ea0877a 100644 --- a/include/boundaryvalues.h +++ b/include/boundaryvalues.h @@ -25,8 +25,8 @@ class PressureDirichletBoundaryValues : public Function { virtual void set_boundary_id(int bnd_id) { boundary_id = bnd_id; } private: - const double period{0.}; // value - int boundary_id{0}; + const double period; // value + int boundary_id{-1}; }; template @@ -61,7 +61,7 @@ class TemperatureDirichletBoundaryValues : public Function { private: const double period; // value - int boundary_id; + int boundary_id{-1}; }; template