コード例 #1
0
 def __init__(self, project_parameters, model_part):
     self.response_function_list = response_function_factory.CreateListOfResponseFunctions(
         project_parameters["optimization_settings"], model_part)
コード例 #2
0
    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)
コード例 #3
0
    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())
コード例 #4
0
    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)