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.
|
An abc for an XDMF Grid (a mesh with results data). More...
Public Member Functions | |
def | xml_tag (self) |
Return the XML tag for the XDMF item as a string. More... | |
def | add_attribute (self, attr) |
Add an XDMF Attribute to the grid. More... | |
Public Member Functions inherited from core.xdmf.XdmfItem | |
def | create_xml_element (self) |
Return the XDMF item as an XML element node in the XML document tree. More... | |
An abc for an XDMF Grid (a mesh with results data).
The XDMF Grid associates a mesh with results data. The results data is represented with XDMF attributes. Alternatively, the Grid may be group multiple grids together.
def core.xdmf.Grid.add_attribute | ( | self, | |
attr | |||
) |
Add an XDMF Attribute to the grid.
This allows results data to be appended to the current mesh.
Reimplemented in core.xdmf.UniformGrid, core.xdmf.TemporalGrid, and core.xdmf.SpatialGrid.
def core.xdmf.Grid.xml_tag | ( | self | ) |
Return the XML tag for the XDMF item as a string.
Every XML element is identified by a tag. Valid tags are specified by the XDMF model format.
Reimplemented from core.xdmf.XdmfItem.