CutRepartitionData Struct Reference

Developer Documentation: MeltPoolDG::CutRepartitionData Struct Reference
Developer Documentation
MeltPoolDG::CutRepartitionData Struct Reference

Collection of parameters for the weighted repartitioning of the triangulation in cut applications. More...

#include <cut_data.hpp>

Collaboration diagram for MeltPoolDG::CutRepartitionData:
[legend]

Classes

struct  Weights
 

Public Member Functions

void add_parameters (dealii::ParameterHandler &prm)
 Add the repartitioning parameters in the parameter handler.
 

Public Attributes

bool enable = false
 
unsigned int every_n_step = 100
 The triangulation is repartitioned every n-th time step.
 
struct MeltPoolDG::CutRepartitionData::Weights weights
 

Detailed Description

Collection of parameters for the weighted repartitioning of the triangulation in cut applications.

The weight of a cell is chosen according to its location with respect to the zero level-set isosurface, as determined by dealii::NonMatching::MeshClassifier:

  • inside: the level set is negative on the whole cell,
  • outside: the level set is positive on the whole cell,
  • intersected: the zero level-set isosurface intersects the cell.

Member Function Documentation

◆ add_parameters()

void MeltPoolDG::CutRepartitionData::add_parameters ( dealii::ParameterHandler &  prm)

Add the repartitioning parameters in the parameter handler.

Parameters
prmThe parameter handler to which the parameters are added.

Member Data Documentation

◆ enable

bool MeltPoolDG::CutRepartitionData::enable = false

If true, the triangulation is repartitioned with cell weights according to the location of the cells with respect to the level set

◆ every_n_step

unsigned int MeltPoolDG::CutRepartitionData::every_n_step = 100

The triangulation is repartitioned every n-th time step.

◆ weights

struct MeltPoolDG::CutRepartitionData::Weights MeltPoolDG::CutRepartitionData::weights

The documentation for this struct was generated from the following files: