Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S sdv-lammps
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • djurado
  • sdv-lammps
  • Wiki
  • Home

Home · Changes

Page history
Update Home authored Dec 20, 2022 by djurado's avatar djurado
Hide whitespace changes
Inline Side-by-side
Home.md
View page @ 19b0324e
......@@ -39,10 +39,21 @@ The outer loop (i-loop) iterates through all 32.000 atoms in the protein simulat
![flowchart](uploads/2c10a18b3cda9496b9eaed9e54e001db/flowchart.png)
For each pair of atoms `i, j`, the algorithm first computes the distance between the two atoms, and if it is smaller than the cutoff distance,
For each pair of atoms `i, j`, the algorithm first computes the distance between the two atoms.
Then, the distance is compared to many different values.
In the input line `pair_style lj/charmm/coul/long X Y`, `X` is `cut_lj_innersq` and Y is `cut_ljsq` and `cut_coulsq`.
The alternative form with `X Y Z` parameters is not supported by the optimized function and would fall back on the LAMMPS vanilla function.
Then, `cut_bothsq` is defined as the minimum of `cut_coulsq` and cut_ljsq`.
- If it is smaller than `cut_bothsq`, then, no computation is required because there is no short-range interaction between the two atoms.
- `cut_bothsq` is defined as the minimum of `cut_coulsq` and cut_ljsq`
- If
atom_vec.h -> contains `**x` and `**f` (3D)
neigh_list.h -> contains `**firstneigh` (for each i, store array of neighbors j)
PairLJCharmmCoulLong::settings ->
LAMMPS uses 64-bit `double` precision numbers for floating point calculations and 32-bit `int` numbers for integer computations.
This can become somewhat of an issue with the `jlist` array, which is an array of `int`s which act as indexes of `x` and
......
Clone repository
  • 32 bit and 64 bit data types
  • 32 bit to 64 bit
  • Home
  • Implementation
  • Loop size
  • Managing code paths
  • Overview of Algorithm and Data structures
  • Specialization
  • _sidebar
  • union_int_float_t