phaseField icon indicating copy to clipboard operation
phaseField copied to clipboard

Script that with generate weak form and `variableAttributes`

Open landinjm opened this issue 7 months ago • 2 comments

This would be a useful feature for users. A python script would be easiest. In the future it might be nice to have everything contained in some parameter file.

@wband @fractalsbyx Y'all have used sympy before. Would that be a good interpreter?

landinjm avatar Jun 11 '25 14:06 landinjm

SymPy is great for simple things. There are some things, like collecting matrix/tensor contractions into sums or loops, that I haven't figured out how to do in it yet.

I think it would make sense to experiment with this on specific use cases and generalize it if it works well. I'm not at that point yet on my use cases...

wband avatar Jun 11 '25 15:06 wband

I think you need to be more precise about what you want to do here.

fractalsbyx avatar Jun 11 '25 17:06 fractalsbyx