def __init__(self, project_parameters, model_part): self.response_function_list = response_function_factory.CreateListOfResponseFunctions( project_parameters["optimization_settings"], model_part)
def __init__(self, project_parameters, model_part): self.csm_analysis = StructuralMechanicsAnalysis( project_parameters, model_part) self.listOfResponseFunctions = response_function_factory.CreateListOfResponseFunctions( project_parameters["optimization_settings"], model_part)
def __init__(self, optimization_settings, model_part_controller): self.model_part_controller = model_part_controller self.response_function_list = response_function_factory.CreateListOfResponseFunctions( optimization_settings, self.model_part_controller.GetModel())
def __init__( self, optimization_settings, model_part_controller ): self.model_part_controller = model_part_controller analysis_mdpa = model_part_controller.GetOptimizationModelPart() self.response_function_list = response_function_factory.CreateListOfResponseFunctions(optimization_settings, analysis_mdpa)