Skip to content
Snippets Groups Projects
Commit ade33cc5 authored by ybedfer's avatar ybedfer Committed by Andre Sailer
Browse files

CylindircalGridPhiZ: Bug fix. "cellDimensions" now returns a quantity of the dimension of a length.

parent 122b546c
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ Vector3D CylindricalGridPhiZ::position(const CellID& cID) const {
std::vector<double> CylindricalGridPhiZ::cellDimensions(const CellID&) const {
#if __cplusplus >= 201103L
return {_gridSizePhi, _gridSizeZ};
return {_radius*_gridSizePhi, _gridSizeZ};
#else
std::vector<double> cellDims(2,0.0);
cellDims[0] = _radius*_gridSizePhi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment