diff --git a/modules/phase_field/src/auxkernels/PFCRFFEnergyDensity.C b/modules/phase_field/src/auxkernels/PFCRFFEnergyDensity.C index e74eadce2cbc..9c53d2e8e10e 100644 --- a/modules/phase_field/src/auxkernels/PFCRFFEnergyDensity.C +++ b/modules/phase_field/src/auxkernels/PFCRFFEnergyDensity.C @@ -38,7 +38,7 @@ Real PFCRFFEnergyDensity::computeValue() { Real val = 0; - switch(_log_approach) + switch (_log_approach) { case 0: //approach using tolerence if (1.0 + (*_vals[0])[_qp] < _tol) @@ -54,7 +54,7 @@ PFCRFFEnergyDensity::computeValue() case 2: //approach using Taylor Series Expansion Real coef = 1.0; - for(unsigned int i = 2; i < (2+_num_exp_terms); i++) + for (unsigned int i = 2; i < (2+_num_exp_terms); i++) { if (i==2) coef = _c; diff --git a/modules/phase_field/src/kernels/CHPFCRFF.C b/modules/phase_field/src/kernels/CHPFCRFF.C index e45cecca4239..04cc00dc4081 100644 --- a/modules/phase_field/src/kernels/CHPFCRFF.C +++ b/modules/phase_field/src/kernels/CHPFCRFF.C @@ -61,7 +61,7 @@ CHPFCRFF::computeQpResidual() Real frac; Real ln_expansion = 0.0; - switch(_log_approach) + switch (_log_approach) { case 0: //approach using tolerance if (1.0 + c < _tol) @@ -91,7 +91,7 @@ CHPFCRFF::computeQpResidual() RealGradient GradDFDCons; - switch(_log_approach) + switch (_log_approach) { case 0: //approach using tolerance GradDFDCons = grad_c*frac - sum_grad_L; @@ -128,7 +128,7 @@ CHPFCRFF::computeQpJacobian() Real frac, dfrac; Real ln_expansion = 0.0; - switch(_log_approach) + switch (_log_approach) { case 0: //approach using tolerance if (1.0 + c < _tol) @@ -166,7 +166,7 @@ CHPFCRFF::computeQpJacobian() RealGradient dGradDFDConsdC; Real Dln_expansion = 0.0; - switch(_log_approach) + switch (_log_approach) { case 0: //approach using tolerance dGradDFDConsdC = _grad_phi[_j][_qp]*frac + _phi[_j][_qp]*grad_c*dfrac; @@ -214,7 +214,7 @@ CHPFCRFF::computeQpOffDiagJacobian(unsigned int jvar) RealGradient dsum_grad_L = _grad_phi[_j][_qp]*0.5; RealGradient dGradDFDConsdL; - switch(_log_approach) + switch (_log_approach) { case 0: //approach using tolerance dGradDFDConsdL = -dsum_grad_L;