Tempus
Version of the Day
Time Integration
Loading...
Searching...
No Matches
test
ExplicitRK
Tempus_ExplicitRK_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
10
#include "
Tempus_ExplicitRK_FSA.hpp
"
11
12
#include "Teuchos_UnitTestRepository.hpp"
13
#include "Teuchos_GlobalMPISession.hpp"
14
#include "Teuchos_CommandLineProcessor.hpp"
15
16
std::string
method_name
;
17
18
namespace
Tempus_Test
{
19
20
TEUCHOS_UNIT_TEST
(ExplicitRK, SinCos_Combined_FSA)
21
{
22
test_sincos_fsa
(
method_name
,
true
,
false
, out, success);
23
}
24
25
TEUCHOS_UNIT_TEST
(ExplicitRK, SinCos_Combined_FSA_Tangent)
26
{
27
test_sincos_fsa
(
method_name
,
true
,
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
37
Teuchos::CommandLineProcessor& CLP = Teuchos::UnitTestRepository::getCLP();
38
method_name
=
""
;
39
CLP.setOption(
"method"
, &
method_name
,
"Stepper method"
);
40
41
return
Teuchos::UnitTestRepository::runUnitTestsFromMain(argc, argv);
42
}
method_name
std::string method_name
Definition
Tempus_DIRK_Combined_FSA.cpp:16
main
int main(int argc, char *argv[])
Definition
Tempus_ExplicitRK_Combined_FSA.cpp:32
Tempus_ExplicitRK_FSA.hpp
Tempus_Test
Definition
Tempus_BackwardEuler_ASA.cpp:34
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, const bool use_row_sum_scaling=false)
Definition
Tempus_BackwardEuler_FSA.hpp:46
Tempus_Test::TEUCHOS_UNIT_TEST
TEUCHOS_UNIT_TEST(BackwardEuler, SinCos_ASA)
Definition
Tempus_BackwardEuler_ASA.cpp:47
Generated by
1.15.0