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.
vector3.h
Go to the documentation of this file.
1 // _____ _____ _ __ __ _ _ _ _
2 // / ____|/ ____| | \ \ / / /\ | (_) | | (_)
3 // | | | (___ | |__ __ _ _ __ _ _\ \ /\ / / __ __ _ _ __ _ __ ___ _ __ / \ _ __ _ __ | |_ ___ __ _| |_ _ ___ _ __
4 // | | \___ \| '_ \ / _` | '__| '_ \ \/ \/ / '__/ _` | '_ \| '_ \ / _ \ '__/ /\ \ | '_ \| '_ \| | |/ __/ _` | __| |/ _ \| '_ |
5 // | |____ ____) | | | | (_| | | | |_) \ /\ /| | | (_| | |_) | |_) | __/ | / ____ \| |_) | |_) | | | (_| (_| | |_| | (_) | | | |
6 // \_____|_____/|_| |_|\__,_|_| | .__/ \/ \/ |_| \__,_| .__/| .__/ \___|_|/_/ \_\ .__/| .__/|_|_|\___\__,_|\__|_|\___/|_| |_|
7 // | | | | | | | | | |
8 // |_| |_| |_| |_| |_|
9 //
10 //
11 // License: BSD License
12 // license: CSharpWrapperApplication/license.txt
13 //
14 // Main authors: Hubert Balcerzak
15 // Riccardo Rossi
16 //
17 
18 #if !defined(CSHARP_WRAPPER_APPLICATION_VECTOR3_H_INCLUDED )
19 #define CSHARP_WRAPPER_APPLICATION_VECTOR3_H_INCLUDED
20 
21 // System includes
22 
23 // External includes
24 
25 // Project includes
26 
27 namespace CSharpKratosWrapper {
28 
29  class Vector3 {
30  public:
31  double x;
32  double y;
33  double z;
34  Vector3(double x, double y, double z);
35  Vector3();
37  double dot(Vector3&);
38  Vector3* add(Vector3&);
39  Vector3* add(double otherX, double otherY, double otherZ);
40  Vector3* sub(Vector3&);
41  Vector3* sub(double otherX, double otherY, double otherZ);
42  };
43 
44 }
45 
46 #endif /* CSHARP_WRAPPER_APPLICATION_VECTOR3_H_INCLUDED */
Definition: vector3.h:29
Vector3 * add(Vector3 &)
Definition: vector3.cpp:40
double dot(Vector3 &)
Definition: vector3.cpp:65
Vector3 * sub(Vector3 &)
Definition: vector3.cpp:51
double z
Definition: vector3.h:33
double x
Definition: vector3.h:31
double y
Definition: vector3.h:32
Vector3()
Definition: vector3.cpp:29
Vector3 * cross(Vector3 &)
Definition: vector3.cpp:57
Definition: id_translator.h:28