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.
analytic_watcher.h
Go to the documentation of this file.
1 // $Author: Guillermo Casas
2 #ifndef ANALYTIC_WATCHER
3 #define ANALYTIC_WATCHER
4 
5 // System includes
6 
7 #include <limits>
8 #include <iostream>
9 #include <iomanip>
10 
11 // Project includes
12 #include "includes/define.h"
14 
15 /* External includes */
16 
17 #ifdef _OPENMP
18 #include <omp.h>
19 #endif
20 
21 namespace Kratos
22 {
24 
25 public:
26 
28 
30 
32 
34 
35 virtual ~AnalyticWatcher(){}
36 
37 virtual void ClearData(){}
38 
39 virtual void MakeMeasurements(ModelPart& r_model_part){}
40 
42 virtual std::string Info() const {return "AnalyticWatcher";}
43 
45 virtual void PrintInfo(std::ostream& rOStream) const {}
46 
48 virtual void PrintData(std::ostream& rOStream) const {}
49 
50 virtual void Record(SphericParticle* p_particle, ModelPart& r_model_part){}
51 
54 
55 }; // Class AnalyticWatcher
56 } // namespace Kratos.
57 
58 #endif // ANALYTIC_WATCHER
Definition: analytic_watcher.h:23
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: analytic_watcher.h:48
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: analytic_watcher.h:45
AnalyticWatcher & operator=(AnalyticWatcher const &rOther)
Assignment operator.
virtual ~AnalyticWatcher()
Destructor.
Definition: analytic_watcher.h:35
virtual std::string Info() const
Turn back information as a string.
Definition: analytic_watcher.h:42
virtual void ClearData()
Definition: analytic_watcher.h:37
virtual void MakeMeasurements(ModelPart &r_model_part)
Definition: analytic_watcher.h:39
AnalyticWatcher()
Default constructor.
Definition: analytic_watcher.h:31
KRATOS_CLASS_POINTER_DEFINITION(AnalyticWatcher)
virtual void Record(SphericParticle *p_particle, ModelPart &r_model_part)
Definition: analytic_watcher.h:50
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
Definition: spheric_particle.h:31
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21