Line data Source code
1 : /********************************************************************/ 2 : /* SOFTWARE COPYRIGHT NOTIFICATION */ 3 : /* Cardinal */ 4 : /* */ 5 : /* (c) 2021 UChicago Argonne, LLC */ 6 : /* ALL RIGHTS RESERVED */ 7 : /* */ 8 : /* Prepared by UChicago Argonne, LLC */ 9 : /* Under Contract No. DE-AC02-06CH11357 */ 10 : /* With the U. S. Department of Energy */ 11 : /* */ 12 : /* Prepared by Battelle Energy Alliance, LLC */ 13 : /* Under Contract No. DE-AC07-05ID14517 */ 14 : /* With the U. S. Department of Energy */ 15 : /* */ 16 : /* See LICENSE for full restrictions */ 17 : /********************************************************************/ 18 : 19 : #ifdef ENABLE_OPENMC_COUPLING 20 : 21 : #include "OpenMCIndicator.h" 22 : 23 : #include "libmesh/threads.h" 24 : 25 : InputParameters 26 72 : OpenMCIndicator::validParams() 27 : { 28 72 : auto params = Indicator::validParams(); 29 72 : return params; 30 : } 31 : 32 36 : OpenMCIndicator::OpenMCIndicator(const InputParameters & parameters) 33 : : Indicator(parameters), 34 : OpenMCBase(this, parameters), 35 72 : _field_var(_subproblem.getStandardVariable(_tid, name())), 36 36 : _current_elem(_field_var.currentElem()) 37 : { 38 36 : } 39 : 40 : #endif