view +scheme/errorSbp.m @ 20:c7efff913935

Decoupled plotting and timesteppers. Added possibility of different plot_types. Added functions for printing and plotting solution file content.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Sep 2015 17:35:58 +0200
parents 16bad7c459da
children ed6a704b028d
line wrap: on
line source

function e = errorSbp(schm, v1, v2)
    H = schm.H;
    err = v2 - v1;
    e = sqrt(err'*H*err);
end