15 std::string& topography_string,
16 int coarsestMeshLevel,
17 double coarsestMeshSize,
18 double maxAdaptiveDepth,
19 tarch::la::Vector<DIMENSIONS,double> _domainOffset,
20 tarch::la::Vector<DIMENSIONS,double> _domainSize,
25 coarsestMeshLevel, coarsestMeshSize, maxAdaptiveDepth,
26 _domainOffset, _domainSize,
38 std::string& filename_rupture_model
43 model = parser.parse(filename_rupture_model);
46 easi::ArraysAdapter<T> adapter;
47 adapter.addBindingPoint(
"mu_s",&
mu_s);
48 adapter.addBindingPoint(
"mu_d",&
mu_d);
49 adapter.addBindingPoint(
"d_c" ,&
S_c);
51 adapter.addBindingPoint(
"f_cy",&
f_cy);
52 adapter.addBindingPoint(
"f_wy",&
f_wy);
53 adapter.addBindingPoint(
"f_cz",&
f_cz);
54 adapter.addBindingPoint(
"f_wz",&
f_wz);
56 easi::Query query(1,3);
62 model->evaluate(query,adapter);
73 const T*
const QL,
const T*
const QR,
74 const double t,
const double dt,
75 const tarch::la::Vector<DIMENSIONS, double>&
cellSize,
83 T& sxx, T& syy, T& szz,
84 T& sxy, T& sxz, T& syz,
87 T& T0_n, T& T0_m, T& T0_l,
88 double*
const x,
double t,
89 T*
const l, T*
const m, T*
const n);
90 T
boxcar(T& f,
double x, T w);
91 void tauStrength(T& tau_str, T sigma_n, T S,
double*
const x,
double t);
94 T& Vel, T& tau1, T& tau2,
96 T eta, T tau_str, T sigma_n);
101 T& vn_hat_p, T& vn_hat_m,
102 T& Tn_hat_p, T& Tn_hat_m,
106 T& vm_hat_p, T& vm_hat_m,
107 T& Tm_hat_p, T& Tm_hat_m,
111 T& vl_hat_p, T& vl_hat_m,
112 T& Tl_hat_p, T& Tl_hat_m,
113 T*
const l, T*
const m, T*
const n,
114 double*
const x, T S,
double t);
const tarch::la::Vector< DIMENSIONS, double > cellSize
ContextCurvilinear(std::string &topography_string, int coarsestMeshLevel, double coarsestMeshSize, double maxAdaptiveDepth, tarch::la::Vector< DIMENSIONS, double > _domainOffset, tarch::la::Vector< DIMENSIONS, double > _domainSize, T *_nodes, T *_dudx)
void slipWeakening(T &v1, T &v2, T &Vel, T &tau1, T &tau2, T phi_1, T phi_2, T eta, T tau_str, T sigma_n)
T f_cy
These define the position of the area with frictional cohesion.
T boxcar(T &f, double x, T w)
void slipWeakeningFriction(T vn_p, T vn_m, T Tn_p, T Tn_m, T zn_p, T zn_m, T &vn_hat_p, T &vn_hat_m, T &Tn_hat_p, T &Tn_hat_m, T vm_p, T vm_m, T Tm_p, T Tm_m, T zl_p, T zl_m, T &vm_hat_p, T &vm_hat_m, T &Tm_hat_p, T &Tm_hat_m, T vl_p, T vl_m, T Tl_p, T Tl_m, T zm_p, T zm_m, T &vl_hat_p, T &vl_hat_m, T &Tl_hat_p, T &Tl_hat_m, T *const l, T *const m, T *const n, double *const x, T S, double t)
void preStress(T &T0_n, T &T0_m, T &T0_l, double *const x, double t, T *const l, T *const m, T *const n)
ContextDynamicRupture(std::string &topography_string, int coarsestMeshLevel, double coarsestMeshSize, double maxAdaptiveDepth, tarch::la::Vector< DIMENSIONS, double > _domainOffset, tarch::la::Vector< DIMENSIONS, double > _domainSize, T *_nodes, T *_dudx)
void initialStressTensor(T &sxx, T &syy, T &szz, T &sxy, T &sxz, T &syz, double *const x)
double domainSize[DIMENSIONS]
void initRuptureModel(std::string &filename_rupture_model)
void tauStrength(T &tau_str, T sigma_n, T S, double *const x, double t)