To do list

Long term

Inline to do items

Todo

strict=True can be a Python 3 compatible keywords-only argument with the function like:

   def has_vars(self, *keys, strict=True):
       ...
       if strict:
           return keys.issubset(keys_state)
       else:
           return len(keys.intersection(keys_state)) > 0

When ``True``, checks if all keys form a subset of state keys. When
``False``, checks if the intersection of the keys and the state keys
has atleast one member.

(The original entry is located in /home/docs/checkouts/readthedocs.org/user_builds/fluidsim/conda/latest/lib/python3.6/site-packages/fluidsim-0.2.2-py3.6-linux-x86_64.egg/fluidsim/base/state.py:docstring of fluidsim.base.state.StateBase.has_vars, line 30.)

Todo

It would be interesting to implement phase-shifting timestepping schemes as:

  • RK2 + phase-shifting
  • Adams-Bashforth (leapfrog) + phase-shifting

For a theoretical presentation of phase-shifting see https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19810022965.pdf.

(The original entry is located in /home/docs/checkouts/readthedocs.org/user_builds/fluidsim/conda/latest/lib/python3.6/site-packages/fluidsim-0.2.2-py3.6-linux-x86_64.egg/fluidsim/base/time_stepping/pseudo_spect.py:docstring of fluidsim.base.time_stepping.pseudo_spect, line 10.)