https://mooseframework.inl.gov
ADOneDIntegratedBC.C
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 #include "ADOneDIntegratedBC.h"
11 
14 {
16  params.addRequiredParam<Real>("normal", "Component of outward normal along 1-D direction");
17  params.addClassDescription(
18  "Base class for integrated boundary conditions along a single direction (1D)");
19  return params;
20 }
21 
23  : ADIntegratedBC(parameters), _normal(getParam<Real>("normal"))
24 {
25 }
ADOneDIntegratedBC(const InputParameters &parameters)
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)