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.
conversion_utilities.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: Philipp Bucher (https://github.com/philbucher)
11 // Ashish Darekar
12 //
13 
14 #if !defined(KRATOS_COSIM_CONVERSION_UTILITIES_H_INCLUDED )
15 #define KRATOS_COSIM_CONVERSION_UTILITIES_H_INCLUDED
16 
17 // System includes
18 
19 // External includes
20 
21 // Project includes
22 #include "includes/define.h"
23 #include "includes/model_part.h"
24 
25 namespace Kratos
26 {
29 
32 
34 
36 class KRATOS_API(CO_SIMULATION_APPLICATION) ConversionUtilities
37 {
38 public:
41 
44 
48 
50  ConversionUtilities() = delete;
51 
54 
56  ConversionUtilities(ConversionUtilities const& rOther) = delete;
57 
61 
62  static void ConvertElementalDataToNodalData(
63  ModelPart& rModelPart,
64  const Variable<array_1d<double,3> >& rElementalVariable,
65  const Variable<array_1d<double,3> >& rNodalVariable );
66 
68 
69 }; // Class ConversionUtilities
70 
72 
74 
75 } // namespace Kratos.
76 
77 #endif // KRATOS_COSIM_CONVERSION_UTILITIES_H_INCLUDED defined
Short class definition.
Definition: conversion_utilities.h:37
ConversionUtilities(ConversionUtilities const &rOther)=delete
Copy constructor.
ConversionUtilities()=delete
Default constructor.
KRATOS_CLASS_POINTER_DEFINITION(ConversionUtilities)
Pointer definition of ConversionUtilities.
ConversionUtilities & operator=(ConversionUtilities const &rOther)=delete
Assignment operator.
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21