ovilab / atomify

Atomify - a realtime LAMMPS visualizer
GNU General Public License v3.0
149 stars 20 forks source link

Add variables of all kinds to list #375

Open andeplane opened 6 years ago

andeplane commented 6 years ago

Currently, we only support atom style variables and equal style variables. We should also add vector style variables.

In addition, we should list all variables even though they might have no output. This does not happen due to

bool Variables::isSupported(LAMMPSController *lammpsController, int ivar)
{
    return lammpsController->lammps()->input->variable->equalstyle(ivar) || lammpsController->lammps()->input->variable->atomstyle(ivar);
}