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