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.
Namespaces | Functions
vtu_output.cpp File Reference
#include <vector>
#include <iomanip>
#include <numeric>
#include "expression/container_data_io.h"
#include "expression/container_expression.h"
#include "expression/literal_flat_expression.h"
#include "expression/variable_expression_io.h"
#include "includes/data_communicator.h"
#include "input_output/base_64_encoded_output.h"
#include "input_output/vtk_definitions.h"
#include "utilities/global_pointer_utilities.h"
#include "utilities/parallel_utilities.h"
#include "utilities/pointer_communicator.h"
#include "utilities/string_utilities.h"
#include "utilities/xml_utilities/xml_expression_element.h"
#include "utilities/xml_utilities/xml_ostream_ascii_writer.h"
#include "utilities/xml_utilities/xml_ostream_base64_binary_writer.h"
#include "vtu_output.h"
Include dependency graph for vtu_output.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::VtuOutputHelperUtilities
 

Functions

 Kratos::KRATOS_CREATE_LOCAL_FLAG (VtuOutput, NODES, 1)
 
 Kratos::KRATOS_CREATE_LOCAL_FLAG (VtuOutput, CONDITIONS, 2)
 
 Kratos::KRATOS_CREATE_LOCAL_FLAG (VtuOutput, ELEMENTS, 3)
 
Expression::ConstPointer Kratos::VtuOutputHelperUtilities::CreatePositionsExpression (const ModelPart::NodesContainerType &rNodes, const bool IsInitialConfiguration)
 
XmlExpressionElement::Pointer Kratos::VtuOutputHelperUtilities::CreateDataArrayElement (const std::string &rDataArrayName, const std::vector< const Expression * > &rExpressions)
 
template<class TContainerType , MeshType TMeshType>
const Expression * Kratos::VtuOutputHelperUtilities::pGetExpression (const ContainerExpression< TContainerType, TMeshType > &rContainerExpression)
 
void Kratos::VtuOutputHelperUtilities::AddDataArrayElement (XmlExpressionElement::Pointer pParentElement, XmlExpressionElement::Pointer pDataArrayElement)
 
XmlExpressionElement::Pointer Kratos::VtuOutputHelperUtilities::CreatePointsXmlElement (const ModelPart &rModelPart, const bool IsInitialConfiguration)
 
template<class TContainerType >
LiteralFlatExpression< int >::Pointer Kratos::VtuOutputHelperUtilities::CreateOffsetsExpression (const TContainerType &rContainer)
 
template<class TContainerType >
Expression::Pointer Kratos::VtuOutputHelperUtilities::CreateGeometryTypesExpression (const TContainerType &rContainer)
 
template<class TContainerType >
Expression::Pointer Kratos::VtuOutputHelperUtilities::CreateConnectivityExpression (const LiteralFlatExpression< int >::Pointer pOffsetsExpression, const TContainerType &rContainer, const std::unordered_map< IndexType, IndexType > &rKratosVtuIndicesMap)
 
template<class TContainerType >
XmlExpressionElement::Pointer Kratos::VtuOutputHelperUtilities::CreateCellsXmlElement (const TContainerType &rContainer, const std::unordered_map< IndexType, IndexType > &rKratosVtuIndicesMap)
 
template<class TDataType , class TContainerType , class TContainerDataIOTag >
XmlExpressionElement::Pointer Kratos::VtuOutputHelperUtilities::CreateVariableDataXmlElement (const Variable< TDataType > &rVariable, ModelPart &rModelPart)
 
template<class TContainerType >
Expression::Pointer Kratos::VtuOutputHelperUtilities::CreateContainerFlagExpression (const TContainerType &rContainer, const Flags &rFlag)
 
template<class TContainerType >
XmlExpressionElement::Pointer Kratos::VtuOutputHelperUtilities::CreateFlagDataXmlElement (const std::string &rFlagName, const Flags &rFlags, const ModelPart &rModelPart)
 
Expression::Pointer Kratos::VtuOutputHelperUtilities::CreateGhostNodeExpression (const DataCommunicator &rDataCommunicator, const Expression &rLocalNodesExpression, const ModelPart::NodesContainerType &rLocalNodes, const ModelPart::NodesContainerType &rGhostNodes, const std::unordered_map< IndexType, IndexType > &rKratosVtuIndicesMap)
 
template<class TContainerType >
XmlExpressionElement::Pointer Kratos::VtuOutputHelperUtilities::CreateContainerExpressionXmlElement (const std::string &rExpressionName, const ContainerExpression< TContainerType > &rContainerExpression, const std::unordered_map< IndexType, IndexType > &rKratosVtuIndicesMap)
 
template<class... TLists>
void Kratos::VtuOutputHelperUtilities::CheckDataArrayName (const std::string &rName, TLists &... rLists)
 
template<class TContaierType , class TContainerIOTag >
void Kratos::VtuOutputHelperUtilities::AddListOfVariables (XmlExpressionElement::Pointer pXmlDataElement, ModelPart &rModelPart, const std::map< std::string, VtuOutput::SupportedVariables > &rVariablesMap)
 
template<class TContaierType >
void Kratos::VtuOutputHelperUtilities::AddListOfFlags (XmlExpressionElement::Pointer pXmlDataElement, ModelPart &rModelPart, const std::map< std::string, const Flags * > &rFlagsMap)
 
template<class TContainerExpressionType >
void Kratos::VtuOutputHelperUtilities::AddListOfContainerExpressions (XmlExpressionElement::Pointer pXmlDataElement, ModelPart &rModelPart, const std::unordered_map< IndexType, IndexType > &rKratosVtuIndicesMap, const std::map< std::string, TContainerExpressionType > &rContainerExpressionsMap)
 
void Kratos::VtuOutputHelperUtilities::CopyAttributes (XmlExpressionElement &rOutputElement, const XmlExpressionElement &rInputElement)
 
void Kratos::VtuOutputHelperUtilities::CreatePDataArrays (XmlExpressionElement &rOutputElement, const XmlExpressionElement &rInputElement)
 
std::string Kratos::VtuOutputHelperUtilities::GetEndianness ()
 
void Kratos::VtuOutputHelperUtilities::WritePvtuFile (XmlExpressionElement::Pointer pVtkFileElement, const ModelPart &rModelPart, const std::string &rOutputFileNamePrefix, const std::string &rOutputFileName)
 
template void Kratos::VtuOutput::AddContainerExpression< ModelPart::NodesContainerType > (const std::string &, const typename ContainerExpression< ModelPart::NodesContainerType >::Pointer)
 
template void Kratos::VtuOutput::AddContainerExpression< ModelPart::ConditionsContainerType > (const std::string &, const typename ContainerExpression< ModelPart::ConditionsContainerType >::Pointer)
 
template void Kratos::VtuOutput::AddContainerExpression< ModelPart::ElementsContainerType > (const std::string &, const typename ContainerExpression< ModelPart::ElementsContainerType >::Pointer)