https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ConeRayStudy.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
13
19{
20public:
22
24
25protected:
26 virtual void defineRays() override;
27
29 const std::vector<Point> _start_points;
31 const std::vector<Point> _directions;
33 const std::vector<Real> _scaling_factors;
34
36 const std::vector<Real> _half_cone_angles;
38 const std::vector<unsigned int> _polar_quad_orders;
40 const std::vector<unsigned int> _azimuthal_quad_orders;
41
44};
unsigned int RayDataIndex
Type for the index into the data and aux data on a Ray.
Definition Ray.h:52
Ray study that spawns Rays in a cone from a given set of starting points for the cones and half angle...
virtual void defineRays() override
Entry point for the user to create Rays.
const std::vector< Real > _scaling_factors
Scaling factors for each cone's Rays (defaults to 1)
const std::vector< unsigned int > _azimuthal_quad_orders
The azimuthal quadrature orders for each cone.
const std::vector< Point > _directions
The directions that define the cones (points down the center of the cone)
const std::vector< Point > _start_points
The points to start the Rays from (the cone points)
const RayDataIndex _ray_data_index
The index into the Ray's data for storing the angular quadrature weight and scaling factor.
const std::vector< unsigned int > _polar_quad_orders
The polar quadrature orders for each cone.
static InputParameters validParams()
const std::vector< Real > _half_cone_angles
The half-cone angles in degrees for each cone.
const InputParameters & parameters() const
A RayTracingStudy that generates and traces Rays repeatedly that a user defines only once.