https://mooseframework.inl.gov
Loading...
Searching...
No Matches
MultiBoundingBoxIC.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
20{
21public:
23
25
26 virtual Real value(const Point & p) override;
27
28protected:
30 const std::vector<Point> _c1;
31 const std::vector<Point> _c2;
33
35 const unsigned int _nbox;
36
38 const unsigned int _dim;
39
41 const std::vector<Real> _inside;
42
44 const Real _outside;
45};
const Real p
const InputParameters & parameters() const
MultiBoundingBoxIC allows setting the initial condition of a value of a field inside and outside mult...
const std::vector< Point > _c2
const std::vector< Point > _c1
lists of opposite corners
virtual Real value(const Point &p) override
const unsigned int _nbox
number of boxes
const Real _outside
values outside the boxes
static InputParameters validParams()
const std::vector< Real > _inside
values inside the boxes
const unsigned int _dim
dimensionality of the mesh