The interactive file manager requires Javascript. Please enable it or use sftp or scp.
You may still browse the files here.
| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2017-02-25 | 2.8 kB | |
| Version 0.7.0.tar.gz | 2017-02-25 | 2.1 MB | |
| Version 0.7.0.zip | 2017-02-25 | 2.2 MB | |
| Totals: 3 Items | 4.3 MB | 0 | |
New features
- Add a public
Residueclass to C++ and C API to represent residue data. Residues are groups of atoms bonded together, which may or may not correspond to molecules; and are often used for bio-molecules. - Add the
resnameandresidselector, to select atoms based on their residue. - Account for the difference between the atom name ("H1") and atom type ("H")
in some formats (PDB, TNG, ...). This introduces the
Atom::typemember function and thechfl_atom_typeC API function. - Add the
typeselector, to select atoms based on their type. - Add "Frame::add_atom" function to add an atom and the corresponding position
(and velocity) data to a frame, and the C API
chfl_frame_add_atomfunction. - Rename
UnitCell::typetoUnitCell::shape. This also affectchfl_cell_shape_t,chfl_cell_shape, andchfl_cell_set_shape. - All the floating point data uses doubles instead of floats. This concerns atomic data, positions and velocities.
- Add "Selection::string" function and the corresponding
chfl_selection_stringto get the string used to build a selection. - Selection variables uses the
#3syntax instead of the$3syntax to allow passing selection string as shell arguments. - Add
Frame::removeandchfl_frame_removeto remove an atom in a frame. - Allow to use chemfiles with Cmake
find_package.
Changes in supported formats
- Add read support for TNG files, an new portable and compressed binary format used by GROMACS.
C API changes
- All the integers at C boundary have a fixed size, most of the time using
uint64_t. - Add missing
chfl_topology_resizefunction to C API. - C API functions taking three lengths/angles now take a
double[3]parameter instead. - Rename
chfl_topology_are_linkedtochfl_topology_residues_linked. - Rename
chfl_topology_appendtochfl_topology_add_atom. - Remove
chfl_strerror, as it is redundant withchfl_last_error. - Merge
chfl_trajectory_set_topology_fileandchfl_trajectory_set_topology_with_formatintochfl_trajectory_topology_file. - The
chfl_framefunction no longer take the frame size as argument. It always creates an empty frame, that you can resize usingchfl_frame_resize. chfl_selection_evalutatewas a typo, it is renamed tochfl_selection_evaluate.
Deprecation and removals
- Remove the
Atom::typeenum from C and C++ API. - Remove the
Trajectory::syncand thechfl_trajectory_syncfunctions. To ensure that all content of a file is written to the disk, the user need to close it. - Remove the
Loggerand all thechfl_log*functions. Instead, the users can usechemfiles::set_warning_callbackorchfl_set_warning_callbackto set a global callback to call on warnings events.