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.
collective_expression_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 //
12 
13 #pragma once
14 
15 // Project includes
16 #include "includes/define.h"
17 
18 namespace Kratos {
19 
20 
23 
24 class CollectiveExpression;
25 
26 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator+(const CollectiveExpression& rLeft, const double Right);
27 
28 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator+(const double Left, const CollectiveExpression& rRight);
29 
30 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator+(const CollectiveExpression& rLeft, const CollectiveExpression& rRight);
31 
32 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator-(const CollectiveExpression& rLeft, const double Right);
33 
34 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator-(const double Left, const CollectiveExpression& rRight);
35 
36 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator-(const CollectiveExpression& rLeft, const CollectiveExpression& rRight);
37 
38 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator*(const CollectiveExpression& rLeft, const double Right);
39 
40 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator*(const double Left, const CollectiveExpression& rRight);
41 
42 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator*(const CollectiveExpression& rLeft, const CollectiveExpression& rRight);
43 
44 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator/(const CollectiveExpression& rLeft, const double Right);
45 
46 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator/(const double Left, const CollectiveExpression& rRight);
47 
48 KRATOS_API(OPTIMIZATION_APPLICATION) CollectiveExpression operator/(const CollectiveExpression& rLeft, const CollectiveExpression& rRight);
49 
51 
52 
53 } // namespace Kratos
Construct a new CollectiveExpression instance.
Definition: collective_expression.h:41
#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)