Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tempus_DIRK_Staggered_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 
10 #include "Tempus_DIRK_FSA.hpp"
11 
15 
16 std::string method_name;
17 
18 namespace Tempus_Test {
19 
20 TEUCHOS_UNIT_TEST(DIRK, SinCos_Staggered_FSA)
21 {
22  test_sincos_fsa(method_name, false, false, out, success);
23 }
24 
25 TEUCHOS_UNIT_TEST(DIRK, SinCos_Staggered_FSA_Tangent)
26 {
27  test_sincos_fsa(method_name, false, true, out, success);
28 }
29 
30 } // namespace Tempus_Test
31 
32 int main(int argc, char* argv[])
33 {
34  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
35 
36  // Add "--method" command line argument
38  method_name = "";
39  CLP.setOption("method", &method_name, "Stepper method");
40 
42 }
int main(int argc, char *argv[])
static CommandLineProcessor & getCLP()
TEUCHOS_UNIT_TEST(BackwardEuler, SinCos_ASA)
static int runUnitTestsFromMain(int argc, char *argv[])
void setOption(const char option_true[], const char option_false[], bool *option_val, const char documentation[]=NULL)
void test_sincos_fsa(const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
std::string method_name