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