Skip to content

Commit

Permalink
Move diagonal computation in debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
davidscn committed Mar 8, 2024
1 parent 131701f commit ff72a2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/solid_mechanics/mf_elasticity.h
Original file line number Diff line number Diff line change
Expand Up @@ -1094,10 +1094,10 @@ namespace FSI

// need to cache prior to diagonal computations:
nh_operator.cache();
nh_operator.compute_diagonal();

if (debug_level > 0)
{
nh_operator.compute_diagonal();
deallog
<< "Number of constrained DoFs "
<< Utilities::MPI::sum(mf_data_current->get_constrained_dofs().size(),
Expand Down
2 changes: 1 addition & 1 deletion tests/solid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.10.2)
SET(TARGET "dummy_tester")
PROJECT(${TARGET} LANGUAGES CXX DESCRIPTION ${TARGET})

FIND_PACKAGE(precice REQUIRED CONFIG)
FIND_PACKAGE(precice 3.0 REQUIRED CONFIG)
ADD_EXECUTABLE(
${TARGET}
${TARGET}.cpp)
Expand Down

0 comments on commit ff72a2c

Please sign in to comment.