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.
Public Member Functions | Public Attributes | List of all members
mmg_process.MmgProcess Class Reference

This process remeshes using MMG library. More...

Inheritance diagram for mmg_process.MmgProcess:
Collaboration diagram for mmg_process.MmgProcess:

Public Member Functions

def __init__ (self, Model, settings)
 The default constructor of the class. More...
 
def ExecuteInitialize (self)
 This method is executed at the begining to initialize the process. More...
 
def ExecuteInitializeSolutionStep (self)
 This method is executed in order to initialize the current step. More...
 
def ExecuteFinalize (self)
 This method is executed in order to finalize the simulation and save the refined mesh in a new .mdpa file. More...
 
def ExecuteFinalizeSolutionStep (self)
 This method is executed in order to finalize the current step. More...
 
def ExecuteBeforeOutputStep (self)
 This method is executed right before the ouput process computation. More...
 
def ExecuteAfterOutputStep (self)
 This method is executed right after the ouput process computation. More...
 

Public Attributes

 main_model_part
 Settings string in json format. More...
 
 domain_size
 
 is_surface
 
 interval
 
 time_stepping
 
 settings
 
 strategy
 
 enforce_current
 
 initial_remeshing
 
 remesh_control_type
 
 initial_step
 
 step_frequency
 
 initial_step_done
 
 remesh_executed
 
 find_nodal_h
 
 anisotropy_remeshing
 We print the parameters considered. More...
 
 scalar_variable
 
 gradient_variable
 
 non_historical_metric_variable
 
 normalization_factor
 
 normalization_alpha
 
 normalization_method
 
 error_threshold
 
 error_ratio
 
 internal_variable_interpolation_list
 
 initialize_metric
 
 mmg_process
 
 step
 
 time
 
 metric_processes
 
 error_compute
 
 metric_process
 
 local_gradient
 

Detailed Description

This process remeshes using MMG library.

This process uses different utilities and processes

Only the member variables listed below should be accessed directly.

Public member variables:
Model -- the container of the different model parts.
settings -- Kratos parameters containing solver settings.

Constructor & Destructor Documentation

◆ __init__()

def mmg_process.MmgProcess.__init__ (   self,
  Model,
  settings 
)

The default constructor of the class.

   Keyword arguments:
   self -- It signifies an instance of a class.
   Model -- the container of the different model parts.
   settings -- Kratos parameters containing solver settings.

Member Function Documentation

◆ ExecuteAfterOutputStep()

def mmg_process.MmgProcess.ExecuteAfterOutputStep (   self)

This method is executed right after the ouput process computation.

   Keyword arguments:
   self -- It signifies an instance of a class.

◆ ExecuteBeforeOutputStep()

def mmg_process.MmgProcess.ExecuteBeforeOutputStep (   self)

This method is executed right before the ouput process computation.

   Keyword arguments:
   self -- It signifies an instance of a class.

◆ ExecuteFinalize()

def mmg_process.MmgProcess.ExecuteFinalize (   self)

This method is executed in order to finalize the simulation and save the refined mesh in a new .mdpa file.

   Keyword arguments:
   self -- It signifies an instance of a class.

◆ ExecuteFinalizeSolutionStep()

def mmg_process.MmgProcess.ExecuteFinalizeSolutionStep (   self)

This method is executed in order to finalize the current step.

   Keyword arguments:
   self -- It signifies an instance of a class.

◆ ExecuteInitialize()

def mmg_process.MmgProcess.ExecuteInitialize (   self)

This method is executed at the begining to initialize the process.

   Keyword arguments:
   self -- It signifies an instance of a class.

◆ ExecuteInitializeSolutionStep()

def mmg_process.MmgProcess.ExecuteInitializeSolutionStep (   self)

This method is executed in order to initialize the current step.

   Keyword arguments:
   self -- It signifies an instance of a class.

Member Data Documentation

◆ anisotropy_remeshing

mmg_process.MmgProcess.anisotropy_remeshing

We print the parameters considered.

◆ domain_size

mmg_process.MmgProcess.domain_size

◆ enforce_current

mmg_process.MmgProcess.enforce_current

◆ error_compute

mmg_process.MmgProcess.error_compute

◆ error_ratio

mmg_process.MmgProcess.error_ratio

◆ error_threshold

mmg_process.MmgProcess.error_threshold

◆ find_nodal_h

mmg_process.MmgProcess.find_nodal_h

◆ gradient_variable

mmg_process.MmgProcess.gradient_variable

◆ initial_remeshing

mmg_process.MmgProcess.initial_remeshing

◆ initial_step

mmg_process.MmgProcess.initial_step

◆ initial_step_done

mmg_process.MmgProcess.initial_step_done

◆ initialize_metric

mmg_process.MmgProcess.initialize_metric

◆ internal_variable_interpolation_list

mmg_process.MmgProcess.internal_variable_interpolation_list

◆ interval

mmg_process.MmgProcess.interval

◆ is_surface

mmg_process.MmgProcess.is_surface

◆ local_gradient

mmg_process.MmgProcess.local_gradient

◆ main_model_part

mmg_process.MmgProcess.main_model_part

Settings string in json format.

◆ metric_process

mmg_process.MmgProcess.metric_process

◆ metric_processes

mmg_process.MmgProcess.metric_processes

◆ mmg_process

mmg_process.MmgProcess.mmg_process

◆ non_historical_metric_variable

mmg_process.MmgProcess.non_historical_metric_variable

◆ normalization_alpha

mmg_process.MmgProcess.normalization_alpha

◆ normalization_factor

mmg_process.MmgProcess.normalization_factor

◆ normalization_method

mmg_process.MmgProcess.normalization_method

◆ remesh_control_type

mmg_process.MmgProcess.remesh_control_type

◆ remesh_executed

mmg_process.MmgProcess.remesh_executed

◆ scalar_variable

mmg_process.MmgProcess.scalar_variable

◆ settings

mmg_process.MmgProcess.settings

◆ step

mmg_process.MmgProcess.step

◆ step_frequency

mmg_process.MmgProcess.step_frequency

◆ strategy

mmg_process.MmgProcess.strategy

◆ time

mmg_process.MmgProcess.time

◆ time_stepping

mmg_process.MmgProcess.time_stepping

The documentation for this class was generated from the following file: