From 5ce00da3add537092258c6cf1ee7ca5a9fa3832c Mon Sep 17 00:00:00 2001 From: Andrew E Slaughter Date: Tue, 27 Aug 2019 08:10:11 -0600 Subject: [PATCH] Clean up bad syntax (refs #93) --- src/auxkernels/PikaCriteria.C | 8 +------- src/kernels/IbexShortwaveForcingFunction.C | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/auxkernels/PikaCriteria.C b/src/auxkernels/PikaCriteria.C index 48b475e2..438727c6 100644 --- a/src/auxkernels/PikaCriteria.C +++ b/src/auxkernels/PikaCriteria.C @@ -21,19 +21,13 @@ InputParameters validParams() params += validParams(); // Controls which type of AuxKernel calculation if performed - MooseEnum criteria("ice=0, air=1, vapor=2, velocity=3, time=4"); + MooseEnum criteria("ice=0 air=1 vapor=2 velocity=3x time=4"); params.addParam("criteria", criteria, "Select the type of criteria to compute, see Eqs. (43), (45), and (47)"); params.addParam("use_temporal_scaling", false, "Temporally scale this Kernel with a value specified in PikaMaterials"); // Temporal scaling params.addParam("estimated_pore_size", 10e-4, "Estimated pore size for time criterial (m); ; only need with 'criteria = time'"); params.addCoupledVar("interface_velocity", 3.2e-10, "The name of the variable containing the interface velocity; only need with 'criteria = time | velocity'. Default: 3.2e-10 m/s"); - - // These terms are not used, CoefficientKernelIntrface for temporal scaling of rho_i - params.suppressParameter("offset"); - params.suppressParameter("scale"); - params.suppressParameter("coefficient"); - params.suppressParameter("property"); return params; } diff --git a/src/kernels/IbexShortwaveForcingFunction.C b/src/kernels/IbexShortwaveForcingFunction.C index 9f1041ca..a2c6f202 100644 --- a/src/kernels/IbexShortwaveForcingFunction.C +++ b/src/kernels/IbexShortwaveForcingFunction.C @@ -25,7 +25,7 @@ InputParameters validParams() params.addParam("vis_extinction", 40, "Extinction coefficient in visible (VIS) wavelengths (300-800 nm) [1/m]"); params.addParam("nir_extinction", 110, "Extinction coefficient in near-infrared (NIR) wavelenghts (800-1500 nm) [1/m]"); - MooseEnum direction("x=0, y=1, z=2", "y"); + MooseEnum direction("x=0 y=1 z=2", "y"); params.addParam("direction", direction, "Direction to apply the extinction function"); return params; }