One-Dimensional Mass and Energy Transport using a Modified Mesh Method.