dedalus icon indicating copy to clipboard operation
dedalus copied to clipboard

GeneralFunction capabilities for d3

Open lecoanet opened this issue 3 years ago • 0 comments

This is a first attempt to get GeneralFunction working in d3. I have used it to add stochastic forcing to an equation. Right now the user needs to pass in a distributor, domain, tensorsig and dtype -- normally these would come from the operand, but the GeneralFunction does not necessarily have any operand! I'm not sure if there is any better way to get these. I also need to make unit tests (and make sure it works for more sophisticated functions!).

lecoanet avatar Oct 08 '22 20:10 lecoanet