siconos.pb11_template module¶
Reference for developpers - How to write a pybind11 wrapper for Siconos
- class siconos.pb11_template.ClassA(self: siconos.pb11_template.ClassA, vector1: Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]', 'flags.writeable'])¶
Bases:
pybind11_object- computeMatrix1(self: siconos.pb11_template.ClassA, arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]', 'flags.writeable'], arg1: SupportsFloat | SupportsIndex) None¶
compute mass matrix
- computeVector2(self: siconos.pb11_template.ClassA, arg0: SupportsFloat | SupportsIndex) None¶
compute external forces
- computeVectorNameDirect(self: siconos.pb11_template.ClassA, arg0: SupportsFloat | SupportsIndex) None¶
compute external forces
- computeVectorNameSpan(self: siconos.pb11_template.ClassA, arg0: SupportsFloat | SupportsIndex) None¶
compute external forces
- property matrix1¶
- setComputeMatrix1Function(self: siconos.pb11_template.ClassA, arg0: collections.abc.Callable) None¶
How to compute xxx matrix operator
- setComputeVector2Function(self: siconos.pb11_template.ClassA, arg0: collections.abc.Callable) None¶
How to compute external forces
- setComputeVectorNameDirectFunction(self: siconos.pb11_template.ClassA, arg0: collections.abc.Callable) None¶
How to compute external forces
- setComputeVectorNameSpanFunction(self: siconos.pb11_template.ClassA, arg0: collections.abc.Callable) None¶
How to compute external forces
- setConstantMatrix1(self: siconos.pb11_template.ClassA, arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]', 'flags.writeable', 'flags.f_contiguous']) None¶
- setConstantVector2(self: siconos.pb11_template.ClassA, arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]', 'flags.writeable']) None¶
- setConstantVectorNameDirect(self: siconos.pb11_template.ClassA, arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]', 'flags.writeable']) None¶
- setConstantVectorNameSpan(self: siconos.pb11_template.ClassA, arg0: Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]', 'flags.writeable']) None¶
- var(self: siconos.pb11_template.ClassA) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']¶
- vector2(self: siconos.pb11_template.ClassA) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']¶
current value of external forces
- vectorNameDirect(self: siconos.pb11_template.ClassA) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]', 'flags.writeable']¶
current value of external forces
- vectorNameSpan(self: siconos.pb11_template.ClassA) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]', 'flags.writeable']¶
current value of external forces