Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78522959
py_fe_engine.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Aug 21, 09:57
Size
1 KB
Mime Type
text/x-c
Expires
Fri, Aug 23, 09:57 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19087781
Attached To
rAKA akantu
py_fe_engine.cc
View Options
/* -------------------------------------------------------------------------- */
#include <fe_engine.hh>
#include <integration_point.hh>
/* -------------------------------------------------------------------------- */
#include <pybind11/pybind11.h>
/* -------------------------------------------------------------------------- */
namespace py = pybind11;
/* -------------------------------------------------------------------------- */
namespace akantu {
__attribute__((visibility("default"))) void
register_fe_engine(py::module & mod) {
py::class_<Element>(mod, "Element");
py::class_<FEEngine>(mod, "FEEngine")
.def("computeIntegrationPointsCoordinates",
[](FEEngine & self, ElementTypeMapArray<Real> & coordinates,
const ElementTypeMapArray<UInt> * filter_elements)
-> decltype(auto) {
return self.computeIntegrationPointsCoordinates(coordinates,
filter_elements);
});
py::class_<IntegrationPoint>(mod, "IntegrationPoint");
}
} // namespace akantu
Event Timeline
Log In to Comment