energygrp_vdw = grppener->ener[egLJSR];
break;
default:
- energygrp_elec = NULL; /* Keep compiler happy */
- energygrp_vdw = NULL; /* Keep compiler happy */
+ energygrp_elec = nullptr; /* Keep compiler happy */
+ energygrp_vdw = nullptr; /* Keep compiler happy */
gmx_fatal(FARGS, "Unknown function type %d in do_nonbonded14", ftype);
break;
}
t_pbc pbc_no;
const t_pbc *pbc_nonnull;
- if (pbc != NULL)
+ if (pbc != nullptr)
{
pbc_nonnull = pbc;
}
else
{
- set_pbc(&pbc_no, epbcNONE, NULL);
+ set_pbc(&pbc_no, epbcNONE, nullptr);
pbc_nonnull = &pbc_no;
}