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: Copyright (2017) Sandia Corporation
4 //
5 // Distributed under BSD 3-clause license (See accompanying file Copyright.txt)
6 // ****************************************************************************
7 // @HEADER
8 
9 #include "Tempus_DIRK_FSA.hpp"
10 
14 
15 std::string method_name;
16 
17 namespace Tempus_Test {
18 
19 TEUCHOS_UNIT_TEST(DIRK, SinCos_Staggered_FSA)
20 {
21  test_sincos_fsa(method_name, false, false, out, success);
22 }
23 
24 TEUCHOS_UNIT_TEST(DIRK, SinCos_Staggered_FSA_Tangent)
25 {
26  test_sincos_fsa(method_name, false, true, out, success);
27 }
28 
29 } // namespace Tempus_Test
30 
31 int main(int argc, char* argv[])
32 {
33  Teuchos::GlobalMPISession mpiSession(&argc, &argv);
34 
35  // Add "--method" command line argument
37  method_name = "";
38  CLP.setOption("method", &method_name, "Stepper method");
39 
41 }
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