added base class for pseudospectral method