www.mooseframework.org
LevelSetProblem.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include "LevelSetProblem.h"
11 #include "LevelSetTypes.h"
12 
13 #include "MultiAppTransfer.h"
14 
15 registerMooseObject("LevelSetApp", LevelSetProblem);
16 
19 {
21  params.addClassDescription("A specilized problem class that adds a custom call to "
22  "MultiAppTransfer execution to transfer adaptivity for the level set "
23  "reinitialization.");
24  return params;
25 }
26 
27 LevelSetProblem::LevelSetProblem(const InputParameters & parameters) : FEProblem(parameters) {}
28 
29 void
31 {
36 }
37 
38 bool
40 {
41  bool adapt = FEProblem::adaptMesh();
45  return adapt;
46 }
LevelSetProblem(const InputParameters &parameters)
const ExecFlagType EXEC_NONE
virtual void computeMarkers()
const ExecFlagType EXEC_ADAPT_MESH
Definition: LevelSetTypes.C:16
void setCurrentExecuteOnFlag(const ExecFlagType &)
virtual bool adaptMesh() override
static InputParameters validParams()
const ExecFlagType EXEC_COMPUTE_MARKERS
Definition: LevelSetTypes.C:17
registerMooseObject("LevelSetApp", LevelSetProblem)
void execMultiAppTransfers(ExecFlagType type, Transfer::DIRECTION direction)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
virtual bool adaptMesh()
virtual void computeMarkers() override
Problem that defines a custom call to MultiAppTransfers to allow for adaptivity to be transferred fro...