SAMSON has a modular architecture that makes it suitable for different domains of nanoscience, including material science,[3] life science,[4] and drug design.[5][6][7][8][9][10][11]
SAMSON Elements
SAMSON Elements are modules for SAMSON, developed with the SAMSON software development kit (SDK). SAMSON Elements help users perform tasks in SAMSON, including building new models, performing calculations, running interactive or offline simulations, and visualizing and interpreting results.
SAMSON Elements may contain different class types, including for example:
Editors – classes that receive user interaction events to provide editing functions (e.g., model generation, structure deformation, etc.)
Models – classes that describe properties of nanosystems (see below)
Parsers – classes that may parse files to add content to SAMSON's data graph (see below)
SAMSON Elements expose their functions to SAMSON and other Elements through an introspection mechanism, and may thus be integrated and pipelined.
Modeling and simulation
SAMSON represents nanosystems using five categories of models:
Structural models – describe geometry and topology
Visual models – provide graphical representations
Dynamical models – describe dynamical degrees of freedom
Interaction models – describe energies and forces
Property models – describe traits that do not enter in the first four model categories
Simulators (potentially interactive ones) are used to build physically-based models, and predict properties.
Data graph
All models and simulators are integrated into a hierarchical, layered structure that form the SAMSON data graph. SAMSON Elements interact with each other and with the data graph to perform modeling and simulation tasks. A signals and slots mechanism makes it possible for data graph nodes to send events when they are updated, which makes it possible to develop e.g., adaptive simulation algorithms.[12][13][14]
Node specification language
SAMSON has a node specification language (NSL) that users may employ to select data graph nodes based on their properties. Example NSL expressions include:
Hydrogen – select all hydrogens (short version: H)
atom.chainID > 2 – select all atoms with a chain ID strictly larger than 2 (short version: a.ci > 2)
Carbon in node.selected – select all carbons in the current selection (short version: C in n.s)
bond.order > 1.5 – select all bonds with order strictly larger than 1.5 (short version: b.o > 1.5)
node.type sidechain having S – select sidechain nodes that have at least one sulfur atom (short version: n.t sc h S)
H linking O – select all hydrogens bonded to oxygen atoms (short version: H l O)
C or H – select atoms that are carbons or hydrogens
Features
SAMSON is developed in C++ and implements many features to ease developing SAMSON Elements, including:
Managed memory
Signals and slots
Serialization
Multilevel undo-redo
Introspection
Referencing
Unit system
Functors and predicate logic
SAMSON Element source code generators
SAMSON Connect
SAMSON, SAMSON Elements and the SAMSON Software Development Kit are distributed via the SAMSON Connect website.[6] The site acts as a repository for the SAMSON Elements being uploaded by developers, and users of SAMSON choose and add Elements from SAMSON Connect.
^Vaucher, Alain C.; Reiher, Markus (2017). "Steering Orbital Optimization out of Local Minima and Saddle Points Toward Lower Energy". Journal of Chemical Theory and Computation. 13 (3): 1219–1228. arXiv:1701.00128. doi:10.1021/acs.jctc.7b00011. PMID28207264. S2CID4406796.