https://mooseframework.inl.gov
AddPeriodicBCAction.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 
14 class MooseMesh;
15 namespace libMesh
16 {
17 class PeriodicBoundaryBase;
18 }
19 
26 {
27 public:
29 
30  AddPeriodicBCAction(const InputParameters & params);
31 
32  virtual void act() override;
33 
34 protected:
41 
43  const std::vector<VariableName> & var_names);
44 
46 };
This Action adds a periodic boundary to the problem.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Base class for actions.
Definition: Action.h:33
bool autoTranslationBoundaries()
This function will automatically add the correct translation vectors for each requested dimension whe...
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.
AddPeriodicBCAction(const InputParameters &params)
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition: MooseMesh.h:88
void setPeriodicVars(libMesh::PeriodicBoundaryBase &p, const std::vector< VariableName > &var_names)
static InputParameters validParams()