Skip to content
Snippets Groups Projects
Commit 6caa4c29 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL] DirichletBCs: Remove unused _already_computed

parent 45bd4208
No related branches found
No related tags found
No related merge requests found
......@@ -18,19 +18,11 @@ namespace ProcessLib
{
void DirichletBoundaryCondition::preTimestep(const double /*t*/)
{
if (_parameter.isTimeDependent())
_already_computed = false;
}
void DirichletBoundaryCondition::getEssentialBCValues(
const double t, NumLib::IndexValueVector<GlobalIndexType>& bc_values) const
{
// TODO: Reenable when fixed ;)
//if (_already_computed)
//return;
_already_computed = true;
SpatialPosition pos;
bc_values.ids.clear();
......
......@@ -63,7 +63,6 @@ private:
std::size_t const _mesh_id;
int const _variable_id;
int const _component_id;
mutable bool _already_computed = false;
};
std::unique_ptr<DirichletBoundaryCondition> createDirichletBoundaryCondition(
......
......@@ -65,12 +65,6 @@ public:
const double /*t*/,
NumLib::IndexValueVector<GlobalIndexType>& bc_values) const override
{
// TODO: Reenable when fixed ;)
// if (_already_computed)
// return;
_already_computed = true;
SpatialPosition pos;
bc_values.ids.clear();
......@@ -106,8 +100,6 @@ private:
NumLib::LocalToGlobalIndexMap const& _dof_table_bulk;
int const _variable_id_bulk;
int const _component_id_bulk;
mutable bool _already_computed = false;
};
std::unique_ptr<NonuniformDirichletBoundaryCondition>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment