Skip to content
Snippets Groups Projects
Commit 42728084 authored by Norihiro Watanabe's avatar Norihiro Watanabe Committed by Dmitri Naumov
Browse files

[PCS] debug output the number of nodes used for BCs

parent 3742563e
No related branches found
No related tags found
No related merge requests found
...@@ -102,6 +102,9 @@ BoundaryConditionBuilder::createDirichletBoundaryCondition( ...@@ -102,6 +102,9 @@ BoundaryConditionBuilder::createDirichletBoundaryCondition(
}); });
ids.erase(ids_new_end_iterator, std::end(ids)); ids.erase(ids_new_end_iterator, std::end(ids));
DBUG("Found %d nodes for Dirichlet BCs for the variable %d and componet %d",
ids.size(), variable_id, config.component_id);
return ProcessLib::createDirichletBoundaryCondition( return ProcessLib::createDirichletBoundaryCondition(
config.config, std::move(ids), dof_table, mesh.getID(), variable_id, config.config, std::move(ids), dof_table, mesh.getID(), variable_id,
config.component_id, parameters); config.component_id, parameters);
......
...@@ -39,6 +39,8 @@ GenericNaturalBoundaryCondition<BoundaryConditionData, ...@@ -39,6 +39,8 @@ GenericNaturalBoundaryCondition<BoundaryConditionData,
static_cast<int>(dof_table_bulk.getNumberOfComponents())); static_cast<int>(dof_table_bulk.getNumberOfComponents()));
std::vector<MeshLib::Node*> nodes = MeshLib::getUniqueNodes(_elements); std::vector<MeshLib::Node*> nodes = MeshLib::getUniqueNodes(_elements);
DBUG("Found %d nodes for Natural BCs for the varialbe %d and component %d",
nodes.size(), variable_id, component_id);
auto const& mesh_subsets = auto const& mesh_subsets =
dof_table_bulk.getMeshSubsets(variable_id, component_id); dof_table_bulk.getMeshSubsets(variable_id, component_id);
......
...@@ -47,6 +47,8 @@ GenericNaturalBoundaryCondition<BoundaryConditionData, ...@@ -47,6 +47,8 @@ GenericNaturalBoundaryCondition<BoundaryConditionData,
static_cast<int>(dof_table_bulk.getNumberOfComponents())); static_cast<int>(dof_table_bulk.getNumberOfComponents()));
std::vector<MeshLib::Node*> nodes = MeshLib::getUniqueNodes(_elements); std::vector<MeshLib::Node*> nodes = MeshLib::getUniqueNodes(_elements);
DBUG("Found %d nodes for Natural BCs for the varialbe %d and component %d",
nodes.size(), variable_id, component_id);
auto const& mesh_subsets = auto const& mesh_subsets =
dof_table_bulk.getMeshSubsets(variable_id, component_id); dof_table_bulk.getMeshSubsets(variable_id, component_id);
......
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