Lines Matching refs:nbatoms
447 int i, j, nbstates = 0, nbatoms = 0;
499 for (j = 0;j < nbatoms;j++) {
505 if (j >= nbatoms) {
506 stringRemap[i] = nbatoms;
507 stringMap[nbatoms] = xmlStrdup(value);
508 if (stringMap[nbatoms] == NULL) {
509 for (i = 0;i < nbatoms;i++)
517 nbatoms++;
522 for (i = 0;i < nbatoms;i++)
530 printf("Final: %d atoms\n", nbatoms);
533 (nbatoms + 1) * sizeof(int));
541 memset(transitions, 0, (nbstates + 1) * (nbatoms + 1) * sizeof(int));
559 transitions[stateno * (nbatoms + 1)] = state->type;
567 transdata = (void **) xmlMalloc(nbstates * nbatoms *
571 nbstates * nbatoms * sizeof(void *));
583 prev = transitions[stateno * (nbatoms + 1) + atomno + 1];
597 for (i = 0;i < nbatoms;i++)
607 transitions[stateno * (nbatoms + 1) + atomno + 1] =
610 transdata[stateno * nbatoms + atomno] =
621 for (j = 0;j < nbatoms + 1;j++) {
622 printf("%02d ", transitions[i * (nbatoms + 1) + j]);
649 ret->nbstrings = nbatoms;