Closed dlg0 closed 4 years ago
this is interesting because even the adaptivity based tests in runtests
pass
Yes - I did check that. Hm, I will track down the problem.
@dlg0 these args cause the routine to be called with a level == 0
. I was not planning for level < 1
, and probably should have asserted on it. I will investigate why this occurs.
@dlg0 I began fixing the indexing in the routine for lev == 0
, but it's not clear to me what the apply_FMWT
operation should look like in that case, because the FMWT generation routine in the MATLAB (which the block application scheme is based on) does not work in this case. i.e., I can't see an example level 0 transformation matrix.
further, there is no block that "makes sense" dimensions-wise (in the matrix dimensions sense) to apply as a transformation to a level 0-sized input. so, I may need some help with this.
so yeah, the details for lev=0 don't follow the same rules. For now I'd just enforce lev>=1 and talk to @MollyRaver about the lev==0 rules
@dlg0 I sent her a Slack message. I can modify the adaptivity to floor at 1 for now and add a check to the function.
For the record, transform at level 0 is the identity function.
on
reference
...asgard(@fokkerplanck1_pitch_E,'timestep_method','BE','dt',0.005,'num_steps',500,'lev',4,'deg',3,'save_output',true,'quiet',false,'output_grid','quadrature','case',1,'adapt',true,'adapt_threshold',1e-2)
gives ...