www.mooseframework.org
FunctionScalarIC.h
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 #pragma once
11 
12 #include "ScalarInitialCondition.h"
13 
14 class Function;
15 
17 {
18 public:
20 
22 
23 protected:
24  virtual Real value() override;
25 
26  unsigned int _ncomp;
27  std::vector<const Function *> _func;
28 };
Base class for function objects.
Definition: Function.h:37
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
unsigned int _ncomp
InitialConditions are objects that set the initial value of variables.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
virtual Real value() override
The value of the variable.
FunctionScalarIC(const InputParameters &parameters)
std::vector< const Function * > _func