Skip to content

ProfilePlanarBase

Philip Loche requested to merge (removed):DensityPlanarBase into main

This MR introduces a new child class for the PlanarBase class: ProfilePlanarBase. This class allows calculating atomistic profiles by providing a suitable function. ProfilePlanarBase allows for different normalizations like 'number' used for the temperature and in the future velocity profiles as well as 'volume' used for densities.

Following the new class I split the former huge and complicated DensityPlanar class into three seperate classes: DensityPlanar, ChemicalPotentialPlanar and TemperaturePlanar. With this the code becomes cleaner and also easier for testing and maintaining.

PR Checklist

  • Physical Testing
  • Update Docs
  • Update Tests
Edited by Philip Loche

Merge request reports

Loading