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.
|
Classes | |
class | Commander |
Functions | |
def | GetPython3Command () |
Return the name of the python command, can be used with subprocess. More... | |
def | ReadModelPart (mdpa_file_name, model_part, settings=None) |
This method is designed to read a ModelPart. More... | |
def | ReadSerialModelPart (mdpa_file_name, model_part) |
Reads mdpa file. More... | |
def | ReadDistributedModelPart (mdpa_file_name, model_part, importer_settings=None) |
Reads mdpa file. More... | |
def | PrintTestHeader (application) |
def | PrintTestFooter (application, exit_code) |
def | PrintTestSummary (exit_codes) |
def testing.utilities.GetPython3Command | ( | ) |
Return the name of the python command, can be used with subprocess.
def testing.utilities.PrintTestFooter | ( | application, | |
exit_code | |||
) |
def testing.utilities.PrintTestHeader | ( | application | ) |
def testing.utilities.PrintTestSummary | ( | exit_codes | ) |
def testing.utilities.ReadDistributedModelPart | ( | mdpa_file_name, | |
model_part, | |||
importer_settings = None |
|||
) |
Reads mdpa file.
This method reads mdpa file and fills given model_part accordingly using MPI Args: mdpa_file_name (str): Name of the mdpa file (without ".mdpa" extension) model_part (Kratos.ModelPart): ModelPart to be filled
def testing.utilities.ReadModelPart | ( | mdpa_file_name, | |
model_part, | |||
settings = None |
|||
) |
This method is designed to read a ModelPart.
The ModelPart is filled with respective nodes, conditions, elements from mdpa file using either MPI or Serial reading depending on run type. Args: mdpa_file_name (str): Name of the mdpa file (without ".mdpa" extension) model_part (Kratos.ModelPart): ModelPart to be filled
def testing.utilities.ReadSerialModelPart | ( | mdpa_file_name, | |
model_part | |||
) |
Reads mdpa file.
This method reads mdpa file and fills given model_part accordingly without MPI Args: mdpa_file_name (str): Name of the mdpa file (without ".mdpa" extension) model_part (Kratos.ModelPart): ModelPart to be filled