You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when calling size() for GeometricFields the internalField size is returned. While this is often what user intends it is, however, ambiguous. One better solution would be to return:
a. a tuple<size_t, size_t> with the internalField and boudaryField size
b. a struct GeometricFieldSize which holds both values.
in both cases one has to explicitely select which size is desired.
The text was updated successfully, but these errors were encountered:
I had a look into this, as I was hoping to do a bit of warm-up on it 😉. I am not sure doing this makes sense, because the boundaryFields is not a Field in the same way that the InternalField is a Field. I would suggest we actually change the BoundaryFields name to BoundaryFaceConditions or FaceBoundaryConditions or something similar. It does not really represent a field per se; it's more of a boundary condition container that may contain values of size faces.
Yes I strongly agree with renaming boundaryFields,
I think we have too many classes with the name field, which aren't fields. To me a field is a container which supports operations +, *
How about BoundaryValueContainer ? Because as you say it is a container that holds all required values to compute the boundary conditions. That would be also my argument against BoundaryFaceConditions because a. it doensn't know anything about the actual condition and b. maybe we Face could be misleading.
Currently, when calling size() for
GeometricFields
theinternalField
size is returned. While this is often what user intends it is, however, ambiguous. One better solution would be to return:a. a tuple<size_t, size_t> with the internalField and boudaryField size
b. a struct GeometricFieldSize which holds both values.
in both cases one has to explicitely select which size is desired.
The text was updated successfully, but these errors were encountered: