Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90918612
py_aka_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
Tue, Nov 5, 23:55
Size
1 KB
Mime Type
text/x-c
Expires
Thu, Nov 7, 23:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22156118
Attached To
rAKA akantu
py_aka_fe_engine.cc
View Options
/* -------------------------------------------------------------------------- */
#include <aka_common.hh>
#include <fe_engine.hh>
#include <integration_point.hh>
/* -------------------------------------------------------------------------- */
#include <pybind11/operators.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.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