Peano
TP_Parameters.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include <string>
6 
7 // The TP Parameter set from the Cactus
8 // as header. Yeah, it's not nice, but for the time being okay
9 // for a first compilation
10 
11 namespace TP {
12 struct Parameters : public LoggingAdapter {
13  Parameters();
14  void PrintParameters();
15 
16  // Cactus inherits are still problematic:
17  // ie. there's a conformal_state variable probably inherited from thorn StaticConformal
18 
19  bool verbose;
22  double adm_tol;
23  std::string grid_setup_method;
24  std::string initial_lapse;
25 
26  static constexpr int npoints_A = 30;
27  static constexpr int npoints_B = 30;
28  static constexpr int npoints_phi = 16; // has to be multiples of 4
29  static constexpr int npoints_A_low = 3;
30  static constexpr int npoints_B_low = 3;
31  static constexpr int npoints_phi_low = 4; // has to be multiples of 4
32 
33  double Newton_tol;
35  double TP_epsilon;
36  double TP_Tiny;
38  double par_b;
39  double par_bv;
40  double par_m_plus;
41  double par_m_minus;
42  double target_M_plus;
44  double par_P_plus[3];
45  double par_P_minus[3];
46  double par_S_plus[3];
47  double par_S_minus[3];
48  double center_offset[3];
50  bool swap_xz;
59 
60 
61  // From thorn Einsteinbase/StaticConformal:
62  std::string metric_type;
63  std::string conformal_storage;
65 
66  // Interface of TwoPunctures:
67  double J1, J2, J3;
68  double mp, mm, mp_adm, mm_adm;
69 
70 }; // class Parameters
71 } // namespace
72 
This file contains aliases for making access to the long state vector Q as used eg.
Definition: CoordTransf.cpp:13
The LoggingAdapter: Logging in Cactus/printf style without macros.
Definition: TP_Logging.h:44
double par_S_plus[3]
Definition: TP_Parameters.h:46
std::string grid_setup_method
Definition: TP_Parameters.h:23
std::string metric_type
Definition: TP_Parameters.h:62
bool schedule_in_ADMBase_InitialData
Definition: TP_Parameters.h:57
bool use_external_initial_guess
Definition: TP_Parameters.h:53
bool multiply_old_lapse
Definition: TP_Parameters.h:56
static constexpr int npoints_phi
Definition: TP_Parameters.h:28
double par_P_plus[3]
Definition: TP_Parameters.h:44
void PrintParameters()
bool solve_momentum_constraint
Definition: TP_Parameters.h:58
std::string conformal_storage
Definition: TP_Parameters.h:63
double par_S_minus[3]
Definition: TP_Parameters.h:47
static constexpr int npoints_A
Definition: TP_Parameters.h:26
double TP_Extend_Radius
Definition: TP_Parameters.h:37
double par_m_minus
Definition: TP_Parameters.h:41
double center_offset[3]
Definition: TP_Parameters.h:48
double target_M_minus
Definition: TP_Parameters.h:43
static constexpr int npoints_B_low
Definition: TP_Parameters.h:30
double par_P_minus[3]
Definition: TP_Parameters.h:45
static constexpr int npoints_phi_low
Definition: TP_Parameters.h:31
static constexpr int npoints_B
Definition: TP_Parameters.h:27
double target_M_plus
Definition: TP_Parameters.h:42
static constexpr int npoints_A_low
Definition: TP_Parameters.h:29
bool do_residuum_debug_output
Definition: TP_Parameters.h:54
double initial_lapse_psi_exponent
Definition: TP_Parameters.h:49
std::string initial_lapse
Definition: TP_Parameters.h:24
bool do_initial_debug_output
Definition: TP_Parameters.h:55