Add dofs as a function of order to logging
Description
We should add a block in the constraints block about how many constrained parameters each order have
Eigentensors:
Eigentensors: {2: 4107, 3: 1214}
Total number of parameters: 5321
Constraints:
Acoustic: True
Total number of degrees of freedom: 4208
so it becomes
Constraints:
Acoustic: True
Number of dofs: {2: 3852, 3: 925}
Total number of degrees of freedom: 4208
@freeriks If you know how to do this, then just push it to master.
Note
There was once a very convenient utility function
cs.get_n_dofs(order=3)
which returned number of constrained parameters for the specific order.
Demo
- all tests pass
- new code fully tested
Edited by Paul Erhart