Line data Source code
1 : /**********************************************************************/ 2 : /* DO NOT MODIFY THIS HEADER */ 3 : /* MAGPIE - Mesoscale Atomistic Glue Program for Integrated Execution */ 4 : /* */ 5 : /* Copyright 2017 Battelle Energy Alliance, LLC */ 6 : /* ALL RIGHTS RESERVED */ 7 : /**********************************************************************/ 8 : 9 : #include "MyTRIMElementResultAux.h" 10 : #include "MyTRIMElementRun.h" 11 : 12 : registerMooseObject("MagpieApp", MyTRIMElementResultAux); 13 : 14 : InputParameters 15 405 : MyTRIMElementResultAux::validParams() 16 : { 17 405 : InputParameters params = MyTRIMElementResultAccess<AuxKernel>::validParams(); 18 405 : return params; 19 : } 20 : 21 223 : MyTRIMElementResultAux::MyTRIMElementResultAux(const InputParameters & parameters) 22 223 : : MyTRIMElementResultAccess<AuxKernel>(parameters) 23 : { 24 : /** 25 : * having this AuxKernel also depend on the rasterizer bumps the rasterizer into 26 : * the preaux group and ensures it is executed _before_ the MyTRIMRun object. 27 : */ 28 223 : getUserObjectByName<MyTRIMRasterizer>(_mytrim.getRasterizerName()); 29 223 : } 30 : 31 : Real 32 4478416 : MyTRIMElementResultAux::computeValue() 33 : { 34 4478416 : return getDefectRate(); 35 : }