#include <pybind11/pybind11.h>
#include "intrusive_ptr/intrusive_ptr.hpp"
#include <pybind11/stl.h>
#include <pybind11/stl/filesystem.h>
#include "includes/define.h"
Go to the source code of this file.
◆ KRATOS_REGISTER_IN_PYTHON_2D_TENSOR_VARIABLE_WITH_COMPONENTS
#define KRATOS_REGISTER_IN_PYTHON_2D_TENSOR_VARIABLE_WITH_COMPONENTS |
( |
|
module, |
|
|
|
name |
|
) |
| |
Value:
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XX) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XY) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YX) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YY)
#define KRATOS_REGISTER_IN_PYTHON_VARIABLE(module, variable)
Definition: define_python.h:35
static void module(const array_1d< double, 3 > &Vector, double &distance)
Definition: GeometryFunctions.h:127
◆ KRATOS_REGISTER_IN_PYTHON_3D_TENSOR_VARIABLE_WITH_COMPONENTS
#define KRATOS_REGISTER_IN_PYTHON_3D_TENSOR_VARIABLE_WITH_COMPONENTS |
( |
|
module, |
|
|
|
name |
|
) |
| |
Value:
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XX) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XY) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XZ) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YX) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YY) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YZ) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_ZX) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_ZY) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_ZZ)
◆ KRATOS_REGISTER_IN_PYTHON_3D_VARIABLE_WITH_COMPONENTS
#define KRATOS_REGISTER_IN_PYTHON_3D_VARIABLE_WITH_COMPONENTS |
( |
|
module, |
|
|
|
name |
|
) |
| |
Value:
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_X) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_Y) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_Z)
◆ KRATOS_REGISTER_IN_PYTHON_FLAG
◆ KRATOS_REGISTER_IN_PYTHON_FLAG_IMPLEMENTATION
#define KRATOS_REGISTER_IN_PYTHON_FLAG_IMPLEMENTATION |
( |
|
module, |
|
|
|
flag |
|
) |
| module.attr(#flag) = &flag; |
◆ KRATOS_REGISTER_IN_PYTHON_SYMMETRIC_2D_TENSOR_VARIABLE_WITH_COMPONENTS
#define KRATOS_REGISTER_IN_PYTHON_SYMMETRIC_2D_TENSOR_VARIABLE_WITH_COMPONENTS |
( |
|
module, |
|
|
|
name |
|
) |
| |
Value:
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XX) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YY) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XY)
◆ KRATOS_REGISTER_IN_PYTHON_SYMMETRIC_3D_TENSOR_VARIABLE_WITH_COMPONENTS
#define KRATOS_REGISTER_IN_PYTHON_SYMMETRIC_3D_TENSOR_VARIABLE_WITH_COMPONENTS |
( |
|
module, |
|
|
|
name |
|
) |
| |
Value:
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XX) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YY) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_ZZ) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XY) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_YZ) \
KRATOS_REGISTER_IN_PYTHON_VARIABLE(
module,name##_XZ)
◆ KRATOS_REGISTER_IN_PYTHON_VARIABLE
#define KRATOS_REGISTER_IN_PYTHON_VARIABLE |
( |
|
module, |
|
|
|
variable |
|
) |
| module.attr(#variable) = &variable; |
◆ PrintObject()
template<class T >
std::string PrintObject |
( |
const T & |
rObject | ) |
|
◆ PYBIND11_DECLARE_HOLDER_TYPE()
PYBIND11_DECLARE_HOLDER_TYPE |
( |
T |
, |
|
|
Kratos::intrusive_ptr< T > |
|
|
) |
| |