Classes | |
struct | SparseMatrixWrapper |
Functions | |
template<class Assembler , class... options> | |
void | registerFlatAssembler (pybind11::handle scope, pybind11::class_< Assembler, options... > cls) |
Register Python bindings for a assembler class. . More... | |
template<class Assembler , class... options> | |
void | registerSparseFlatAssembler (pybind11::handle scope, pybind11::class_< Assembler, options... > cls) |
template<class Assembler , class... options> | |
void | registerDenseFlatAssembler (pybind11::handle scope, pybind11::class_< Assembler, options... > cls) |
template<typename T > | |
void | registerSparseMatrixWrapper (pybind11::handle scope) |
template<class AssemblerManipulator , class... options> | |
void | registerAssemblerManipulator (pybind11::handle scope, pybind11::class_< AssemblerManipulator, options... > cls) |
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 > | |
void | forwardCorrectFunction (DirichletValues &dirichletValues, const pybind11::function &functor, auto &&cppFunction) |
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 resultTypesTuple) |
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... | |
template<class Material , size_t vecSize, class... options> | |
void | registerMaterial (pybind11::handle scope, pybind11::class_< Material, options... > cls) |
MAKE_MATERIAL_REGISTERY_FUNCTION (LinearElasticity, 6) | |
MAKE_MATERIAL_REGISTERY_FUNCTION (StVenantKirchhoff, 6) | |
MAKE_MATERIAL_REGISTERY_FUNCTION (NeoHooke, 6) | |
template<class FE , class... options> | |
void | registerFERequirement (pybind11::handle scope, pybind11::class_< FE, options... > cls) |
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 TrussPre , class... options> | |
void | registerTrussPre (pybind11::handle scope, pybind11::class_< TrussPre, options... > cls) |
Registers a TrussPre 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 Writer , class... options> | |
void | registerVtkWriter (pybind11::handle scope, pybind11::class_< Writer, options... > cls) |
Register Python bindings for a VtkWriter class. . More... | |
template<class BoundaryPatch , class... options> | |
void | registerBoundaryPatch (pybind11::handle scope, pybind11::class_< BoundaryPatch, options... > cls) |
void Ikarus::Python::forwardCorrectFunction | ( | DirichletValues & | dirichletValues, |
const pybind11::function & | functor, | ||
auto && | cppFunction | ||
) |
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::registerAssemblerManipulator | ( | pybind11::handle | scope, |
pybind11::class_< AssemblerManipulator, options... > | cls | ||
) |
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 | resultTypesTuple | ||
) |
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::registerDenseFlatAssembler | ( | pybind11::handle | scope, |
pybind11::class_< Assembler, options... > | cls | ||
) |
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::registerFERequirement | ( | pybind11::handle | scope, |
pybind11::class_< FE, options... > | cls | ||
) |
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::registerMaterial | ( | pybind11::handle | scope, |
pybind11::class_< Material, options... > | cls | ||
) |
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::registerSparseFlatAssembler | ( | pybind11::handle | scope, |
pybind11::class_< Assembler, options... > | cls | ||
) |
void Ikarus::Python::registerSparseMatrixWrapper | ( | pybind11::handle | scope | ) |
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. |