www.mooseframework.org
FunctionNeumannBC.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 "IntegratedBC.h"
13 
14 class Function;
15 
20 {
21 public:
23 
25 
26 protected:
27  virtual Real computeQpResidual() override;
28 
30  const Function & _func;
31 };
Base class for function objects.
Definition: Function.h:37
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Boundary condition of a Neumann style whose value is computed by a user-defined function.
Base class for deriving any boundary condition of a integrated type.
Definition: IntegratedBC.h:18
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
FunctionNeumannBC(const InputParameters &parameters)
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
const Function & _func
The function being used for setting the value.
virtual Real computeQpResidual() override
Method for computing the residual at quadrature points.