MCPcopy Create free account
hub / github.com/KratosMultiphysics/Kratos / AddAccessorsToPython

Function AddAccessorsToPython

kratos/python/add_accessors_to_python.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32namespace py = pybind11;
33
34void AddAccessorsToPython(py::module& m)
35{
36 py::class_<AccessorBindType>(m, "Accessor")
37 .def_static("Create", []() {
38 return std::make_unique<Accessor>();
39 })
40 ;
41}
42
43} // namespace Kratos::Python.
44

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected