Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Tempus_IMEX_RK_Partitioned_Staggered_FSA.cpp
Go to the documentation of this file.
1// @HEADER
2// ****************************************************************************
3// Tempus: Copyright (2017) Sandia Corporation
4//
5// Distributed under BSD 3-clause license (See accompanying file Copyright.txt)
6// ****************************************************************************
7// @HEADER
8
10
11#include "Teuchos_UnitTestRepository.hpp"
12#include "Teuchos_GlobalMPISession.hpp"
13#include "Teuchos_CommandLineProcessor.hpp"
14
15std::string method_name;
16
17namespace Tempus_Test {
18
19TEUCHOS_UNIT_TEST(IMEX_RK_Partitioned, VanDerPol_Staggered_FSA)
20{
21 test_vdp_fsa(method_name, false, false, out, success);
22}
23
24TEUCHOS_UNIT_TEST(IMEX_RK_Partitioned, VanDerPol_Staggered_FSA_Tangent)
25{
26 test_vdp_fsa(method_name, false, true, out, success);
27}
28
29} // namespace Tempus_Test
30
31int main( int argc, char* argv[] )
32{
33 Teuchos::GlobalMPISession mpiSession(&argc, &argv);
34
35 // Add "--method" command line argument
36 Teuchos::CommandLineProcessor& CLP = Teuchos::UnitTestRepository::getCLP();
37 method_name = "";
38 CLP.setOption("method", &method_name, "Stepper method");
39
40 return Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv);
41}
std::string method_name
int main(int argc, char *argv[])
void test_vdp_fsa(const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
TEUCHOS_UNIT_TEST(BackwardEuler, SinCos_ASA)