/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
module_->initAfterFirstFrame(settings_, common_.frame());
t_pbc pbc;
- t_pbc *ppbc = settings_.hasPBC() ? &pbc : NULL;
+ t_pbc *ppbc = settings_.hasPBC() ? &pbc : nullptr;
int nframes = 0;
AnalysisDataParallelOptions dataOptions;
{
common_.initFrame();
t_trxframe &frame = common_.frame();
- if (ppbc != NULL)
+ if (ppbc != nullptr)
{
set_pbc(ppbc, topology.ePBC(), frame.box);
}
}
while (common_.readNextFrame());
module_->finishFrames(pdata.get());
- if (pdata.get() != NULL)
+ if (pdata.get() != nullptr)
{
pdata->finish();
}
{
return createModule(factory());
};
- return ICommandLineOptionsModule::runAsMain(argc, argv, NULL, NULL, runnerFactory);
+ return ICommandLineOptionsModule::runAsMain(argc, argv, nullptr, nullptr, runnerFactory);
}
// static