Tempus
Version of the Day
Time Integration
Toggle main menu visibility
Loading...
Searching...
No Matches
test
ExplicitRK
Tempus_ExplicitRK_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_ExplicitRK_FSA.hpp
"
10
11
#include "Teuchos_UnitTestRepository.hpp"
12
#include "Teuchos_GlobalMPISession.hpp"
13
#include "Teuchos_CommandLineProcessor.hpp"
14
15
std::string
method_name
;
16
17
namespace
Tempus_Test
{
18
19
TEUCHOS_UNIT_TEST
(ExplicitRK, SinCos_Staggered_FSA)
20
{
21
test_sincos_fsa
(
method_name
,
false
,
false
, out, success);
22
}
23
24
TEUCHOS_UNIT_TEST
(ExplicitRK, 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
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
}
method_name
std::string method_name
Definition
Tempus_DIRK_Combined_FSA.cpp:15
Tempus_ExplicitRK_FSA.hpp
main
int main(int argc, char *argv[])
Definition
Tempus_ExplicitRK_Staggered_FSA.cpp:31
Tempus_Test
Definition
Tempus_BackwardEuler_ASA.cpp:34
Tempus_Test::TEUCHOS_UNIT_TEST
TEUCHOS_UNIT_TEST(BackwardEuler, SinCos_ASA)
Definition
Tempus_BackwardEuler_ASA.cpp:47
Tempus_Test::test_sincos_fsa
void test_sincos_fsa(const bool use_combined_method, const bool use_dfdp_as_tangent, Teuchos::FancyOStream &out, bool &success)
Definition
Tempus_BackwardEuler_FSA.hpp:48
Generated by
1.17.0