https://mooseframework.inl.gov
Loading...
Searching...
No Matches
AddRayBCAction.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
10#include "AddRayBCAction.h"
11
13#include "PeriodicRayBC.h"
15
16registerMooseAction("RayTracingApp", AddRayBCAction, "add_ray_boundary_condition");
17
20{
22 params.addClassDescription("Adds a RayBC for use in ray tracing to the simulation.");
23 return params;
24}
25
29
30void
32{
33 // Special case for the PeriodicRayBC, which needs to have geometric
34 // ghosting and periodic boundaries setup before the object is constructed.
35 // A SetupPeriodicRayBCAction will exist for every RayBC, and if this
36 // is a PeriodicRayBC, will setup the periodic boundaries early
40
42}
registerMooseAction("RayTracingApp", AddRayBCAction, "add_ray_boundary_condition")
const T & getAction(const std::string &name) const
std::shared_ptr< FEProblemBase > & _problem
Action for creating a RayBC and associating it with the necessary RayTracingStudy objects.
AddRayBCAction(const InputParameters &params)
static InputParameters validParams()
void addRayTracingObject() override final
Calls addObject on the problem to add the desired object after _ray_tracing_study is set in _moose_ob...
Base class for adding a RayTracingObject and associating it with the necessary RayTracingStudy.
static InputParameters validParams()
ActionWarehouse & actionWarehouse()
const std::string & name() const
const std::string & _name
InputParameters _moose_object_pars
std::string _type
static bool isPeriodicRayBC(const InputParameters &params)
Whether or not the RayBC params belong to a PeriodicRayBC.
Base class for the RayBC syntax.
Action that sets up the periodic boundary conditions for a PeriodicRayBC.