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.
Static Public Member Functions | List of all members
json_settings_utility.JsonSettingsUtility Class Reference
Inheritance diagram for json_settings_utility.JsonSettingsUtility:
Collaboration diagram for json_settings_utility.JsonSettingsUtility:

Static Public Member Functions

def CheckAndFixNotMatchingSettings (supplied_settings, expected_settings)
 Check and fix not matching settings from origin to destination. More...
 
def TransferMatchingSettingsToDestination (origin_settings, destination_settings)
 Transfer matching settings from origin to destination. More...
 
def CheckAndTransferMatchingValueType (origin_value, destination_value)
 
def CheckMatchingValueType (origin_value, destination_value)
 

Member Function Documentation

◆ CheckAndFixNotMatchingSettings()

def json_settings_utility.JsonSettingsUtility.CheckAndFixNotMatchingSettings (   supplied_settings,
  expected_settings 
)
static

Check and fix not matching settings from origin to destination.

◆ CheckAndTransferMatchingValueType()

def json_settings_utility.JsonSettingsUtility.CheckAndTransferMatchingValueType (   origin_value,
  destination_value 
)
static

◆ CheckMatchingValueType()

def json_settings_utility.JsonSettingsUtility.CheckMatchingValueType (   origin_value,
  destination_value 
)
static

◆ TransferMatchingSettingsToDestination()

def json_settings_utility.JsonSettingsUtility.TransferMatchingSettingsToDestination (   origin_settings,
  destination_settings 
)
static

Transfer matching settings from origin to destination.

    If there is any name/value in the origin settings matching with the destination settings,
    then the setting value is assigned to the destination, and deleted from the origin.

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