Yury Zabegaev
Yury Zabegaev
I like the idea and can take part in implementing it. What do you think about automatically converting the units in the decorator if needed? That would allow us for...
Here is the minimal working example of how it can be implemented. If this looks good on the conceptual level to @keileg, @IvarStefansson and @IngridKJ, the rest of the work...
Here is a sketch of how to track the derived quantities' units. I believe that's what @IvarStefansson originally wanted. ``` from porepy.models.units import Units from porepy.models.material_constants import MaterialConstants from typing...
The issue is put on hold after the discussion with these key points: * What we want is mainly to check the unit consistency. Documentation comes as a bonus with...
> I pushed a change that will assign random names to gmsh files during testing, but not regular use. The good news is that the time for testing is almost...
The proposed improvements would also be a fix for #1084.
@IvarStefansson I'm not sure. I want something that will be a good starting point to copy this config and customize it for your needs, because now there is no such...
> [This](https://www.peterbe.com/plog/a-python-dict-that-can-report-which-keys-you-did-not-use) could possibly be of interest for this project. But only possibly so. @keileg yes I considered doing something like this, as it's nicely done in petsc where they...
Hei, There is an implementation of AD in PyTorch, and they don't face this problem, because they prohibit implicit casting of the ndarrays and scalars to the `Tensor` class, which...
To avoid confusion. It seems that I mixed up PyTorch with something else. In fact, they allow mixing scalars and ndarrays with the `Tensor` class. But the operation `ndarray +...