Model wrapper

class xc.ModelWrapper

Bases: xc_base.CommandEntity

Wrapper for the finite element model ‘seen’ from the solver. The model wrapper is a container for: - Domain of the finite element model. - Analysis model. - Constraint handler. - DOF numberer.

name

Return the name of the model wrapper.

newConstraintHandler((ModelWrapper)arg1, (str)arg2) → ConstraintHandler :

newConstraintHandler(nmb) Create a new constraint handler. Parameters:

nmb: name of the type of handler. Available types of constraint handlers: ‘lagrange_constraint_handler’, ‘penalty_constraint_handler’, ‘plain_handler’, ‘transformation_constraint_handler’.
C++ signature :
XC::ConstraintHandler {lvalue} newConstraintHandler(XC::ModelWrapper {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
newNumberer((ModelWrapper)arg1, (str)arg2) → DOFNumberer :

newNumberer(nmb) Create a new DOF numberer Parameters: nmb: name of the type of numberer. Available types of numberers: ‘default_numberer’, ‘plain_numberer’, ‘parallel_numberer’.

C++ signature :
XC::DOF_Numberer {lvalue} newNumberer(XC::ModelWrapper {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
class xc.MapModelWrapper

Bases: xc_base.CommandEntity

Finite element model wrappers container.

existeModelWrapper

existeModelWrapper(cod) Return TRUE if the model wrapper has been created Parameters: cod: name of the model wrapper

newModelWrapper((MapModelWrapper)arg1, (str)arg2) → ModelWrapper :

Create a new container of ModelWrappers.

C++ signature :
XC::ModelWrapper {lvalue} newModelWrapper(XC::MapModelWrapper {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)