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.
List of all members
Kratos::XmlOStreamAsciiWriter Class Reference

#include <xml_ostream_ascii_writer.h>

Inheritance diagram for Kratos::XmlOStreamAsciiWriter:
Collaboration diagram for Kratos::XmlOStreamAsciiWriter:

Protected Member Functions

Protected operations
void WriteExpressions (const std::vector< Expression::ConstPointer > &rExpressions, const std::string &rTabbing) override
 Writes generic lazy type expressions. More...
 
Protected operations

Life cycle

using IndexType = std::size_t
 
 XmlOStreamAsciiWriter (std::ostream &rOStream, const IndexType Precision)
 Constructor. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::XmlOStreamWriter
using IndexType = std::size_t
 
- Public Member Functions inherited from Kratos::XmlOStreamWriter
void WriteElement (const XmlExpressionElement &rElement, const IndexType Level=0)
 Writes an XML expression element. More...
 
 XmlOStreamWriter (std::ostream &rOStream)
 Constructor. More...
 
virtual ~XmlOStreamWriter ()=default
 
- Protected Attributes inherited from Kratos::XmlOStreamWriter
std::ostream & mrOStream
 

Member Typedef Documentation

◆ IndexType

Constructor & Destructor Documentation

◆ XmlOStreamAsciiWriter()

Kratos::XmlOStreamAsciiWriter::XmlOStreamAsciiWriter ( std::ostream &  rOStream,
const IndexType  Precision 
)

Constructor.

Parameters
rOStreamThe output stream to write to.
PrecisionThe precision for floating-point numbers.

Member Function Documentation

◆ WriteExpressions()

void Kratos::XmlOStreamAsciiWriter::WriteExpressions ( const std::vector< Expression::ConstPointer > &  rExpressions,
const std::string &  rTabbing 
)
overrideprotectedvirtual

Writes generic lazy type expressions.

Parameters
rExpressionsExpressions list to write.
rTabbingTabbing used for expression writing.

Implements Kratos::XmlOStreamWriter.


The documentation for this class was generated from the following files: