Mercurial > repos > public > sbplib
comparison +grid/Structured.m @ 161:73bc43c7379e feature/grids
Added function for reshaping grid functions. Added size() method to structured grid.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 22 Feb 2016 13:20:55 +0100 |
parents | ce10ebde3123 |
children | f7bb2a94d291 |
comparison
equal
deleted
inserted
replaced
160:c700b26ad304 | 161:73bc43c7379e |
---|---|
1 classdef Structured < grid.Grid | 1 classdef Structured < grid.Grid |
2 % General multiblock grid | |
3 methods (Abstract) | 2 methods (Abstract) |
4 % get matrices of coords | 3 % Returns the size of the grid in each dimension m = [mx my mz ...] |
5 % turn gridfunctions to matrices | 4 m = size(obj) |
6 end | 5 end |
7 end | 6 end |