parameters: (self)
return_statement: return solver_wrapper.CreateSolverByParameters(self.model, self.project_parameters["solver_settings"],self.project_parameters["problem_data"]["parallel_type"].GetString())
docstring: Create the Solver (and create and import the ModelPart if it is not alread in the model)
docstring_summary: Create the Solver (and create and import the ModelPart if it is not alread in the model)
docstring_tokens: Create the Solver ( and create and import the ModelPart if it is not alread in the model )
function: def _CreateSolver(self):
          """ Create the Solver (and create and import the ModelPart if it is not alread in the model) """
          ## Solver construction
          with open('RomParameters.json') as rom_parameters:
              rom_settings = KratosMultiphysics.Parameters(rom_parameters.read())
              self.project_parameters["solver_settings"].AddValue("rom_settings", rom_settings["rom_settings"])
          return solver_wrapper.CreateSolverByParameters(self.model, self.project_parameters["solver_settings"],self.project_parameters["problem_data"]["parallel_type"].GetString())
function_tokens: def _CreateSolver ( self ) : ## Solver construction with open ( 'RomParameters.json' ) as rom_parameters : rom_settings = KratosMultiphysics . Parameters ( rom_parameters . read ( ) ) self . project_parameters [ "solver_settings" ] . AddValue ( "rom_settings" , rom_settings [ "rom_settings" ] ) return solver_wrapper . CreateSolverByParameters ( self . model , self . project_parameters [ "solver_settings" ] , self . project_parameters [ "problem_data" ] [ "parallel_type" ] . GetString ( ) )