Skip to content

Commit

Permalink
replace forbidden keywords (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwen committed Jul 2, 2015
1 parent f3a7fbe commit 9c9532a
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions modules/phase_field/src/action/CHPFCRFFSplitKernelAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ void
CHPFCRFFSplitKernelAction::act()
{
#ifdef DEBUG
std::cerr << "Inside the CHPFCRFFSplitKernelAction Object\n";
std::cerr << "L name base:" << _L_name_base;
Moose::err << "Inside the CHPFCRFFSplitKernelAction Object\n";
Moose::err << "L name base:" << _L_name_base;
#endif

//Create the two kernels required for the n_variable, starting with the time derivative
Expand All @@ -54,7 +54,7 @@ CHPFCRFFSplitKernelAction::act()
L_name.append(out.str());
L_name.append("_real");
real_v[l] = L_name;
//std::cout << "real_v[" << l << "] = " << L_name << std::endl;
//_console << "real_v[" << l << "] = " << L_name << std::endl;
}

poly_params = _factory.getValidParams("CHPFCRFF");
Expand Down
8 changes: 4 additions & 4 deletions modules/phase_field/src/action/CHPFCRFFSplitVariablesAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ CHPFCRFFSplitVariablesAction::act()


#ifdef DEBUG
std::cerr << "Inside the CHPFCRFFSplitVariablesAction Object\n";
std::cerr << "VariableBase: " << _L_name_base
Moose::err << "Inside the CHPFCRFFSplitVariablesAction Object\n";
Moose::err << "VariableBase: " << _L_name_base
<< "\torder: " << getParam<std::string>("order")
<< "\tfamily: " << getParam<std::string>("family") << std::endl;
#endif
Expand All @@ -96,7 +96,7 @@ CHPFCRFFSplitVariablesAction::act()


#ifdef DEBUG
std::cerr << "Real name = " << real_name << std::endl;
Moose::err << "Real name = " << real_name << std::endl;
#endif

_problem->addAuxVariable(real_name,
Expand All @@ -123,7 +123,7 @@ CHPFCRFFSplitVariablesAction::act()
imag_name.append("_imag");

#ifdef DEBUG
std::cerr << "Imaginary name = " << imag_name << std::endl;
Moose::err << "Imaginary name = " << imag_name << std::endl;
#endif

_problem->addAuxVariable(imag_name,
Expand Down
4 changes: 2 additions & 2 deletions modules/phase_field/src/action/HHPFCRFFSplitKernelAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ void
HHPFCRFFSplitKernelAction::act()
{
#ifdef DEBUG
std::cerr << "Inside the HHPFCRFFSplitKernelAction Object\n";
std::cerr << "L name base:" << _L_name_base;
Moose::err << "Inside the HHPFCRFFSplitKernelAction Object\n";
Moose::err << "L name base:" << _L_name_base;
#endif

//Loop over the L_variables
Expand Down
8 changes: 4 additions & 4 deletions modules/phase_field/src/action/HHPFCRFFSplitVariablesAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ void
HHPFCRFFSplitVariablesAction::act()
{
#ifdef DEBUG
std::cerr << "Inside the HHPFCRFFSplitVariablesAction Object\n";
std::cerr << "VariableBase: " << _L_name_base
Moose::err << "Inside the HHPFCRFFSplitVariablesAction Object\n";
Moose::err << "VariableBase: " << _L_name_base
<< "\torder: " << getParam<std::string>("order")
<< "\tfamily: " << getParam<std::string>("family") << std::endl;
#endif
Expand All @@ -57,7 +57,7 @@ HHPFCRFFSplitVariablesAction::act()


#ifdef DEBUG
std::cerr << "Real name = " << real_name << std::endl;
Moose::err << "Real name = " << real_name << std::endl;
#endif

_problem->addVariable(real_name,
Expand All @@ -72,7 +72,7 @@ HHPFCRFFSplitVariablesAction::act()
imag_name.append("_imag");

#ifdef DEBUG
std::cerr << "Imaginary name = " << imag_name << std::endl;
Moose::err << "Imaginary name = " << imag_name << std::endl;
#endif

_problem->addVariable(imag_name,
Expand Down
6 changes: 3 additions & 3 deletions modules/phase_field/src/action/PFCRFFKernelAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ void
PFCRFFKernelAction::act()
{
#ifdef DEBUG
std::cerr << "Inside the PFCRFFKernelAction Object\n";
std::cerr << "L name base:" << _L_name_base;
Moose::err << "Inside the PFCRFFKernelAction Object\n";
Moose::err << "L name base:" << _L_name_base;
#endif

//Create the two kernels required for the n_variable, starting with the time derivative
Expand All @@ -57,7 +57,7 @@ PFCRFFKernelAction::act()
L_name.append(out.str());
L_name.append("_real");
real_v[l] = L_name;
//std::cout << "real_v[" << l << "] = " << L_name << std::endl;
//_console << "real_v[" << l << "] = " << L_name << std::endl;
}

poly_params = _factory.getValidParams("CHPFCRFF");
Expand Down
8 changes: 4 additions & 4 deletions modules/phase_field/src/action/PFCRFFVariablesAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ void
PFCRFFVariablesAction::act()
{
#ifdef DEBUG
std::cerr << "Inside the PFCRFFVariablesAction Object\n";
std::cerr << "VariableBase: " << _L_name_base
Moose::err << "Inside the PFCRFFVariablesAction Object\n";
Moose::err << "VariableBase: " << _L_name_base
<< "\torder: " << getParam<std::string>("order")
<< "\tfamily: " << getParam<std::string>("family") << std::endl;
#endif
Expand All @@ -62,7 +62,7 @@ PFCRFFVariablesAction::act()


#ifdef DEBUG
std::cerr << "Real name = " << real_name << std::endl;
Moose::err << "Real name = " << real_name << std::endl;
#endif

_problem->addVariable(real_name,
Expand All @@ -77,7 +77,7 @@ PFCRFFVariablesAction::act()
imag_name.append("_imag");

#ifdef DEBUG
std::cerr << "Imaginary name = " << imag_name << std::endl;
Moose::err << "Imaginary name = " << imag_name << std::endl;
#endif

_problem->addVariable(imag_name,
Expand Down
2 changes: 1 addition & 1 deletion modules/phase_field/src/auxkernels/PFCEnergyDensity.C
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PFCEnergyDensity::PFCEnergyDensity(const std::string& name,
std::stringstream out;
out << i*2;
coeff_name.append(out.str());
std::cout << coeff_name << std::endl;
_console << coeff_name << std::endl;
_coeff[i] = &getMaterialProperty<Real>(coeff_name);
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/phase_field/src/ics/PFCFreezingIC.C
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PFCFreezingIC::PFCFreezingIC(const std::string & name,
_inside(getParam<Real>("inside")),
_outside(getParam<Real>("outside"))
{
std::cout << "MooseEnum? " << _crystal_structure << std::endl;
_console << "MooseEnum? " << _crystal_structure << std::endl;

for (unsigned int i = 0; i < LIBMESH_DIM; i++)
mooseAssert(_range(i) >= 0.0, "x1, y1 or z1 is not less than x2, y2 or z2");
Expand Down

0 comments on commit 9c9532a

Please sign in to comment.