www.mooseframework.org
Public Member Functions | List of all members
LevelSetProblem Class Reference

Problem that defines a custom call to MultiAppTransfers to allow for adaptivity to be transferred from master to sub-application. More...

#include <LevelSetProblem.h>

Inheritance diagram for LevelSetProblem:
[legend]

Public Member Functions

 LevelSetProblem (const InputParameters &parameters)
 
virtual bool adaptMesh () override
 
virtual void computeMarkers () override
 

Detailed Description

Problem that defines a custom call to MultiAppTransfers to allow for adaptivity to be transferred from master to sub-application.

Definition at line 24 of file LevelSetProblem.h.

Constructor & Destructor Documentation

◆ LevelSetProblem()

LevelSetProblem::LevelSetProblem ( const InputParameters &  parameters)

Definition at line 28 of file LevelSetProblem.C.

28 : FEProblem(parameters) {}

Member Function Documentation

◆ adaptMesh()

bool LevelSetProblem::adaptMesh ( )
overridevirtual

Definition at line 40 of file LevelSetProblem.C.

41 {
42  bool adapt = FEProblem::adaptMesh();
43  setCurrentExecuteOnFlag(LevelSet::EXEC_ADAPT_MESH);
44  execMultiAppTransfers(LevelSet::EXEC_ADAPT_MESH, MultiAppTransfer::TO_MULTIAPP);
45  setCurrentExecuteOnFlag(EXEC_NONE);
46  return adapt;
47 }
const ExecFlagType EXEC_ADAPT_MESH

◆ computeMarkers()

void LevelSetProblem::computeMarkers ( )
overridevirtual

Definition at line 31 of file LevelSetProblem.C.

32 {
33  FEProblem::computeMarkers();
34  setCurrentExecuteOnFlag(LevelSet::EXEC_COMPUTE_MARKERS);
35  execMultiAppTransfers(LevelSet::EXEC_COMPUTE_MARKERS, MultiAppTransfer::TO_MULTIAPP);
36  setCurrentExecuteOnFlag(EXEC_NONE);
37 }
const ExecFlagType EXEC_COMPUTE_MARKERS

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