Cardinal
PlaneSpatialBinUserObject.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 
21 #include "SpatialBinUserObject.h"
22 
27 {
28 public:
29  static InputParameters validParams();
30 
31  PlaneSpatialBinUserObject(const InputParameters & parameters);
32 
38  virtual Real distanceFromGap(const Point & point, const unsigned int & gap_index) const = 0;
39 
45  virtual unsigned int gapIndex(const Point & point) const = 0;
46 
53  virtual void
54  gapIndexAndDistance(const Point & point, unsigned int & index, Real & distance) const = 0;
55 
60  virtual const std::vector<Point> & gapUnitNormals() const = 0;
61 
67  virtual Real adjustBinValue(const unsigned int & /* bin */) const { return 1.0; }
68 };
PlaneSpatialBinUserObject(const InputParameters &parameters)
Definition: PlaneSpatialBinUserObject.C:28
Definition: SpatialBinUserObject.h:26
virtual void gapIndexAndDistance(const Point &point, unsigned int &index, Real &distance) const =0
virtual unsigned int gapIndex(const Point &point) const =0
virtual const std::vector< Point > & gapUnitNormals() const =0
virtual Real adjustBinValue(const unsigned int &) const
Definition: PlaneSpatialBinUserObject.h:67
virtual Real distanceFromGap(const Point &point, const unsigned int &gap_index) const =0
static InputParameters validParams()
Definition: PlaneSpatialBinUserObject.C:22
Definition: PlaneSpatialBinUserObject.h:26