Mercurial > repos > public > sbplib
view +grid/Mapped.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 | 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