Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91122163
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
Fri, Nov 8, 03:34
Size
1 KB
Mime Type
text/x-c
Expires
Sun, Nov 10, 03:34 (2 d)
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