diff +scheme/Scheme.m @ 15:16bad7c459da

Added abstract methods to allow for comparing of solutions. Added a bunch of error functions.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Sep 2015 13:36:45 +0200
parents 48b6fb693025
children ed6a704b028d
line wrap: on
line diff
--- a/+scheme/Scheme.m	Tue Sep 22 09:46:20 2015 +0200
+++ b/+scheme/Scheme.m	Tue Sep 22 13:36:45 2015 +0200
@@ -28,9 +28,9 @@
         m = interface(obj,boundary,neighbour_scheme,neighbour_boundary)
         N = size(obj) % Returns the number of degrees of freedom.
 
-
+        e = compareSolution(obj, p,v, p_ref, v_ref, errorFunction) % Use ismemeber(p,p_ref,'rows') and vector2cell() for winning
+        e = compareSolutionAnalytical(obj, p, v, v_ref, errorFunction)
 
-        % Static function to calculate the coupling of two domains with an interface ???
     end
 
     methods(Static)