1 // Warning: 2 // You have to PY_REGISTER base classe before derivated classes 3 #undef PY_REGISTER 4 #define KERNEL_REGISTRATION() \ 5 PY_REGISTER(SiconosMemory, Kernel) \ 6 PY_REGISTER(NonSmoothLaw, Kernel); \ 7 PY_REGISTER(NewtonImpactNSL, Kernel); \ 8 PY_REGISTER(NewtonImpactFrictionNSL, Kernel); \ 9 PY_REGISTER(NewtonImpactRollingFrictionNSL, Kernel); \ 10 PY_REGISTER(MixedComplementarityConditionNSL, Kernel); \ 11 PY_REGISTER(ComplementarityConditionNSL, Kernel); \ 12 PY_REGISTER(EqualityConditionNSL, Kernel); \ 13 PY_REGISTER(MultipleImpactNSL, Kernel); \ 14 PY_REGISTER(RelayNSL, Kernel); \ 15 PY_REGISTER(NormalConeNSL, Kernel); \ 16 PY_REGISTER(DynamicalSystem, Kernel); \ 17 PY_REGISTER(NonSmoothDynamicalSystem, Kernel); \ 18 PY_REGISTER(LinearComplementaritySystemsNSDS, Kernel); \ 19 PY_REGISTER(Topology, Kernel); \ 20 PY_REGISTER(SecondOrderDS, Kernel); \ 21 PY_REGISTER(LagrangianDS, Kernel); \ 22 PY_REGISTER(LagrangianLinearTIDS, Kernel); \ 23 PY_REGISTER(LagrangianLinearDiagonalDS, Kernel); \ 24 PY_REGISTER(NewtonEulerDS, Kernel); \ 25 PY_REGISTER(FirstOrderNonLinearDS, Kernel); \ 26 PY_REGISTER(FirstOrderLinearDS, Kernel); \ 27 PY_REGISTER(FirstOrderLinearTIDS, Kernel); \ 28 PY_REGISTER(Relation, Kernel); \ 29 PY_REGISTER(LagrangianR, Kernel); \ 30 PY_REGISTER(LagrangianLinearTIR, Kernel); \ 31 PY_REGISTER(LagrangianRheonomousR, Kernel); \ 32 PY_REGISTER(LagrangianScleronomousR, Kernel); \ 33 PY_REGISTER(LagrangianCompliantR, Kernel); \ 34 PY_REGISTER(NewtonEulerR, Kernel); \ 35 PY_REGISTER(NewtonEuler1DR, Kernel); \ 36 PY_REGISTER(NewtonEuler3DR, Kernel); \ 37 PY_REGISTER(NewtonEuler5DR, Kernel); \ 38 PY_REGISTER(FirstOrderR, Kernel); \ 39 PY_REGISTER(FirstOrderNonLinearR, Kernel); \ 40 PY_REGISTER(FirstOrderType1R, Kernel); \ 41 PY_REGISTER(FirstOrderType2R, Kernel); \ 42 PY_REGISTER(FirstOrderLinearR, Kernel); \ 43 PY_REGISTER(FirstOrderLinearTIR, Kernel); \ 44 PY_REGISTER(Interaction, Kernel); \ 45 PY_REGISTER(TimeDiscretisation, Kernel); \ 46 PY_REGISTER(OneStepNSProblem, Kernel); \ 47 PY_REGISTER(OneStepIntegrator, Kernel); \ 48 PY_REGISTER(LinearOSNS, Kernel); \ 49 PY_REGISTER(LsodarOSI, Kernel); \ 50 PY_REGISTER(LCP, Kernel); \ 51 PY_REGISTER(AVI, Kernel); \ 52 PY_REGISTER(QP, Kernel); \ 53 PY_REGISTER(Relay, Kernel); \ 54 PY_REGISTER(MLCP, Kernel); \ 55 PY_REGISTER(MLCPProjectOnConstraints, Kernel); \ 56 PY_REGISTER(GenericMechanical, Kernel); \ 57 PY_REGISTER(FrictionContact, Kernel); \ 58 PY_REGISTER(GlobalFrictionContact, Kernel); \ 59 PY_REGISTER(RollingFrictionContact, Kernel); \ 60 PY_REGISTER(GlobalRollingFrictionContact, Kernel); \ 61 PY_REGISTER(EulerMoreauOSI, Kernel); \ 62 PY_REGISTER(MoreauJeanOSI, Kernel); \ 63 PY_REGISTER(MoreauJeanBilbaoOSI, Kernel); \ 64 PY_REGISTER(MoreauJeanCombinedProjectionOSI, Kernel); \ 65 PY_REGISTER(MoreauJeanDirectProjectionOSI, Kernel); \ 66 PY_REGISTER(MoreauJeanGOSI, Kernel); \ 67 PY_REGISTER(ZeroOrderHoldOSI, Kernel); \ 68 PY_REGISTER(Simulation, Kernel); \ 69 PY_REGISTER(TimeStepping, Kernel); \ 70 PY_REGISTER(TimeSteppingCombinedProjection, Kernel); \ 71 PY_REGISTER(TimeSteppingDirectProjection, Kernel); \ 72 PY_REGISTER(InteractionManager, Kernel); \ 73 PY_REGISTER(EventDriven, Kernel); \ 74 PY_REGISTER(EventsManager, Kernel); \ 75 PY_REGISTER(Event, Kernel); \ 76 PY_REGISTER(BoundaryCondition, Kernel); \ 77 PY_REGISTER(HarmonicBC, Kernel); \ 78 PY_REGISTER(FixedBC, Kernel); \ 79 PY_REGISTER(OSNSMatrix, Kernel); \ 80 PY_REGISTER(BlockCSRMatrix, Kernel); 81 82 %feature("nodirector") SecondOrderDS::dimension; 83 %feature("nodirector") SecondOrderDS::q; 84 %feature("nodirector") SecondOrderDS::q0; 85 %feature("nodirector") SecondOrderDS::velocity; 86 %feature("nodirector") SecondOrderDS::velocity0; 87 %feature("nodirector") SecondOrderDS::acceleration; 88 %feature("nodirector") SecondOrderDS::forces; 89 %feature("nodirector") SecondOrderDS::jacobianqForces; 90 %feature("nodirector") SecondOrderDS::jacobianvForces; 91 %feature("nodirector") SecondOrderDS::p; 92 %feature("nodirector") SecondOrderDS::mass; 93 %feature("nodirector") SecondOrderDS::inverseMass; 94 %feature("nodirector") SecondOrderDS::qMemory; 95 %feature("nodirector") SecondOrderDS::velocityMemory; 96 %feature("nodirector") SecondOrderDS::forcesMemory; 97 %feature("nodirector") SecondOrderDS::reactionToBoundaryConditions; 98 99 100