https://mooseframework.inl.gov
ShortestDistanceToSurfaceTestAux.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 "AuxKernel.h"
13 
16 class Function;
17 
24 {
25 public:
27 
29 
33  virtual void initialSetup() override;
34 
35 protected:
36  virtual Real computeValue() override;
37 
38 private:
43  const unsigned int _index;
44  const Function * const _function;
48  const bool _use_at_point;
49  const Point _at_point;
50 };
ShortestDistanceToSurfaceTestAux(const InputParameters &parameters)
const InputParameters & parameters() const
Test-only AuxKernel that exposes the rarely-called ShortestDistanceToSurface accessors (trueNormal...
const ShortestDistanceToSurface & _distance_to_surface
User object that computes the shortest distance to one or more surfaces defined by function- and/or m...
const SBMSurfaceMeshBuilder *const _builder
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void initialSetup() override
If a 'builder' was supplied, calls SBMSurfaceMeshBuilder::getCentroids() once and verifies it is non-...
const bool _use_at_point
If set, queries are evaluated at this fixed point instead of the current element centroid.