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
component_data_view.ComponentDataView Class Reference

A viewer to view component's data in optimization problem. More...

Collaboration diagram for component_data_view.ComponentDataView:

Public Member Functions

def __init__ (self, Any component, OptimizationProblem optimization_problem)
 
def ResetData (self)
 
def SetDataBuffer (self, int buffer_size)
 
Any GetComponent (self)
 
BufferedDict GetBufferedData (self)
 
BufferedDict GetUnBufferedData (self)
 
str GetDataPath (self)
 
def GetComponentName (self)
 

Detailed Description

A viewer to view component's data in optimization problem.

Instances of this class create or view provided component's data in
the OptimizationProblem container. It will view both buffered and
unbuffered data.

The component must be first added to the OptimizationProblem
to use instances of this class to modify component data.

Constructor & Destructor Documentation

◆ __init__()

def component_data_view.ComponentDataView.__init__ (   self,
Any  component,
OptimizationProblem  optimization_problem 
)

Member Function Documentation

◆ GetBufferedData()

BufferedDict component_data_view.ComponentDataView.GetBufferedData (   self)

◆ GetComponent()

Any component_data_view.ComponentDataView.GetComponent (   self)

◆ GetComponentName()

def component_data_view.ComponentDataView.GetComponentName (   self)

◆ GetDataPath()

str component_data_view.ComponentDataView.GetDataPath (   self)

◆ GetUnBufferedData()

BufferedDict component_data_view.ComponentDataView.GetUnBufferedData (   self)

◆ ResetData()

def component_data_view.ComponentDataView.ResetData (   self)

◆ SetDataBuffer()

def component_data_view.ComponentDataView.SetDataBuffer (   self,
int  buffer_size 
)

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