view +grid/Mapped.m @ 1198:2924b3a9b921 feature/d2_compatible

Add OpSet for fully compatible D2Variable, created from regular D2Variable by replacing d1 by first row of D1. Formal reduction by one order of accuracy at the boundary point.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 16 Aug 2019 14:30:28 -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