view +grid/Mapped.m @ 624:0e20f4c9a94e feature/grids

Factor out function for calculating the number of components
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 20 Oct 2017 22:59:30 +0200
parents 62b5f3c34bcb
children
line wrap: on
line source

classdef Mapped < grid.Grid
    % General grid mapping
    methods (Abstract)
        % logicalGrid returns the domain grid of the mapping.
        g = logicalGrid(obj);

        % mapping returns the mapped coordinates as a N x D component matrix
        m = mapping(obj);
    end
end