KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
arithmetic_operators.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Suneth Warnakulasuriya
11 // Máté Kelemen
12 //
13 
14 #pragma once
15 
16 // Project includes
17 #include "expression/expression.h"
18 #include "includes/define.h"
19 
20 
21 namespace Kratos {
22 
23 
26 
27 KRATOS_API(KRATOS_CORE) Expression::Pointer operator+(const Expression::ConstPointer& rpLeft, const double Right);
28 
29 KRATOS_API(KRATOS_CORE) Expression::Pointer operator+(const double Left, const Expression::ConstPointer& rpRight);
30 
32 
33 KRATOS_API(KRATOS_CORE) Expression::Pointer operator-(const Expression::ConstPointer& rpLeft, const double Right);
34 
35 KRATOS_API(KRATOS_CORE) Expression::Pointer operator-(const double Left, const Expression::ConstPointer& rpRight);
36 
38 
39 KRATOS_API(KRATOS_CORE) Expression::Pointer operator*(const Expression::ConstPointer& rpLeft, const double Right);
40 
41 KRATOS_API(KRATOS_CORE) Expression::Pointer operator*(const double Left, const Expression::ConstPointer& rpRight);
42 
44 
45 KRATOS_API(KRATOS_CORE) Expression::Pointer operator/(const Expression::ConstPointer& rpLeft, const double Right);
46 
47 KRATOS_API(KRATOS_CORE) Expression::Pointer operator/(const double Left, const Expression::ConstPointer& rpRight);
48 
50 
52 
53 
54 } // namespace Kratos
Kratos::intrusive_ptr< Expression > Pointer
Definition: expression.h:44
Kratos::intrusive_ptr< const Expression > ConstPointer
Definition: expression.h:46
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Expression::Pointer operator*(const Expression::ConstPointer &rpLeft, const double Right)
Expression::Pointer operator-(const Expression::ConstPointer &rpLeft, const double Right)
Expression::Pointer operator/(const Expression::ConstPointer &rpLeft, const double Right)
Expression::Pointer operator+(const Expression::ConstPointer &rpLeft, const double Right)