moved stuff from trilinosRD to pde