parameters: (self)
docstring: Method serializing and pickling the custom setting metric and remeshing for the adaptive refinement. It requires self.custom_metric_refinement_parameters and self.custom_remesh_refinement_parameters. It builds self.pickled_custom_metric_refinement_parameters and self.pickled_custom_remesh_refinement_parameters.
  
          Inputs:
docstring_summary: Method serializing and pickling the custom setting metric and remeshing for the adaptive refinement. It requires self.custom_metric_refinement_parameters and self.custom_remesh_refinement_parameters. It builds self.pickled_custom_metric_refinement_parameters and self.pickled_custom_remesh_refinement_parameters.
docstring_tokens: Method serializing and pickling the custom setting metric and remeshing for the adaptive refinement . It requires self . custom_metric_refinement_parameters and self . custom_remesh_refinement_parameters . It builds self . pickled_custom_metric_refinement_parameters and self . pickled_custom_remesh_refinement_parameters .
function: def SerializeRefinementParameters(self):
          """
          Method serializing and pickling the custom setting metric and remeshing for the adaptive refinement. It requires self.custom_metric_refinement_parameters and self.custom_remesh_refinement_parameters. It builds self.pickled_custom_metric_refinement_parameters and self.pickled_custom_remesh_refinement_parameters.
  
          Inputs:
  
  
          """
  
          metric_refinement_parameters = self.custom_metric_refinement_parameters
          remeshing_refinement_parameters = self.custom_remesh_refinement_parameters
          # save parameters as MpiSerializer Kratos objects
          serialized_metric_refinement_parameters = KratosMultiphysics.MpiSerializer()
          serialized_metric_refinement_parameters.Save("MetricRefinementParametersSerialization",metric_refinement_parameters)
          serialized_remesh_refinement_parameters = KratosMultiphysics.MpiSerializer()
          serialized_remesh_refinement_parameters.Save("RemeshRefinementParametersSerialization",remeshing_refinement_parameters)
          # pickle parameters
          pickled_metric_refinement_parameters = pickle.dumps(serialized_metric_refinement_parameters, 2) # second argument is the protocol and is NECESSARY (according to pybind11 docs)
          pickled_remesh_refinement_parameters = pickle.dumps(serialized_remesh_refinement_parameters, 2) # second argument is the protocol and is NECESSARY (according to pybind11 docs)
          self.pickled_custom_metric_refinement_parameters = pickled_metric_refinement_parameters
          self.pickled_custom_remesh_refinement_parameters = pickled_remesh_refinement_parameters
          self.is_custom_settings_metric_refinement_pickled = True
          self.is_custom_settings_remesh_refinement_pickled = True
function_tokens: def SerializeRefinementParameters ( self ) : metric_refinement_parameters = self . custom_metric_refinement_parameters remeshing_refinement_parameters = self . custom_remesh_refinement_parameters # save parameters as MpiSerializer Kratos objects serialized_metric_refinement_parameters = KratosMultiphysics . MpiSerializer ( ) serialized_metric_refinement_parameters . Save ( "MetricRefinementParametersSerialization" , metric_refinement_parameters ) serialized_remesh_refinement_parameters = KratosMultiphysics . MpiSerializer ( ) serialized_remesh_refinement_parameters . Save ( "RemeshRefinementParametersSerialization" , remeshing_refinement_parameters ) # pickle parameters pickled_metric_refinement_parameters = pickle . dumps ( serialized_metric_refinement_parameters , 2 ) # second argument is the protocol and is NECESSARY (according to pybind11 docs) pickled_remesh_refinement_parameters = pickle . dumps ( serialized_remesh_refinement_parameters , 2 ) # second argument is the protocol and is NECESSARY (according to pybind11 docs) self . pickled_custom_metric_refinement_parameters = pickled_metric_refinement_parameters self . pickled_custom_remesh_refinement_parameters = pickled_remesh_refinement_parameters self . is_custom_settings_metric_refinement_pickled = True self . is_custom_settings_remesh_refinement_pickled = True