Tempus Version of the Day
Time Integration
Loading...
Searching...
No Matches
Tempus_IMEX_RK_Partitioned_Combined_FSA.cpp
Go to the documentation of this file.
1//@HEADER
2// *****************************************************************************
3// Tempus: Time Integration and Sensitivity Analysis Package
4//
5// Copyright 2017 NTESS and the Tempus contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8//@HEADER
9
11
12#include "Teuchos_UnitTestRepository.hpp"
13#include "Teuchos_GlobalMPISession.hpp"
14#include "Teuchos_CommandLineProcessor.hpp"
15
16std::string method_name;
17
18namespace Tempus_Test {
19
20TEUCHOS_UNIT_TEST(IMEX_RK_Partitioned, VanDerPol_Combined_FSA)
21{
22 test_vdp_fsa(method_name, true, false, out, success);
23}
24
25} // namespace Tempus_Test
26
27int main(int argc, char* argv[])
28{
29 Teuchos::GlobalMPISession mpiSession(&argc, &argv);
30
31 // Add "--method" command line argument
32 Teuchos::CommandLineProcessor& CLP = Teuchos::UnitTestRepository::getCLP();
33 method_name = "";
34 CLP.setOption("method", &method_name, "Stepper method");
35
36 return Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv);
37}
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)