extern gmx_ana_selmethod_t sm_resindex;
extern gmx_ana_selmethod_t sm_molindex;
extern gmx_ana_selmethod_t sm_atomname;
+extern gmx_ana_selmethod_t sm_pdbatomname;
extern gmx_ana_selmethod_t sm_atomtype;
extern gmx_ana_selmethod_t sm_resname;
extern gmx_ana_selmethod_t sm_insertcode;
{"mol", &sm_molindex},
{"molecule", &sm_molindex},
{NULL, &sm_atomname},
+ {"name", &sm_atomname},
+ {NULL, &sm_pdbatomname},
+ {"pdbname", &sm_pdbatomname},
{NULL, &sm_atomtype},
+ {"type", &sm_atomtype},
{NULL, &sm_resname},
{NULL, &sm_insertcode},
{NULL, &sm_chain},
report_error(fp, method->name, "error: outinit should be provided because the method has POS_VALUE");
bOk = FALSE;
}
+ /* Check presence of outinit for variable output count methods */
+ if ((method->flags & SMETH_VARNUMVAL) && !method->outinit)
+ {
+ report_error(fp, method->name, "error: outinit should be provided because the method has SMETH_VARNUMVAL");
+ bOk = FALSE;
+ }
/* Warn of dynamic callbacks in static methods */
if (!(method->flags & SMETH_MODIFIER))
{