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