https://mooseframework.inl.gov
InitialConditionInterface.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
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 #pragma once
11 
12 #include "InputParameters.h"
13 
19 {
20 public:
26  InitialConditionInterface(const InputParameters & parameters);
27 
29 
31 
36  unsigned short getState() const;
37 
38 protected:
39  // variable used when applying initial conditions to previous states
40  unsigned short _my_state;
41 };
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InitialConditionInterface(const InputParameters &parameters)
Constructor.
unsigned short getState() const
Retrieves the state of this initial condition.
InitialConditionInterface serves as the abstract class for InitialConditions, FVInitialConditions, and ScalarInitialConditions.
static InputParameters validParams()