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.
process_parameters.h
Go to the documentation of this file.
1 // KRATOS___
2 // // ) )
3 // // ___ ___
4 // // ____ //___) ) // ) )
5 // // / / // // / /
6 // ((____/ / ((____ ((___/ / MECHANICS
7 //
8 // License: geo_mechanics_application/license.txt
9 //
10 // Main authors: Richard Faasse
11 //
12 #pragma once
13 
15 
16 #include <string>
17 
18 namespace Kratos
19 {
20 
22 {
23  std::string name;
25 
26  ProcessParameters(const std::string &rName, const Parameters &rParameters) :
27  name{rName},
28  parameters{rParameters}
29  {}
30 
31  bool operator==(const ProcessParameters &rhs) const
32  {
33  return name == rhs.name && parameters.WriteJsonString() == rhs.parameters.WriteJsonString();
34  }
35 };
36 
37 }
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
const std::string WriteJsonString() const
This method returns a string with the corresponding text to the equivalent *.json file.
Definition: kratos_parameters.cpp:407
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
rhs
Definition: generate_frictional_mortar_condition.py:297
Definition: process_parameters.h:22
Parameters parameters
Definition: process_parameters.h:24
ProcessParameters(const std::string &rName, const Parameters &rParameters)
Definition: process_parameters.h:26
bool operator==(const ProcessParameters &rhs) const
Definition: process_parameters.h:31
std::string name
Definition: process_parameters.h:23