0000340: Make mesh 4-node parabolic instead of plain 3-node
This commit is contained in:
@@ -579,6 +579,8 @@ void StdMeshers_Deflection1DPy::init_type(PyObject* module)
|
||||
{
|
||||
behaviors().name("StdMeshers_Deflection1D");
|
||||
behaviors().doc("StdMeshers_Deflection1D");
|
||||
|
||||
add_varargs_method("setDeflection", &StdMeshers_Deflection1DPy::setDeflection, "setDeflection()");
|
||||
SMESH_HypothesisPyBase::init_type(module);
|
||||
}
|
||||
|
||||
@@ -591,6 +593,13 @@ StdMeshers_Deflection1DPy::~StdMeshers_Deflection1DPy()
|
||||
{
|
||||
}
|
||||
|
||||
Py::Object StdMeshers_Deflection1DPy::setDeflection(const Py::Tuple& args)
|
||||
{
|
||||
double fine = (double)Py::Float(args[0]);
|
||||
hypothesis<StdMeshers_Deflection1D>()->SetDeflection(fine);
|
||||
return Py::None();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
void StdMeshers_Hexa_3DPy::init_type(PyObject* module)
|
||||
|
||||
Reference in New Issue
Block a user