Functions | |
template<class Assembler , class... options> | |
void | registerSparseFlatAssembler (pybind11::handle scope, pybind11::class_< Assembler, options... > cls) |
Register Python bindings for a SparseFlatAssembler class. . More... | |
template<class Assembler , class... options> | |
void | registerDenseFlatAssembler (pybind11::handle scope, pybind11::class_< Assembler, options... > cls) |
Register Python bindings for a DenseFlatAssembler class. . More... | |
template<class BasisHandler , class... options> | |
void | registerBasisHandler (pybind11::handle scope, pybind11::class_< BasisHandler, options... > cls) |
Register a Python wrapper for an Ikarus basis class. More... | |
template<class DirichletValues , class... options> | |
void | registerDirichletValues (pybind11::handle scope, pybind11::class_< DirichletValues, options... > cls) |
Register Python bindings for a DirichletValues class. More... | |
template<class FE , class... options> | |
void | registerCalculateAt (pybind11::handle scope, pybind11::class_< FE, options... > cls, auto restultTypesTuple) |
Registers the calculateAt method for a finite element class in Python. More... | |
template<class FE , class... options> | |
void | registerFE (pybind11::handle scope, pybind11::class_< FE, options... > cls) |
Register Python bindings for the FE class. More... | |
MAKE_MATERIAL_REGISTERY_FUNCTION (LinearElasticity, 6) | |
MAKE_MATERIAL_REGISTERY_FUNCTION (StVenantKirchhoff, 6) | |
MAKE_MATERIAL_REGISTERY_FUNCTION (NeoHooke, 6) | |
template<class NonLinearElasticPre , class... options> | |
void | registerNonLinearElasticPre (pybind11::handle scope, pybind11::class_< NonLinearElasticPre, options... > cls) |
Registers a NonLinearElasticPre class in Python. More... | |
template<class LinearElasticPre , class... options> | |
void | registerLinearElasticPre (pybind11::handle scope, pybind11::class_< LinearElasticPre, options... > cls) |
Registers a LinearElasticPre class in Python. More... | |
template<class KirchhoffLoveShellPre , class... options> | |
void | registerKirchhoffLoveShellPre (pybind11::handle scope, pybind11::class_< KirchhoffLoveShellPre, options... > cls) |
Registers a KirchhoffLoveShellPre class in Python. More... | |
template<class EASPre , class... options> | |
void | registerEnhancedAssumedStrainsPre (pybind11::handle scope, pybind11::class_< EASPre, options... > cls) |
Registers an EnhancedAssumedStrainsPre class in Python. More... | |
template<class NeumannBoundaryLoadPre , class... options> | |
void | registerNeumannBoundaryLoadPre (pybind11::handle scope, pybind11::class_< NeumannBoundaryLoadPre, options... > cls) |
Registers a NeumannBoundaryLoadPre class in Python. More... | |
template<class VolumeLoadPre , class... options> | |
void | registerVolumeLoadPre (pybind11::handle scope, pybind11::class_< VolumeLoadPre, options... > cls) |
Registers a VolumeLoadPre class in Python. More... | |
template<class BoundaryPatch , class... options> | |
void | registerBoundaryPatch (pybind11::handle scope, pybind11::class_< BoundaryPatch, options... > cls) |
Ikarus::Python::MAKE_MATERIAL_REGISTERY_FUNCTION | ( | LinearElasticity | , |
6 | |||
) |
Ikarus::Python::MAKE_MATERIAL_REGISTERY_FUNCTION | ( | NeoHooke | , |
6 | |||
) |
Ikarus::Python::MAKE_MATERIAL_REGISTERY_FUNCTION | ( | StVenantKirchhoff | , |
6 | |||
) |
void Ikarus::Python::registerBoundaryPatch | ( | pybind11::handle | scope, |
pybind11::class_< BoundaryPatch, options... > | cls | ||
) |
void Ikarus::Python::registerCalculateAt | ( | pybind11::handle | scope, |
pybind11::class_< FE, options... > | cls, | ||
auto | restultTypesTuple | ||
) |
This function is used to expose the calculateAt method of a finite element class to Python using Pybind11.
FE | The finite element class type. |
options | Variadic template parameters for additional options when defining the Python class. |
scope | The Pybind11 handle to the Python module or class where the method will be registered. |
cls | The Pybind11 class wrapper for the finite element class. |
restultTypesTuple | A tuple containing the result types to be supported by the calculateAt method. |
The calculateAt method is exposed to Python, allowing users to compute element values at a specific location.
Example usage in Python:
feRequirements | The requirements for the finite element calculation. |
local | The local coordinates where the calculation is performed. |
resultType | A string specifying the desired result type for the calculation. |
Dune::NotImplemented | If the specified resultType is not supported by the finite element. |
void Ikarus::Python::registerEnhancedAssumedStrainsPre | ( | pybind11::handle | scope, |
pybind11::class_< EASPre, options... > | cls | ||
) |
EASPre | The EnhancedAssumedStrainsPre class. |
options | Additional options for the pybind11 class. |
scope | Python handle to the module or class scope. |
cls | The pybind11 class to register. |
void Ikarus::Python::registerKirchhoffLoveShellPre | ( | pybind11::handle | scope, |
pybind11::class_< KirchhoffLoveShellPre, options... > | cls | ||
) |
KirchhoffLoveShellPre | The KirchhoffLoveShellPre class. |
options | Additional options for the pybind11 class. |
scope | Python handle to the module or class scope. |
cls | The pybind11 class to register. |
void Ikarus::Python::registerLinearElasticPre | ( | pybind11::handle | scope, |
pybind11::class_< LinearElasticPre, options... > | cls | ||
) |
LinearElasticPre | The LinearElasticPre class. |
options | Additional options for the pybind11 class. |
scope | Python handle to the module or class scope. |
cls | The pybind11 class to register. |
void Ikarus::Python::registerNeumannBoundaryLoadPre | ( | pybind11::handle | scope, |
pybind11::class_< NeumannBoundaryLoadPre, options... > | cls | ||
) |
NeumannBoundaryLoadPre | The NeumannBoundaryLoadPre class. |
options | Additional options for the pybind11 class. |
scope | Python handle to the module or class scope. |
cls | The pybind11 class to register. |
void Ikarus::Python::registerNonLinearElasticPre | ( | pybind11::handle | scope, |
pybind11::class_< NonLinearElasticPre, options... > | cls | ||
) |
NonLinearElasticPre | The NonLinearElasticPre class. |
options | Additional options for the pybind11 class. |
scope | Python handle to the module or class scope. |
cls | The pybind11 class to register. |
void Ikarus::Python::registerVolumeLoadPre | ( | pybind11::handle | scope, |
pybind11::class_< VolumeLoadPre, options... > | cls | ||
) |
VolumeLoadPre | The VolumeLoadPre class. |
options | Additional options for the pybind11 class. |
scope | Python handle to the module or class scope. |
cls | The pybind11 class to register. |