https://mooseframework.inl.gov
FVConstantIC.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 
13 
14 class InputParameters;
15 
16 namespace libMesh
17 {
18 class Point;
19 }
20 
25 {
26 public:
28 
30 
31  virtual Real value(const Point & p) override;
32 
33 protected:
34  const Real _value;
35 };
static InputParameters validParams()
Definition: FVConstantIC.C:16
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
FVConstantIC(const InputParameters &parameters)
Definition: FVConstantIC.C:24
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real value(const Point &p) override
The value of the variable at a point.
Definition: FVConstantIC.C:30
const InputParameters & parameters() const
Get the parameters of the object.
FVConstantIC just returns a constant value for a finite volume variable.
Definition: FVConstantIC.h:24
const Real _value
Definition: FVConstantIC.h:34
This is a template class that implements the workhorse compute and computeNodal methods.