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 
28 {
29 public:
31 
33 
34  virtual Real value(const Point & p);
35 
36 private:
37  const Real _x1;
38  const Real _y1;
39  const Real _z1;
40  const Real _x2;
41  const Real _y2;
42  const Real _z2;
49 
50  const Point _bottom_left;
51  const Point _top_right;
52 };
RndBoundingBoxIC(const InputParameters &parameters)
const Point _top_right
RndBoundingBoxIC allows setting the initial condition of a value inside and outside of a specified bo...
const Real _mx_invalue
const Real _range_outvalue
const Real _range_invalue
const Real _mx_outvalue
const Point _bottom_left
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _mn_invalue
virtual Real value(const Point &p)
const InputParameters & parameters() const
const Real _mn_outvalue