1 #define FORCE_IMPORT_ARRAY
4 #if defined(__GNUC__) && !defined(__clang__)
7 inline void define_allocators()
9 std::allocator<int> a0;
10 std::allocator<double> a1;
15 namespace py = pybind11;
23 py::class_<cppHsuSedStress2D>(m,
"HsuSedStress")
24 .def(
py::init<
double,
double,
double,
double,
double,
double,
double,
double,
25 double,
double,
double,
double,
double,
double,
double,
double,
30 py::arg(
"packFraction"),
31 py::arg(
"packMargin"),
32 py::arg(
"maxFraction"),
33 py::arg(
"frFraction"),
41 py::arg(
"angFriction"),
42 py::arg(
"vos_limiter"),
43 py::arg(
"mu_fr_limiter"))
44 .def_readonly(
"aDarcy", &cppHsuSedStress2D::aDarcy_)
45 .def_readonly(
"betaForch", &cppHsuSedStress2D::betaForch_)
46 .def_readonly(
"grain", &cppHsuSedStress2D::grain_)
47 .def_readonly(
"packFraction", &cppHsuSedStress2D::packFraction_)
48 .def_readonly(
"packMargin", &cppHsuSedStress2D::packMargin_)
49 .def_readonly(
"maxFraction", &cppHsuSedStress2D::maxFraction_)
50 .def_readonly(
"frFraction", &cppHsuSedStress2D::frFraction_)
51 .def_readonly(
"sigmaC", &cppHsuSedStress2D::sigmaC_)
52 .def_readonly(
"C3e", &cppHsuSedStress2D::C3e_)
53 .def_readonly(
"C4e", &cppHsuSedStress2D::C4e_)
54 .def_readonly(
"eR", &cppHsuSedStress2D::eR_)
55 .def_readonly(
"fContact", &cppHsuSedStress2D::fContact_)
56 .def_readonly(
"mContact", &cppHsuSedStress2D::mContact_)
57 .def_readonly(
"nContact", &cppHsuSedStress2D::nContact_)
58 .def_readonly(
"angFriction", &cppHsuSedStress2D::angFriction_)
59 .def_readonly(
"vos_limiter", &cppHsuSedStress2D::vos_limiter_)
60 .def_readonly(
"mu_fr_limiter", &cppHsuSedStress2D::mu_fr_limiter_)
61 .def(
"betaCoeff", &cppHsuSedStress2D::xt_betaCoeff)
62 .def(
"gs0", &cppHsuSedStress2D::gs0)
63 .def(
"kappa_sed1", &cppHsuSedStress2D::xt_kappa_sed1)
64 .def(
"dkappa_sed1_dk", &cppHsuSedStress2D::xt_dkappa_sed1_dk)
65 .def(
"deps_sed_deps", &cppHsuSedStress2D::xt_deps_sed_deps)
66 .def(
"psc", &cppHsuSedStress2D::psc)
67 .def(
"psc_term", &cppHsuSedStress2D::psc_term)
68 .def(
"dpsc_term_dtheta", &cppHsuSedStress2D::dpsc_term_dtheta)
69 .def(
"mu_sc", &cppHsuSedStress2D::mu_sc)
70 .def(
"mu_fr", &cppHsuSedStress2D::mu_fr)
71 .def(
"l_sc", &cppHsuSedStress2D::l_sc)
72 .def(
"tausc_term_theta", &cppHsuSedStress2D::tausc_term_theta)
73 .def(
"gamma_s", &cppHsuSedStress2D::gamma_s)
74 .def(
"dgamma_s_dtheta", &cppHsuSedStress2D::dgamma_s_dtheta)
75 .def(
"jint1", &cppHsuSedStress2D::xt_jint1)
76 .def(
"jint2", &cppHsuSedStress2D::xt_jint2)
77 .def(
"djint2_dtheta", &cppHsuSedStress2D::xt_djint2_dtheta)
78 .def(
"k_diff", &cppHsuSedStress2D::k_diff)
79 .def(
"p_friction", &cppHsuSedStress2D::p_friction)
80 .def(
"gradp_friction", &cppHsuSedStress2D::gradp_friction)
81 .def(
"mIntFluid", &cppHsuSedStress2D::xt_mIntFluid)
82 .def(
"mIntSolid", &cppHsuSedStress2D::xt_mIntSolid)
83 .def(
"mIntgradC", &cppHsuSedStress2D::xt_mIntgradC)
84 .def(
"dmInt_duFluid", &cppHsuSedStress2D::xt_dmInt_duFluid)
85 .def(
"dmInt_duSolid", &cppHsuSedStress2D::xt_dmInt_duSolid)
86 .def(
"p_s", &cppHsuSedStress2D::p_s);