diff +grid/Mapped.m @ 153:7aee9eba3bb8 feature/grids

Added abstract classes for some different types of grids.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 22 Dec 2015 11:59:55 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/+grid/Mapped.m	Tue Dec 22 11:59:55 2015 +0100
@@ -0,0 +1,10 @@
+classdef Mapped < grid.Grid
+    % General grid mapping
+    methods (Abstract)
+        % baseGrid returns the domain grid of the mapping.
+        g = baseGrid(obj);
+
+        % mapping returns the mapped coordinates as a grid.Function
+        m = mapping(obj);
+    end
+end
\ No newline at end of file