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 | Public Attributes | List of all members
offset_ids_process.OffsetIdsProcess Class Reference

SwapCoordinatesAndOffsetIdsProcess. More...

Inheritance diagram for offset_ids_process.OffsetIdsProcess:
Collaboration diagram for offset_ids_process.OffsetIdsProcess:

Public Member Functions

def __init__ (self, model, settings)
 Constructor of the class. More...
 
def ExecuteBeforeSolutionLoop (self)
 Perform the transformation before printing the initial mesh. More...
 
def ExecuteInitializeSolutionStep (self)
 Undo the transformation after the initial mesh is printed. More...
 
def ExecuteBeforeOutputStep (self)
 Offset the Ids. More...
 
def ExecuteAfterOutputStep (self)
 Restore the Ids offset. More...
 

Public Attributes

 model_part
 
 nodes_ids_offset
 
 elements_ids_offset
 
 conditions_ids_offset
 
 properties_ids_offset
 
 execute_initialize_solution_step_is_called
 

Detailed Description

SwapCoordinatesAndOffsetIdsProcess.

This process offsets the ids in order to differentiate several model parts at post-processing level.

Constructor & Destructor Documentation

◆ __init__()

def offset_ids_process.OffsetIdsProcess.__init__ (   self,
  model,
  settings 
)

Constructor of the class.

Member Function Documentation

◆ ExecuteAfterOutputStep()

def offset_ids_process.OffsetIdsProcess.ExecuteAfterOutputStep (   self)

Restore the Ids offset.

◆ ExecuteBeforeOutputStep()

def offset_ids_process.OffsetIdsProcess.ExecuteBeforeOutputStep (   self)

Offset the Ids.

◆ ExecuteBeforeSolutionLoop()

def offset_ids_process.OffsetIdsProcess.ExecuteBeforeSolutionLoop (   self)

Perform the transformation before printing the initial mesh.

◆ ExecuteInitializeSolutionStep()

def offset_ids_process.OffsetIdsProcess.ExecuteInitializeSolutionStep (   self)

Undo the transformation after the initial mesh is printed.

Member Data Documentation

◆ conditions_ids_offset

offset_ids_process.OffsetIdsProcess.conditions_ids_offset

◆ elements_ids_offset

offset_ids_process.OffsetIdsProcess.elements_ids_offset

◆ execute_initialize_solution_step_is_called

offset_ids_process.OffsetIdsProcess.execute_initialize_solution_step_is_called

◆ model_part

offset_ids_process.OffsetIdsProcess.model_part

◆ nodes_ids_offset

offset_ids_process.OffsetIdsProcess.nodes_ids_offset

◆ properties_ids_offset

offset_ids_process.OffsetIdsProcess.properties_ids_offset

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