these functions do not create errors or throw exceptions
This commit is contained in:
@ -2979,13 +2979,8 @@ double lammps_eval(void *handle, const char *expr)
|
||||
*/
|
||||
void lammps_compute_clearstep(void * handle) {
|
||||
auto lmp = (LAMMPS *) handle;
|
||||
|
||||
BEGIN_CAPTURE
|
||||
{
|
||||
lmp->modify->clearstep_compute();
|
||||
}
|
||||
END_CAPTURE
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -3007,13 +3002,8 @@ void lammps_compute_clearstep(void * handle) {
|
||||
*/
|
||||
void lammps_compute_addstep_all(void * handle, bigint newstep) {
|
||||
auto lmp = (LAMMPS *) handle;
|
||||
|
||||
BEGIN_CAPTURE
|
||||
{
|
||||
lmp->modify->addstep_compute_all(newstep);
|
||||
}
|
||||
END_CAPTURE
|
||||
}
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
/** Add next timestep to compute if it has been invoked in the current timestep
|
||||
@ -3033,13 +3023,8 @@ void lammps_compute_addstep_all(void * handle, bigint newstep) {
|
||||
*/
|
||||
void lammps_compute_addstep(void * handle, bigint newstep) {
|
||||
auto lmp = (LAMMPS *) handle;
|
||||
|
||||
BEGIN_CAPTURE
|
||||
{
|
||||
lmp->modify->addstep_compute(newstep);
|
||||
}
|
||||
END_CAPTURE
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Library functions for scatter/gather operations of data
|
||||
|
||||
Reference in New Issue
Block a user