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.
Public Member Functions | List of all members
core.xdmf.Grid Class Reference

An abc for an XDMF Grid (a mesh with results data). More...

Inheritance diagram for core.xdmf.Grid:
Collaboration diagram for core.xdmf.Grid:

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...
 

Detailed Description

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.

Member Function Documentation

◆ add_attribute()

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.

◆ xml_tag()

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.


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