Loading [MathJax]/extensions/tex2jax.js
Cardinal
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
NekPlaneSpatialBinUserObject.h
Go to the documentation of this file.
1/********************************************************************/
2/* SOFTWARE COPYRIGHT NOTIFICATION */
3/* Cardinal */
4/* */
5/* (c) 2021 UChicago Argonne, LLC */
6/* ALL RIGHTS RESERVED */
7/* */
8/* Prepared by UChicago Argonne, LLC */
9/* Under Contract No. DE-AC02-06CH11357 */
10/* With the U. S. Department of Energy */
11/* */
12/* Prepared by Battelle Energy Alliance, LLC */
13/* Under Contract No. DE-AC07-05ID14517 */
14/* With the U. S. Department of Energy */
15/* */
16/* See LICENSE for full restrictions */
17/********************************************************************/
18
19#pragma once
20
23
31{
32public:
33 static InputParameters validParams();
34
35 NekPlaneSpatialBinUserObject(const InputParameters & parameters);
36
37 virtual Real distanceFromGap(const Point & point, const unsigned int & gap_index) const;
38
39 virtual unsigned int gapIndex(const Point & point) const;
40
41 virtual void
42 gapIndexAndDistance(const Point & point, unsigned int & index, Real & distance) const;
43
44protected:
46 const Real & _gap_thickness;
47
50
52 unsigned int _side_index;
53};
Definition NekPlaneSpatialBinUserObject.h:31
NekPlaneSpatialBinUserObject(const InputParameters &parameters)
const Real & _gap_thickness
Width of region enclosing gap for which points contribute to gap integral.
Definition NekPlaneSpatialBinUserObject.h:46
static InputParameters validParams()
virtual unsigned int gapIndex(const Point &point) const
const PlaneSpatialBinUserObject * _side_bin
The user object providing the side binning.
Definition NekPlaneSpatialBinUserObject.h:49
virtual void gapIndexAndDistance(const Point &point, unsigned int &index, Real &distance) const
unsigned int _side_index
The index into the _bins that represents the side bin object.
Definition NekPlaneSpatialBinUserObject.h:52
virtual Real distanceFromGap(const Point &point, const unsigned int &gap_index) const
Definition NekSpatialBinUserObject.h:32
Definition PlaneSpatialBinUserObject.h:27