Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79676244
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, Aug 27, 16:56
Size
1 KB
Mime Type
text/x-c
Expires
Thu, Aug 29, 16:56 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20140799
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