Skip to content

Commit

Permalink
Addressing BCs documentation for issue shannon-lab#260 and addressing…
Browse files Browse the repository at this point in the history
… Clang format
  • Loading branch information
csdechant committed Oct 29, 2024
1 parent 77376df commit 6bb926c
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 39 deletions.
5 changes: 2 additions & 3 deletions src/bcs/EconomouDielectricBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ EconomouDielectricBC::validParams()
"The secondary electron emission coefficient for each ion provided in `ions`");
params.addRequiredParam<std::string>("potential_units", "The potential units.");

params.addClassDescription(
"Dielectric boundary condition"
" (Based on [!cite](lymberopoulos1994modeling))");
params.addClassDescription("Dielectric boundary condition"
" (Based on [!cite](lymberopoulos1994modeling))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/HagelaarElectronAdvectionBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ HagelaarElectronAdvectionBC::validParams()
params.addRequiredParam<Real>("r", "The reflection coefficient");
params.addRequiredCoupledVar("potential", "The electric potential");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Kinetic advective electron boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
params.addClassDescription("Kinetic advective electron boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/HagelaarElectronBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ HagelaarElectronBC::validParams()
params.addRequiredCoupledVar("electron_energy", "The mean electron energy density in log form");

params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Kinetic electron boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
params.addClassDescription("Kinetic electron boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/HagelaarEnergyAdvectionBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ HagelaarEnergyAdvectionBC::validParams()
"The species-dependent secondary electron emission coefficients for this boundary");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addRequiredParam<Real>("secondary_electron_energy", "The secondary electron energy in eV");
params.addClassDescription(
"Kinetic advective electron energy boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
params.addClassDescription("Kinetic advective electron energy boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/HagelaarEnergyBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ HagelaarEnergyBC::validParams()
params.addRequiredCoupledVar("potential", "The electric potential");
params.addRequiredCoupledVar("electrons", "The electron density in log form");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Kinetic electron mean energy boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
params.addClassDescription("Kinetic electron mean energy boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/HagelaarIonAdvectionBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ HagelaarIonAdvectionBC::validParams()
params.addRequiredParam<Real>("r", "The reflection coefficient");
params.addRequiredCoupledVar("potential", "The electric potential");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Kinetic advective ion boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
params.addClassDescription("Kinetic advective ion boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/HagelaarIonDiffusionBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ HagelaarIonDiffusionBC::validParams()
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addParam<Real>(
"user_velocity", -1., "Optional parameter if user wants to specify the thermal velocity.");
params.addClassDescription(
"Kinetic electron boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
params.addClassDescription("Kinetic electron boundary condition"
" (Based on [!cite](hagelaar2000boundary))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/LymberopoulosElectronBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ LymberopoulosElectronBC::validParams()
params.addRequiredCoupledVar("potential", "The electric potential");
params.addRequiredCoupledVar("ions", "A list of ion densities in log form");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Simpified kinetic electron boundary condition"
" (Based on [!cite](Lymberopoulos1993))");
params.addClassDescription("Simpified kinetic electron boundary condition"
" (Based on [!cite](Lymberopoulos1993))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/LymberopoulosIonBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ LymberopoulosIonBC::validParams()
InputParameters params = ADIntegratedBC::validParams();
params.addRequiredCoupledVar("potential", "The electric potential");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Simpified kinetic ion boundary condition"
" (Based on [!cite](Lymberopoulos1993))");
params.addClassDescription("Simpified kinetic ion boundary condition"
" (Based on [!cite](Lymberopoulos1993))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/SakiyamaElectronDiffusionBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ SakiyamaElectronDiffusionBC::validParams()
InputParameters params = ADIntegratedBC::validParams();
params.addRequiredCoupledVar("electron_energy", "The mean electron energy density in log form");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Kinetic electron boundary condition"
" (Based on [!cite](sakiyama2006corona))");
params.addClassDescription("Kinetic electron boundary condition"
" (Based on [!cite](sakiyama2006corona))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/SakiyamaEnergyDiffusionBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ SakiyamaEnergyDiffusionBC::validParams()
InputParameters params = ADIntegratedBC::validParams();
params.addRequiredCoupledVar("electrons", "The electron density in log form");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Kinetic advective electron energy boundary condition"
" (Based on [!cite](sakiyama2007nonthermal))");
params.addClassDescription("Kinetic advective electron energy boundary condition"
" (Based on [!cite](sakiyama2007nonthermal))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/SakiyamaIonAdvectionBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ SakiyamaIonAdvectionBC::validParams()
InputParameters params = ADIntegratedBC::validParams();
params.addRequiredCoupledVar("potential", "The electric potential");
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addClassDescription(
"Kinetic advective ion boundary condition"
" (Based on [!cite](sakiyama2006corona))");
params.addClassDescription("Kinetic advective ion boundary condition"
" (Based on [!cite](sakiyama2006corona))");
return params;
}

Expand Down
5 changes: 2 additions & 3 deletions src/bcs/SakiyamaSecondaryElectronBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ SakiyamaSecondaryElectronBC::validParams()
params.addRequiredParam<Real>("position_units", "Units of position.");
params.addRequiredParam<std::vector<std::string>>(
"emission_coeffs", "A list of species-dependent secondary electron emission coefficients");
params.addClassDescription(
"Kinetic secondary electron boundary condition"
" (Based on [!cite](sakiyama2006corona))");
params.addClassDescription("Kinetic secondary electron boundary condition"
" (Based on [!cite](sakiyama2006corona))");
return params;
}

Expand Down

0 comments on commit 6bb926c

Please sign in to comment.