Peano
Loading...
Searching...
No Matches
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
11namespace TP {
12struct 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;
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.
double par_S_plus[3]
std::string grid_setup_method
std::string metric_type
bool schedule_in_ADMBase_InitialData
bool use_external_initial_guess
static constexpr int npoints_phi
double par_P_plus[3]
bool solve_momentum_constraint
std::string conformal_storage
double par_S_minus[3]
static constexpr int npoints_A
double TP_Extend_Radius
double center_offset[3]
double target_M_minus
static constexpr int npoints_B_low
double par_P_minus[3]
static constexpr int npoints_phi_low
static constexpr int npoints_B
static constexpr int npoints_A_low
bool do_residuum_debug_output
double initial_lapse_psi_exponent
std::string initial_lapse
bool do_initial_debug_output