Object-oriented programming paradigms for molecular modeling

Amit Gupta, Shaji Chempath, Martin J. Sanborn, Louis A. Clark, Randall Q Snurr*

*Corresponding author for this work

Research output: Contribution to journalArticle

325 Scopus citations

Abstract

This paper discusses the application of object-oriented programming (OOP) design concepts to the development of molecular simulation code. A number of new languages such as Fortran 90 (F90) have been developed over the last decade that support the OOPdesign philosophy. We briefly describe the salient features of F90 and some basic object-oriented design principles. As an illustration of the design concepts we implement a general interface in F90 for calculating pairwise interactions that can be extended easily to any number of different forcefield models. The ideas presented here are used in the development of a multipurpose simulation code, named Music. An example of the use of Music for grand canonical Monte Carlo (GCMC) simulations of flexible sorbate molecules in zeolites is given. The example illustrates how OOP allowed existing code for molecular dynamics and GCMC to be easily combined to perform hybrid GCMC simulations with minimal coding effort.

Original languageEnglish (US)
Pages (from-to)29-46
Number of pages18
JournalMolecular Simulation
Volume29
Issue number1
DOIs
StatePublished - Jan 1 2003

Keywords

  • Fortran 90
  • Hybrid Monte Carlo
  • Molecular simulation
  • Object-oriented programming

ASJC Scopus subject areas

  • Chemistry(all)
  • Information Systems
  • Modeling and Simulation
  • Chemical Engineering(all)
  • Materials Science(all)
  • Condensed Matter Physics

Fingerprint Dive into the research topics of 'Object-oriented programming paradigms for molecular modeling'. Together they form a unique fingerprint.

  • Cite this