https://mooseframework.inl.gov
JinSlabCoeffFunc.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 "Function.h"
13 
17 class JinSlabCoeffFunc : public Function
18 {
19 public:
21 
23 
24  using Function::value;
25  virtual Real value(Real t, const Point & p) const override;
26 
27 protected:
29  const Real _k;
30 
32  const Real _theta;
33 
35  const Real _length;
36 
38  const Real _coef;
39 
42 };
const Real _theta
Wave incidence angle, in degrees.
const Real _length
Length of slab domain (m)
const MooseEnum _component
Enum signifying the component of the function being calculated.
Function for field coefficient in slab reflection benchmark case.
static InputParameters validParams()
JinSlabCoeffFunc(const InputParameters &parameters)
virtual Real value(Real t, const Point &p) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _coef
Real-valued function coefficient.
const InputParameters & parameters() const
virtual Real value(Real t, const Point &p) const
const Real _k
Wavenumber of incoming wave (1/m)