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
31 virtual void initialSetup() override;
32
33protected:
34 virtual Real computeValue() override;
35
36private:
41 const unsigned int _index;
42 const Function * const _function;
46 const bool _use_at_point;
47 const Point _at_point;
48};
const InputParameters & parameters() const
BoundaryMeshBuilder specialization that additionally builds a centroid KD-tree over the whole-mesh Su...
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, validates it produced a non-empty surface element set.
const ShortestDistanceToSurface & _distance_to_surface
User object that computes the shortest distance to one or more surfaces defined by function- and/or m...