Kratos Multiphysics (A.K.A Kratos) is a framework for building parallel multi-disciplinary simulation software. Modularity, extensibility and HPC are the main objectives. Kratos has BSD license and is written in C++ with extensive Python interface.
The calculation of the damping matrix is available as a utility function, which takes the mass and stiffness matrices and the rayleigh coefficients ($\alpha$ and $\beta$)
This calculation is defined once and re-used at all locations where this calculation is done in the geomechanics application.
The utility function is documented and unit-tested.
📝 Description