-
Notifications
You must be signed in to change notification settings - Fork 576
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Pull Request #12507 from trilinos/Trilinos/12505-Tempus-Split-U…
…p-IMEX-RK-Partitioned-FSA-Tests Automatically Merged using Trilinos Pull Request AutoTester PR Title: b'Tempus: Split Up IMEX RK Partitioned FSA Tests' PR Author: ccober6
- Loading branch information
Showing
5 changed files
with
147 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
packages/tempus/test/IMEX_RK_Partitioned/Tempus_IMEX_RK_Partitioned_Combined_FSA_Tangent.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// @HEADER | ||
// **************************************************************************** | ||
// Tempus: Copyright (2017) Sandia Corporation | ||
// | ||
// Distributed under BSD 3-clause license (See accompanying file Copyright.txt) | ||
// **************************************************************************** | ||
// @HEADER | ||
|
||
#include "Tempus_IMEX_RK_Partitioned_FSA.hpp" | ||
|
||
#include "Teuchos_UnitTestRepository.hpp" | ||
#include "Teuchos_GlobalMPISession.hpp" | ||
#include "Teuchos_CommandLineProcessor.hpp" | ||
|
||
std::string method_name; | ||
|
||
namespace Tempus_Test { | ||
|
||
TEUCHOS_UNIT_TEST(IMEX_RK_Partitioned, VanDerPol_Combined_FSA_Tangent) | ||
{ | ||
test_vdp_fsa(method_name, true, true, out, success); | ||
} | ||
|
||
|
||
} // namespace Tempus_Test | ||
|
||
int main( int argc, char* argv[] ) | ||
{ | ||
Teuchos::GlobalMPISession mpiSession(&argc, &argv); | ||
|
||
// Add "--method" command line argument | ||
Teuchos::CommandLineProcessor& CLP = Teuchos::UnitTestRepository::getCLP(); | ||
method_name = ""; | ||
CLP.setOption("method", &method_name, "Stepper method"); | ||
|
||
return Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...ages/tempus/test/IMEX_RK_Partitioned/Tempus_IMEX_RK_Partitioned_Staggered_FSA_Tangent.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// @HEADER | ||
// **************************************************************************** | ||
// Tempus: Copyright (2017) Sandia Corporation | ||
// | ||
// Distributed under BSD 3-clause license (See accompanying file Copyright.txt) | ||
// **************************************************************************** | ||
// @HEADER | ||
|
||
#include "Tempus_IMEX_RK_Partitioned_FSA.hpp" | ||
|
||
#include "Teuchos_UnitTestRepository.hpp" | ||
#include "Teuchos_GlobalMPISession.hpp" | ||
#include "Teuchos_CommandLineProcessor.hpp" | ||
|
||
std::string method_name; | ||
|
||
namespace Tempus_Test { | ||
|
||
TEUCHOS_UNIT_TEST(IMEX_RK_Partitioned, VanDerPol_Staggered_FSA_Tangent) | ||
{ | ||
test_vdp_fsa(method_name, false, true, out, success); | ||
} | ||
|
||
} // namespace Tempus_Test | ||
|
||
int main( int argc, char* argv[] ) | ||
{ | ||
Teuchos::GlobalMPISession mpiSession(&argc, &argv); | ||
|
||
// Add "--method" command line argument | ||
Teuchos::CommandLineProcessor& CLP = Teuchos::UnitTestRepository::getCLP(); | ||
method_name = ""; | ||
CLP.setOption("method", &method_name, "Stepper method"); | ||
|
||
return Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv); | ||
} |