view +grid/Mapped.m @ 837:43a1c3ac07b1 feature/poroelastic

Make diracDiscr work for n dimensions. Add tests up to 3D.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 05 Sep 2018 18:09:18 -0700
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