https://mooseframework.inl.gov
SetupPeriodicRayBCAction.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 "Action.h"
13 #include "PeriodicBCHelper.h"
14 
15 class AddRayBCAction;
16 
26 {
27 public:
29 
31 
32  void act() override final;
33 
40  void setupPeriodicRayBC(InputParameters & params) const;
41 
42 private:
47  const AddRayBCAction & getAddRayBCAction() const;
48 
50  const bool _is_periodic_ray_bc;
51 };
Action that sets up the periodic boundary conditions for a PeriodicRayBC.
const AddRayBCAction & getAddRayBCAction() const
Helper for getting the AddRayBCAction that is responsible for building the RayBC this action is assoc...
static InputParameters validParams()
const bool _is_periodic_ray_bc
Whether or not we are acting on a PeriodicRayBC.
Action for creating a RayBC and associating it with the necessary RayTracingStudy objects...
SetupPeriodicRayBCAction(const InputParameters &params)
void setupPeriodicRayBC(InputParameters &params) const
Method to be called from the AddRayBCAction that is associated with the same RayBC this Action is ass...