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.
xml_ostream_ascii_writer.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Suneth Warnakulasuriya
11 //
12 
13 #pragma once
14 
15 // System includes
16 #include <ostream>
17 
18 // Project includes
19 #include "includes/define.h"
20 #include "xml_ostream_writer.h"
21 
22 namespace Kratos {
23 
26 
27 /* @class XmlOStreamAsciiWriter
28  * @ingroup KratosCore
29  * @brief Output stream ascii writer for XML format.
30  * @author Suneth Warnakulasuriya
31  */
32 class KRATOS_API(KRATOS_CORE) XmlOStreamAsciiWriter: public XmlOStreamWriter
33 {
34 public:
37 
38  using IndexType = std::size_t;
39 
43 
50  std::ostream& rOStream,
51  const IndexType Precision);
52 
54 
55 protected:
58 
59  void WriteExpressions(
60  const std::vector<Expression::ConstPointer>& rExpressions,
61  const std::string& rTabbing) override;
62 
64 };
65 
66 } // namespace Kratos
Definition: xml_ostream_ascii_writer.h:33
std::size_t IndexType
Definition: xml_ostream_ascii_writer.h:38
Definition: xml_ostream_writer.h:35
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21