Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90455888
ElementQuad4Axisymmetric.hpp
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 1, 20:51
Size
1 KB
Mime Type
text/x-c
Expires
Sun, Nov 3, 20:51 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22079398
Attached To
rGOOSEFEM GooseFEM
ElementQuad4Axisymmetric.hpp
View Options
/**
\file
\copyright Copyright 2017. Tom de Geus. All rights reserved.
\license This project is released under the GNU Public License (GPLv3).
*/
#ifndef PYGOOSEFEM_ELEMENTQUAD4AXISYMMETRIC_H
#define PYGOOSEFEM_ELEMENTQUAD4AXISYMMETRIC_H
#include <GooseFEM/ElementQuad4Axisymmetric.h>
#include <pybind11/pybind11.h>
#include <xtensor-python/pytensor.hpp>
#include "Element.hpp"
namespace
py
=
pybind11
;
void
init_ElementQuad4Axisymmetric
(
py
::
module
&
m
)
{
py
::
class_
<
GooseFEM
::
Element
::
Quad4
::
QuadratureAxisymmetric
>
cls
(
m
,
"QuadratureAxisymmetric"
);
cls
.
def
(
py
::
init
<
const
xt
::
pytensor
<
double
,
3
>&>
(),
"QuadratureAxisymmetric"
,
py
::
arg
(
"x"
));
cls
.
def
(
py
::
init
<
const
xt
::
pytensor
<
double
,
3
>&
,
const
xt
::
pytensor
<
double
,
2
>&
,
const
xt
::
pytensor
<
double
,
1
>&>
(),
"QuadratureAxisymmetric"
,
py
::
arg
(
"x"
),
py
::
arg
(
"xi"
),
py
::
arg
(
"w"
));
register_Element_QuadratureBase
<
GooseFEM
::
Element
::
Quad4
::
QuadratureAxisymmetric
>
(
cls
);
register_Element_QuadratureBaseCartesian
<
GooseFEM
::
Element
::
Quad4
::
QuadratureAxisymmetric
>
(
cls
);
cls
.
def
(
"B"
,
&
GooseFEM
::
Element
::
Quad4
::
QuadratureAxisymmetric
::
B
,
"B-matrix"
);
cls
.
def
(
"__repr__"
,
[](
const
GooseFEM
::
Element
::
Quad4
::
QuadratureAxisymmetric
&
)
{
return
"<GooseFEM.Element.Quad4.QuadratureAxisymmetric>"
;
});
}
#endif
Event Timeline
Log In to Comment