www.mooseframework.org
RndBoundingBoxIC.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 "InitialCondition.h"
13 
14 // Forward Declarations
15 class RndBoundingBoxIC;
16 
17 template <>
18 InputParameters validParams<RndBoundingBoxIC>();
19 
33 class RndBoundingBoxIC : public InitialCondition
34 {
35 public:
36  RndBoundingBoxIC(const InputParameters & parameters);
37 
38  virtual Real value(const Point & p);
39 
40 private:
41  const Real _x1;
42  const Real _y1;
43  const Real _z1;
44  const Real _x2;
45  const Real _y2;
46  const Real _z2;
47  const Real _mx_invalue;
48  const Real _mx_outvalue;
49  const Real _mn_invalue;
50  const Real _mn_outvalue;
51  const Real _range_invalue;
52  const Real _range_outvalue;
53 
54  const Point _bottom_left;
55  const Point _top_right;
56 };
57 
RndBoundingBoxIC::_mn_invalue
const Real _mn_invalue
Definition: RndBoundingBoxIC.h:49
RndBoundingBoxIC::value
virtual Real value(const Point &p)
Definition: RndBoundingBoxIC.C:61
RndBoundingBoxIC::_mn_outvalue
const Real _mn_outvalue
Definition: RndBoundingBoxIC.h:50
RndBoundingBoxIC::_x2
const Real _x2
Definition: RndBoundingBoxIC.h:44
RndBoundingBoxIC::_z1
const Real _z1
Definition: RndBoundingBoxIC.h:43
RndBoundingBoxIC::RndBoundingBoxIC
RndBoundingBoxIC(const InputParameters &parameters)
Definition: RndBoundingBoxIC.C:39
RndBoundingBoxIC::_x1
const Real _x1
Definition: RndBoundingBoxIC.h:41
validParams< RndBoundingBoxIC >
InputParameters validParams< RndBoundingBoxIC >()
Definition: RndBoundingBoxIC.C:17
RndBoundingBoxIC::_y1
const Real _y1
Definition: RndBoundingBoxIC.h:42
RndBoundingBoxIC::_z2
const Real _z2
Definition: RndBoundingBoxIC.h:46
RndBoundingBoxIC::_range_outvalue
const Real _range_outvalue
Definition: RndBoundingBoxIC.h:52
RndBoundingBoxIC::_top_right
const Point _top_right
Definition: RndBoundingBoxIC.h:55
RndBoundingBoxIC::_mx_invalue
const Real _mx_invalue
Definition: RndBoundingBoxIC.h:47
RndBoundingBoxIC::_y2
const Real _y2
Definition: RndBoundingBoxIC.h:45
RndBoundingBoxIC
RndBoundingBoxIC allows setting the initial condition of a value inside and outside of a specified bo...
Definition: RndBoundingBoxIC.h:33
RndBoundingBoxIC::_range_invalue
const Real _range_invalue
Definition: RndBoundingBoxIC.h:51
RndBoundingBoxIC::_mx_outvalue
const Real _mx_outvalue
Definition: RndBoundingBoxIC.h:48
RndBoundingBoxIC::_bottom_left
const Point _bottom_left
Definition: RndBoundingBoxIC.h:54