BAMresearch / fenics-constitutive

Complex constitutive models beyond the FEniCS UFL.
https://bamresearch.github.io/fenics-constitutive
MIT License
13 stars 2 forks source link

48 simplify the return type of incrsmallstrainmodelhistory dim #49

Closed srosenbu closed 3 months ago

srosenbu commented 3 months ago

Just some refactoring of the solver and making the return type of history_dim easier to handle

Edit: Also made the q_degree parameter in the IncrSmallStrainModel not optional, since this can be a source of error that just makes PETSc crash without a good error message.