view +grid/Structured.m @ 885:18e10217dca9 feature/d1_staggered

Generalize Staggered1DAcoustics to handle variable coefficients defined by both function handles and vectors.
author Martin Almquist <malmquist@stanford.edu>
date Sun, 04 Nov 2018 12:36:30 -0800
parents 513019e3d855
children
line wrap: on
line source

classdef Structured < grid.Grid
    methods (Abstract)
        % Returns the size of the grid in each dimension m = [mx my mz ...]
        m = size(obj); % Is this a good idea? Isn't immersed a structured grid?
        h = scaling(obj);
    end
end