https://mooseframework.inl.gov
Loading...
Searching...
No Matches
RayTracingObjectTest.C
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
11
12#include "RepeatableRayStudy.h"
13
15
18{
19 auto params = NullRayKernel::validParams();
20
21 params.addParam<bool>("get_study_bad", false, "Tests a bad getStudy() cast");
22
23 return params;
24}
25
27{
28 if (getParam<bool>("get_study_bad"))
29 getStudy<RepeatableRayStudy>();
30}
registerMooseObject("RayTracingTestApp", RayTracingObjectTest)
A RayKernel that does nothing.
static InputParameters validParams()
Test object for RayTracingObject.
static InputParameters validParams()
RayTracingObjectTest(const InputParameters &params)