https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PointInPolyhedronBaseUO.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 "GeneralUserObject.h"
14
22{
23public:
26
27 virtual void initialize() override {}
28 virtual void execute() override {}
29 virtual void finalize() override {}
30
31protected:
35
38
40 const Point _ray_direction;
41
43 const Real _tolerance;
44
46 const int _leaf_max_size;
47
49 const FileName _obb_file_name;
50
52 const FileName _ray_file_name;
53};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
Method
Backend algorithm used for point-containment queries.
Common base class providing shared parameters and validation for point-containment user objects.
virtual void execute() override
Execute method.
const Point _ray_direction
User-supplied ray direction (used only by user_selected_ray).
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
const PointContainmentClassifier::Method _method
Selected point-containment backend.
const FileName _obb_file_name
Oriented Bounding Box (OBB) debug file name (ray backends only).
const FileName _ray_file_name
Ray debug file name (ray backends only).
static InputParameters validParams()
PointContainmentClassifier::RayOptions pcaRayOptions() const
Assemble the ray-backend tuning/debug options from the shared parameters.
const Real _tolerance
eps / surface tolerance for on-surface and intersection checks.
const int _leaf_max_size
Maximum number of elements in a leaf node of the KD-tree (ray backends).
virtual void finalize() override
Finalize.
Ray-backend tuning + debug output; ignored by FIXED_X_RAY (TriangleManifold).