Skip to content

Commit

Permalink
add sundials_core include in unit test files since we removed sundial…
Browse files Browse the repository at this point in the history
…s_context.hpp from sundials_context.h
  • Loading branch information
balos1 committed Dec 13, 2023
1 parent 64f4386 commit d48d1f0
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <iostream>
#include <nvector/nvector_serial.h>
#include <string>
#include <sundials/sundials_core.hpp>
#include <sunlinsol/sunlinsol_dense.h>
#include <sunmatrix/sunmatrix_dense.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <iostream>
#include <nvector/nvector_serial.h>
#include <string>
#include <sundials/sundials_core.hpp>

#include "arkode/arkode_butcher.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <iostream>
#include <nvector/nvector_serial.h>
#include <string>
#include <sundials/sundials_core.hpp>
#include <sunlinsol/sunlinsol_dense.h>
#include <sunmatrix/sunmatrix_dense.h>

Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/arkode/CXX_serial/ark_test_getjac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "arkode/arkode_arkstep.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sundials/sundials_math.h"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"
Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/arkode/CXX_serial/ark_test_getjac_mri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include "arkode/arkode_arkstep.h"
#include "arkode/arkode_mristep.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sundials/sundials_math.h"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"
Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/cvode/CXX_serial/cv_test_getjac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "cvode/cvode.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sundials/sundials_math.h"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"
Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/cvode/CXX_serial/cv_test_kpr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "cvode/cvode.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"

Expand Down
2 changes: 1 addition & 1 deletion test/unit_tests/cvodes/CXX_serial/cvs_test_getjac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "cvodes/cvodes.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_math.h"
#include "sundials/sundials_core.hpp"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"

Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/cvodes/CXX_serial/cvs_test_kpr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "cvodes/cvodes.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"

Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/ida/CXX_serial/ida_test_getjac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "ida/ida.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sundials/sundials_math.h"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"
Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/ida/CXX_serial/ida_test_kpr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "ida/ida.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"

Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/idas/CXX_serial/idas_test_getjac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "idas/idas.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sundials/sundials_math.h"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"
Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/idas/CXX_serial/idas_test_kpr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
// Include desired integrators, vectors, linear solvers, and nonlinear solvers
#include "idas/idas.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"

Expand Down
1 change: 1 addition & 0 deletions test/unit_tests/kinsol/CXX_serial/kin_test_getjac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
// Include KINSOL,vectors, and linear solvers
#include "kinsol/kinsol.h"
#include "nvector/nvector_serial.h"
#include "sundials/sundials_core.hpp"
#include "sundials/sundials_math.h"
#include "sunlinsol/sunlinsol_dense.h"
#include "sunmatrix/sunmatrix_dense.h"
Expand Down
3 changes: 1 addition & 2 deletions test/unit_tests/sunmemory/sys/test_sunmemory_sys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*-----------------------------------------------------------------*/

#include <iostream>
#include <sundials/sundials_memory.h>
#include <sundials/sundials_types.h>
#include <sundials/sundials_core.hpp>
#include <sunmemory/sunmemory_system.h>

int test_instance(SUNMemoryHelper helper, SUNMemoryType mem_type,
Expand Down

0 comments on commit d48d1f0

Please sign in to comment.