phaseField icon indicating copy to clipboard operation
phaseField copied to clipboard

Have an example program with the simplest possible main file.

Open fractalsbyx opened this issue 2 months ago • 2 comments

If we actually intend to have people use PRISMS-PF as a library that people can use in their own code, we should probably have an example that doesn't have all of the generalizations we have put into our curated apps.

It would be mostly the same as the typical main.cc but without switch cases for dim, degree, no caliper stuff. I think our current includes are also super redundant, so we can cut those down to what is actually used in main.

We could also define our custom pde operator and variables in the same file.

fractalsbyx avatar Nov 05 '25 20:11 fractalsbyx

(IMO users should define dim and degree at compile time everywhere, not just for this example)

fractalsbyx avatar Nov 05 '25 20:11 fractalsbyx

I agree with the dim and degree being specified at compile-time, however that's a separate issue

landinjm avatar Nov 11 '25 20:11 landinjm