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.
|
This class is used in order to check results using a json file containing the solution a given model part with a certain frequency. More...
Public Member Functions | |
def | __init__ (self, model, params) |
The default constructor of the class. More... | |
def | ExecuteInitialize (self) |
This method is executed at the beginning to initialize the process. More... | |
def | ExecuteFinalizeSolutionStep (self) |
This method is executed in order to finalize the current step. More... | |
Public Member Functions inherited from KratosUnittest.TestCase | |
def | run (self, result=None) |
def | skipTestIfApplicationsNotAvailable (self, *application_names) |
Skips the test if required applications are not available. More... | |
def | assertEqualTolerance (self, first, second, tolerance, msg=None) |
Fails if first and second have a difference greater than tolerance. More... | |
def | assertIsClose (self, first, second, rel_tol=None, abs_tol=None, msg=None) |
Fails if the two objects are unequal as determined by their absolute and relative difference. More... | |
def | assertVectorAlmostEqual (self, vector1, vector2, places=7, msg=None, delta=None) |
def | assertMatrixAlmostEqual (self, matrix1, matrix2, places=7, msg=None, delta=None) |
Public Attributes | |
process | |
Public Attributes inherited from KratosUnittest.TestCase | |
mismatch_idx | |
aux_message | |
idx_1 | |
idx_2 | |
This class is used in order to check results using a json file containing the solution a given model part with a certain frequency.
Only the member variables listed below should be accessed directly.
Public member variables: model – the model containing the model_parts settings – Kratos parameters containing solver settings.
def from_json_check_result_process.FromJsonCheckResultProcess.__init__ | ( | self, | |
model, | |||
params | |||
) |
The default constructor of the class.
Keyword arguments: self -- It signifies an instance of a class. model -- the model containing the model_parts settings -- Kratos parameters containing solver settings.
def from_json_check_result_process.FromJsonCheckResultProcess.ExecuteFinalizeSolutionStep | ( | self | ) |
This method is executed in order to finalize the current step.
Here the dictionary containing the solution is filled Keyword arguments: self -- It signifies an instance of a class.
def from_json_check_result_process.FromJsonCheckResultProcess.ExecuteInitialize | ( | self | ) |
This method is executed at the beginning to initialize the process.
Keyword arguments: self -- It signifies an instance of a class.
from_json_check_result_process.FromJsonCheckResultProcess.process |