22 params.addParam<UserObjectName>(
"study",
23 "The RayTracingStudy associated with this object. If none "
24 "provided, this will default to the one study that exists.");
25 params.addParam<std::vector<std::string>>(
27 "The name of the Rays associated with this object; only used if Ray registration is enabled "
28 "within the study. If no Rays are supplied, this object will be applied to all Rays.");
49 _fe_problem(*params.getCheckedPointerParam<
FEProblemBase *>(
"_fe_problem_base")),
50 _study(*params.getCheckedPointerParam<
RayTracingStudy *>(
"_ray_tracing_study")),
52 _nl(getNonlinearSystem()),
53 _aux(_fe_problem.getAuxiliarySystem()),
54 _mesh(_fe_problem.
mesh()),
55 _current_elem(_trace_ray.currentElem()),
56 _current_subdomain_id(_trace_ray.currentSubdomainID()),
57 _current_intersected_side(_trace_ray.currentIntersectedSide()),
58 _current_intersected_extrema(_trace_ray.currentIntersectedExtrema()),
59 _current_ray(_trace_ray.currentRay())
virtual std::size_t numNonlinearSystems() const override
NonlinearSystemBase & getNonlinearSystemBase(const unsigned int sys_num)
static InputParameters validParams()
const std::string & name() const
static InputParameters validParams()
static InputParameters validParams()
FEProblemBase & _fe_problem
The FEProblemBase.
RayTracingStudy & _study
The RayTracingStudy associated with this object.
NonlinearSystemBase * getNonlinearSystem()
Get the right nonlinear system.
std::set< std::string > _supplied_names
The names of the supplied objects: just this one.
RayTracingObject(const InputParameters ¶ms)
Base class for Ray tracing studies that will generate Rays and then propagate all of them to terminat...
static InputParameters validParams()
static InputParameters validParams()
unsigned int systemNumber() const