We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d218aa4 commit ca7dd19Copy full SHA for ca7dd19
pybamm/solvers/processed_variable.py
@@ -362,14 +362,9 @@ def initialise_2D(self):
362
# assign attributes for reference
363
self.entries = entries
364
self.dimensions = 2
365
- if self.first_dimension == "r" and self.second_dimension == "R":
366
- # for an r-R variable, must leave r nondimensional as it was scaled using
367
- # R
368
- first_length_scale = 1
369
- else:
370
- first_length_scale = self.get_spatial_scale(
371
- self.first_dimension, self.domain[0]
372
- )
+ first_length_scale = self.get_spatial_scale(
+ self.first_dimension, self.domain[0]
+ )
373
first_dim_pts_for_interp = first_dim_pts * first_length_scale
374
375
second_length_scale = self.get_spatial_scale(
0 commit comments