Mercurial > repos > public > sbplib_julia
comparison LazyTensors/src/tensor_mapping.jl @ 291:0f94dc29c4bf
Merge in branch boundary_conditions
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 22 Jun 2020 21:43:05 +0200 |
parents | e21dcda55163 |
children |
comparison
equal
deleted
inserted
replaced
231:fbabfd4e8f20 | 291:0f94dc29c4bf |
---|---|
60 | 60 |
61 Return the resulting domain size for the mapping applied to a given range_size | 61 Return the resulting domain size for the mapping applied to a given range_size |
62 """ | 62 """ |
63 function domain_size end | 63 function domain_size end |
64 | 64 |
65 export range_size, domain_size | 65 """ |
66 Dummy type for representing dimensions of tensormappings when domain_size is unknown | |
67 """ | |
68 struct UnknownDim end | |
69 export range_size, domain_size, TensorMappingDim, UnknownDim | |
70 | |
66 # TODO: Think about boundschecking! | 71 # TODO: Think about boundschecking! |
67 | 72 |
68 | 73 |
69 """ | 74 """ |
70 TensorOperator{T,D} | 75 TensorOperator{T,D} |