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.
graph_utilities.h
Go to the documentation of this file.
1 // Kratos Multi-Physics - ThermalDEM Application
2 //
3 // License: BSD License
4 // Kratos default license: kratos/license.txt
5 //
6 // Main authors: Rafael Rangel (rrangel@cimne.upc.edu)
7 //
8 
9 #ifndef GRAPH_UTILITIES_H_INCLUDED
10 #define GRAPH_UTILITIES_H_INCLUDED
11 
12 // System includes
13 #include <iostream>
14 
15 // External includes
16 #include "includes/model_part.h"
17 
18 // Project includes
20 
21 namespace Kratos
22 {
23  class KRATOS_API(THERMAL_DEM_APPLICATION) GraphUtilities
24  {
25  public:
26 
27  // Pointer definition
29 
30  // Constructor / destructor methods
32  ~GraphUtilities();
33 
34  // Public methods
35  void ExecuteInitialize(bool ParticleTempMin,
36  bool ParticleTempMax,
37  bool ParticleTempAvg,
38  bool ParticleTempDev,
39  bool ModelTempAvg,
40  bool ParticleHeatFluxContributions,
41  bool ParticleHeatGenContributions,
42  bool ParticleEnergyContributions);
43  void ExecuteFinalizeSolutionStep(ModelPart& rModelPart);
44  void ExecuteFinalize(void);
45 
46  protected:
47 
48  // Protected attributes
57 
58  std::ofstream mFile_ParticleTempMin;
59  std::ofstream mFile_ParticleTempMax;
60  std::ofstream mFile_ParticleTempAvg;
61  std::ofstream mFile_ParticleTempDev;
62  std::ofstream mFile_ModelTempAvg;
66 
67  private:
68 
69  // Assignment operator
70  GraphUtilities& operator=(GraphUtilities const& rOther);
71 
72  }; // Class GraphUtilities
73 } // namespace Kratos
74 
75 #endif // GRAPH_UTILITIES_H_INCLUDED
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
void ExecuteFinalizeSolutionStep() override
this function will be executed at every time step AFTER performing the solve phase
Definition: periodic_interface_process.hpp:55
void ExecuteInitialize() override
Definition: periodic_interface_process.hpp:37
Definition: graph_utilities.h:24
std::ofstream mFile_ParticleTempMin
Definition: graph_utilities.h:58
KRATOS_CLASS_POINTER_DEFINITION(GraphUtilities)
std::ofstream mFile_ParticleTempAvg
Definition: graph_utilities.h:60
bool mGraph_ParticleTempDev
Definition: graph_utilities.h:52
bool mGraph_ModelTempAvg
Definition: graph_utilities.h:53
bool mGraph_ParticleHeatFluxContributions
Definition: graph_utilities.h:54
std::ofstream mFile_ParticleHeatFluxContributions
Definition: graph_utilities.h:63
std::ofstream mFile_ModelTempAvg
Definition: graph_utilities.h:62
bool mGraph_ParticleTempMax
Definition: graph_utilities.h:50
bool mGraph_ParticleHeatGenContributions
Definition: graph_utilities.h:55
bool mGraph_ParticleTempMin
Definition: graph_utilities.h:49
bool mGraph_ParticleTempAvg
Definition: graph_utilities.h:51
bool mGraph_ParticleEnergyContributions
Definition: graph_utilities.h:56
std::ofstream mFile_ParticleTempMax
Definition: graph_utilities.h:59
std::ofstream mFile_ParticleHeatGenContributions
Definition: graph_utilities.h:64
std::ofstream mFile_ParticleEnergyContributions
Definition: graph_utilities.h:65
std::ofstream mFile_ParticleTempDev
Definition: graph_utilities.h:61
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21