Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F70228505
register_integral_operators.cpp
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, Jul 5, 20:44
Size
502 B
Mime Type
text/x-c
Expires
Sun, Jul 7, 20:44 (2 d)
Engine
blob
Format
Raw Data
Handle
18809499
Attached To
rTAMAAS tamaas
register_integral_operators.cpp
View Options
#include "model.hh"
#include "kelvin.hh"
#include <pybind11/pybind11.h>
namespace
py
=
pybind11
;
PYBIND11_MODULE
(
register_integral_operators
,
m
)
{
m
.
def
(
"register_kelvin_disp"
,
[](
tamaas
::
Model
&
model
)
{
model
.
registerIntegralOperator
<
tamaas
::
Kelvin
<
tamaas
::
model_type
::
volume_2d
,
3
>>
(
"kelvin"
);
});
m
.
def
(
"register_kelvin_grad"
,
[](
tamaas
::
Model
&
model
)
{
model
.
registerIntegralOperator
<
tamaas
::
Kelvin
<
tamaas
::
model_type
::
volume_2d
,
4
>>
(
"kelvin_gradient"
);
});
}
Event Timeline
Log In to Comment