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.
hdf5_nodal_solution_step_bossak_io.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // license: HDF5Application/license.txt
9 //
10 // Main author: Michael Andre, https://github.com/msandre
11 //
12 
13 #if !defined(KRATOS_HDF5_NODAL_SOLUTION_STEP_BOSSAK_IO_H_INCLUDED)
14 #define KRATOS_HDF5_NODAL_SOLUTION_STEP_BOSSAK_IO_H_INCLUDED
15 
16 // System includes
17 #include <string>
18 #include <vector>
19 
20 // External includes
21 
22 // Project includes
23 #include "includes/define.h"
24 
25 // Application includes
27 
28 namespace Kratos
29 {
30 
31 class Parameters;
32 class Communicator;
33 
34 namespace HDF5
35 {
38 
41 
43 
49 class KRATOS_API(HDF5_APPLICATION) NodalSolutionStepBossakIO : private NodalSolutionStepDataIO
50 {
51 public:
54 
57 
61 
63  NodalSolutionStepBossakIO(Parameters Settings, File::Pointer pFile);
64 
68 
69  void WriteNodalResults(ModelPart& rModelPart);
70 
71  void ReadNodalResults(ModelPart& rModelPart);
72 
73  void SetAlphaBossak(double alpha) noexcept;
74 
76 
77 private:
80  double mAlphaBossak = -0.3;
82 };
83 
86 } // namespace HDF5.
87 } // namespace Kratos.
88 
89 #endif // KRATOS_HDF5_NODAL_SOLUTION_STEP_BOSSAK_IO_H_INCLUDED defined
A class for IO of nodal solution step data in HDF5 with weighted Bossak acceleration.
Definition: hdf5_nodal_solution_step_bossak_io.h:50
KRATOS_CLASS_POINTER_DEFINITION(NodalSolutionStepBossakIO)
Pointer definition.
A class for IO of nodal solution step data in HDF5.
Definition: hdf5_nodal_solution_step_data_io.h:45
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
alpha
Definition: generate_convection_diffusion_explicit_element.py:113