Mercurial > repos > public > sbplib_julia
view grid.jl @ 188:4558789b5948 boundary_conditions
Add module for Lazy operations
- Add LazyElementWiseOperations for lazy evaluations of operations on AbstractArray
- Add lazy operations
- Add LazyArray which specialices the normal operations by their lazy counterparts.
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 20 Jun 2019 21:36:31 +0200 |
parents | 074cb898f24e |
children |
line wrap: on
line source
abstract type BoundaryIdentifier end struct CartesianBoundary{Dim, R<:Region} <: BoundaryIdentifier end dim(::CartesianBoundary{Dim, R}) where {Dim, R} = Dim region(::CartesianBoundary{Dim, R}) where {Dim, R} = R include("AbstractGrid.jl") include("EquidistantGrid.jl")