Abstract network of connected nodes and lines in blue, green and yellow tones against a dark background, evoking computational infrastructure

Coding Style & Best Practices

Consistent coding standards help the group collaborate efficiently across projects. Members are encouraged to follow established conventions for readability, maintainability, and reproducibility of computational physics code.

  • Use meaningful variable and function names that reflect the underlying physics.
  • Write modular code with clear separation of concerns — simulation logic, I/O, and analysis should live in distinct units.
  • Document assumptions, units, and numerical methods in comments and docstrings.
  • Prefer version control (Git) for all projects; commit early and often with descriptive messages.
  • Test numerical routines against known analytical results or limiting cases before scaling up.

Getting Started

New group members should familiarise themselves with the computing environment and available resources. The Smaug high-performance computing cluster is the primary platform for large-scale simulations.

For detailed access procedures, configuration steps, and usage guidelines, refer to the Computing Cluster page. That guide covers SSH setup, job submission, module management, and best practices for running physics simulations on Smaug.

Additional Resources

  • LaTeX thesis templates and UiO formatting guidelines for master's and bachelor's theses.
  • Internal wiki pages covering common workflows, software installation notes, and troubleshooting.
  • Group meeting schedules and seminar coordination.