apply clang-tidy updates
This commit is contained in:
@ -224,7 +224,7 @@ const double kMinScale_ = 10000.;
|
||||
//--------------------------------------------------------
|
||||
// Initialize
|
||||
//--------------------------------------------------------
|
||||
void ConcentrationRegulatorMethodTransition::initialize(void)
|
||||
void ConcentrationRegulatorMethodTransition::initialize()
|
||||
{
|
||||
#ifdef ATC_VERBOSE
|
||||
lammpsInterface_->print_msg_once(
|
||||
@ -289,7 +289,7 @@ const double kMinScale_ = 10000.;
|
||||
//--------------------------------------------------------
|
||||
// pre exchange
|
||||
//--------------------------------------------------------
|
||||
void ConcentrationRegulatorMethodTransition::pre_exchange(void)
|
||||
void ConcentrationRegulatorMethodTransition::pre_exchange()
|
||||
{
|
||||
// return if should not be called on this timestep
|
||||
if ( ! lammpsInterface_->now(frequency_)) return;
|
||||
@ -312,7 +312,7 @@ const double kMinScale_ = 10000.;
|
||||
//--------------------------------------------------------
|
||||
// pre force
|
||||
//--------------------------------------------------------
|
||||
void ConcentrationRegulatorMethodTransition::pre_force(void)
|
||||
void ConcentrationRegulatorMethodTransition::pre_force()
|
||||
{
|
||||
transition();
|
||||
}
|
||||
@ -353,7 +353,7 @@ const double kMinScale_ = 10000.;
|
||||
//--------------------------------------------------------
|
||||
// excess
|
||||
//--------------------------------------------------------
|
||||
int ConcentrationRegulatorMethodTransition::excess(void) const
|
||||
int ConcentrationRegulatorMethodTransition::excess() const
|
||||
{
|
||||
int nexcess = count()-targetCount_;
|
||||
nexcess = max(min(nexcess,maxExchanges_),-maxExchanges_);
|
||||
@ -362,7 +362,7 @@ const double kMinScale_ = 10000.;
|
||||
//--------------------------------------------------------
|
||||
// count
|
||||
//--------------------------------------------------------
|
||||
int ConcentrationRegulatorMethodTransition::count(void) const
|
||||
int ConcentrationRegulatorMethodTransition::count() const
|
||||
{
|
||||
// integrate concentration over region
|
||||
const DENS_MAT & c = (atc_->field(SPECIES_CONCENTRATION)).quantity();
|
||||
|
||||
Reference in New Issue
Block a user