Repository navigation
Add CMAP support - #1
Conversation
b5bb120 to
970675c
Compare
Required changes1. Preserve the selected calculation precision in the CMAP kernel
2. Replace the one-vector-per-coefficient CMAP representation with contiguous storage
3. Resolve the CMAP key orientation
4. Improve CMAP parser diagnostics and validation
Performance validation5. Remove repeated spline work during parameter initialization
Style and documentation cleanup
|
Parse CMAP grids from CHARMM parameter files and fit CHARMM's bicubic coefficients, read PSF cross-term atoms as zero-based indices, and evaluate CMAP energy, forces, and virial in CudaBondedForce. Add 1UBQ test data and unit tests against OpenMM reference values.
Fold the CMAP spline fit into CharmmParameters.cu, give CMAP its own launch in the non-energy path so the fused bonded kernel keeps its register count, keep float CMAP arithmetic in float, and add CMAP to the legacy getPotentialEnergies sum. Document parsed CMAP records, CHARMM's flex-reader matching rules, and zero-based cross terms, and move the CMAP tests into the existing test files. Co-authored-by: Julian Melendez <julian.melendez@nih.gov>
Implement CMAP energy, force, and virial calculations using B-spline interpolation. Add unit tests and update the example to use ubiquitin. Uses charmm style cmaps based on atomtypes and a 24x24 grid.