[constant] add ConstantGridFunction
This makes creating temporary ConstantGridFunctions as default arguments easier, using ConstantFunction + as_grid_function causes problems as the resulting GridFunction only stores a reference to the ConstantFunction
Loading
Please register or sign in to comment