ergo
|
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
#include <math.h>
#include <string.h>
#include "xyz_file_parser.h"
#include "output.h"
#include "memorymanag.h"
#include "units.h"
#include "atom_labels.h"
Functions | |
int | readMoleculeFileInXyzFormat (Molecule &result, const char *fileName, int netCharge, bool expectPlainCharges) |
int readMoleculeFileInXyzFormat | ( | Molecule & | result, |
const char * | fileName, | ||
int | netCharge, | ||
bool | expectPlainCharges | ||
) |
References do_output(), LOG_CAT_ERROR, LOG_AREA_MAIN, ergo_malloc(), LOG_CAT_INFO, Molecule::MAX_NO_OF_ATOMS, Molecule::atoms, Atom::charge, get_charge_int_from_atom_label(), Atom::coords, UNIT_one_Angstrom, ergo_free(), Molecule::noOfAtoms, and Molecule::netCharge.
Referenced by main(), and Molecule::setFromMoleculeFile().