https://mooseframework.inl.gov
SmoothMultiBoundingBoxBaseIC.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 "InitialCondition.h"
13 
19 {
20 public:
22 
24 
25  Real value(const Point & p);
26 
27 private:
28  const Real _outside;
29 
30 protected:
32  const std::vector<Point> _c1;
33  const std::vector<Point> _c2;
35 
37  const unsigned int _nbox;
38 
41 
43  const unsigned int _dim;
44 
46  std::vector<Real> _inside;
47 };
const unsigned int _dim
dimensionality of the mesh
std::vector< Real > _inside
values inside the boxes
const unsigned int _nbox
number of boxes
const Real _int_width
value of interfacial width
SmoothMultiBoundingBoxBaseIC(const InputParameters &parameters)
const std::vector< Point > _c1
lists of opposite corners
SmoothMultiBoundingBoxBaseIC is the base class for IsolatedBoundingBoxIC and NestedBoundingBoxIC.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const