Mercurial > repos > public > sbplib
changeset 155:cf748f33cd5b feature/grids
Removed some extra lines, added some notes and comments. Fixed classname.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 18 Feb 2016 17:17:41 +0100 |
parents | c7b2f645101f |
children | 095cdd472688 |
files | +grid/Cartesian.m +grid/Grid.m +grid/Multiblock.m |
diffstat | 3 files changed, 10 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/+grid/Cartesian.m Thu Feb 18 16:46:02 2016 +0100 +++ b/+grid/Cartesian.m Thu Feb 18 17:17:41 2016 +0100 @@ -71,8 +71,5 @@ X{i} = repmat(t,s); end end - - % coordVectors() - % coordMatrices() end end \ No newline at end of file
--- a/+grid/Grid.m Thu Feb 18 16:46:02 2016 +0100 +++ b/+grid/Grid.m Thu Feb 18 17:17:41 2016 +0100 @@ -7,7 +7,7 @@ % d returns the spatial dimension of the grid o = D(obj) - % points returns a n x d matrix containing the coordianets for all points. + % points returns a n x d matrix containing the coordinates for all points. X = points(obj) end end @@ -16,4 +16,7 @@ %% Should it be able to return a cell size aswell? For an equidistant grid this would be know %% for other grids the constructor would have to make something up. -%% For example the grid.Cartesian constructor would take a h (1 x d) vector as an in parameter. \ No newline at end of file +%% For example the grid.Cartesian constructor would take a h (1 x d) vector as an in parameter. + + +%Should define boundaries somehow, look in stitchSchemes. \ No newline at end of file
--- a/+grid/Multiblock.m Thu Feb 18 16:46:02 2016 +0100 +++ b/+grid/Multiblock.m Thu Feb 18 17:17:41 2016 +0100 @@ -1,4 +1,4 @@ -classdef Grid < grid.Grid +classdef Multiblock < grid.Grid % General multiblock grid methods (Abstract) % NBlocks returns the number of blocks in the grid. @@ -10,4 +10,7 @@ % Grids returns a cell array of all the grids in the multiblock grid. gs = Grids(obj); end -end \ No newline at end of file +end + + +% Should define boundaries and connections between grids. \ No newline at end of file