Mercurial > repos > public > sbplib_julia
comparison AbstractGrid.jl @ 124:631eb9b35d72 cell_based_test
Make grid spacing a property of EquidistantGrid. Create plotting module for sbplib.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 13 Feb 2019 10:37:52 +0100 |
parents | 614b56a017b9 |
children |
comparison
equal
deleted
inserted
replaced
122:6c6979ff17f4 | 124:631eb9b35d72 |
---|---|
1 abstract type AbstractGrid end | 1 abstract type AbstractGrid end |
2 | 2 |
3 function numberOfDimensions(grid::AbstractGrid) | 3 function dimension(grid::AbstractGrid) |
4 error("Not implemented for abstact type AbstractGrid") | |
5 end | |
6 | |
7 function numberOfPoints(grid::AbstractGrid) | |
8 error("Not implemented for abstact type AbstractGrid") | 4 error("Not implemented for abstact type AbstractGrid") |
9 end | 5 end |
10 | 6 |
11 function points(grid::AbstractGrid) | 7 function points(grid::AbstractGrid) |
12 error("Not implemented for abstact type AbstractGrid") | 8 error("Not implemented for abstact type AbstractGrid") |