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.
reorder_consecutive_from_given_ids_model_part_io.h
Go to the documentation of this file.
1 //
2 // Author: Miguel Angel Celigueta
3 //
4 
5 #if !defined(KRATOS_REORDER_CONSECUTIVE_FROM_GIVEN_IDS_MODEL_PART_IO_H_INCLUDED )
6 #define KRATOS_REORDER_CONSECUTIVE_FROM_GIVEN_IDS_MODEL_PART_IO_H_INCLUDED
7 
8 
10 
11 namespace Kratos
12 {
13 
14 
16 {
17 public:
20  std::string const& Filename,
21  const int node_id = 0,
22  const int element_id = 0,
23  const int condition_id = 0,
24  const Flags Options = IO::READ | IO::IGNORE_VARIABLES_ERROR.AsFalse()):
25  ReorderConsecutiveModelPartIO(Filename, Options)
26  {
28  mNumberOfElements = element_id;
29  mNumberOfConditions = condition_id;
30  }
31 
33 
34 protected:
35 
36 private:
37 
38 }; // Class ReorderConsecutiveFromGivenIdsModelPartIO
39 
40 } // namespace Kratos.
41 
42 #endif // KRATOS_REORDER_CONSECUTIVE_FROM_GIVEN_IDS_MODEL_PART_IO_H_INCLUDED defined
Definition: flags.h:58
Definition: reorder_consecutive_from_given_ids_model_part_io.h:16
KRATOS_CLASS_POINTER_DEFINITION(ReorderConsecutiveFromGivenIdsModelPartIO)
ReorderConsecutiveFromGivenIdsModelPartIO(std::string const &Filename, const int node_id=0, const int element_id=0, const int condition_id=0, const Flags Options=IO::READ|IO::IGNORE_VARIABLES_ERROR.AsFalse())
Definition: reorder_consecutive_from_given_ids_model_part_io.h:19
virtual ~ReorderConsecutiveFromGivenIdsModelPartIO()
Definition: reorder_consecutive_from_given_ids_model_part_io.h:32
An IO class for reading and writing a modelpart.
Definition: reorder_consecutive_model_part_io.h:50
SizeType mNumberOfElements
Definition: reorder_consecutive_model_part_io.h:110
SizeType mNumberOfNodes
Definition: reorder_consecutive_model_part_io.h:109
SizeType mNumberOfConditions
Definition: reorder_consecutive_model_part_io.h:111
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
int node_id
Definition: read_stl.py:12