RHEOS.jl icon indicating copy to clipboard operation
RHEOS.jl copied to clipboard

Improve checks for existence of moduli/compliance expressions

Open akabla opened this issue 4 years ago • 0 comments

This follows up from #52

Fields could be missing in the model definitions and the default value returned by the moduli/compliance functionwrappers is NaN, which seems appropriate.

  • [ ] We may want to reconsider how the "modulusexists" function works though. This utility function could look into the "expressions" named tuple as part of the RheoModelClass object and determine then if the modulus is defined, rather than evaluating the function.

  • [ ] processing.jl would need to be updated.

  • [ ] The external moduli/compliance functions could also check and send an error where appropriate.

akabla avatar May 30 '20 23:05 akabla