Skip to content

Commit d149979

Browse files
authored
Merge pull request #22 from 3MAH/add_simmit_dfa_wrap
Add simmit python wrappers for DFA
2 parents 040f446 + 6fe976e commit d149979

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

simcoon-python-builder/src/python_wrappers/boostpython_smartplus_wrappers.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ PYBIND11_MODULE(simmit, m) {
9494
m.def("dHill_stress", &dHill_stress, "input"_a, "props"_a, "copy"_a=true, "This function returns the derivative of the Hill equivalent stress");
9595
m.def("Ani_stress", &Ani_stress, "input"_a, "props"_a, "This function returns the Ani equivalent stress");
9696
m.def("dAni_stress", &dAni_stress, "input"_a, "props"_a, "copy"_a=true, "This function returns the derivative of the Ani equivalent stress");
97+
m.def("DFA_stress", &DFA_stress, "input"_a, "props"_a, "This function returns the DFA equivalent stress");
98+
m.def("dDFA_stress", &dDFA_stress, "input"_a, "props"_a, "copy"_a=true, "This function returns the derivative of the DFA equivalent stress");
9799
m.def("Eq_stress", &Eq_stress, "input"_a, "criteria"_a, "props"_a, "This function computes the selected equivalent stress function");
98100
m.def("dEq_stress", &dEq_stress, "input"_a, "criteria"_a, "props"_a, "copy"_a=true, "This function computes the deriavtive of the selected equivalent stress function");
99101

@@ -227,4 +229,4 @@ PYBIND11_MODULE(simmit, m) {
227229
m.def("identification", &identification);
228230
m.def("calc_cost", &calc_cost, "nfiles"_a, "data_num_name"_a);
229231

230-
}
232+
}

0 commit comments

Comments
 (0)