PhysicalProperty
definition (11.04.2024 discussion)
#51
JosePizarro3
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@JFRudzinski @lauri-codes @ndaelman-hu @Bernadette-Mohr
I am opening a new discussion on
PhysicalProperty
compiling comments, questions, and potential issues raised by Nathan and Lauri in #43. You see it is a bullet list, so we need to cross each item when solutions or discussions are agreed upon.value
in the genericPhysicalProperty
class, as of right now, it is an emptyproperty()
, which might give problems when using custom properties. We have to explore this Area D+C.source
does not include'synthesis'
and'ml_methods'
.@JosePizarro3 commented that
'ml_methods'
could be encoded in'analysis'
and that'synthesis'
is within'measurement'
. We have to discuss this with Area A (Andrea, Sarthak).type
andlabel
. We need to add more examples and use-cases to see whether these are useful or not.variables
that are alsophysical_properties
. @JosePizarro3 doubted whether this is for functionals or some other situations. We need some examples where the current schema might be broken.@JosePizarro3 replied: Not sure if I understand this part. rank must be defined by default for any physical property defined in the schema. This is just the rank of the tensor that we are refering to, so I don't know why any YAML schema should touch on this. Or do you mean that, defining by default like in here is not possible in a YAML?
@JosePizarro3 replied: Yes! This is so important, we also want to normalize the physical properties to maintain interoperability. This is a drawback of using YAML instead of Python schemas imo, not of what we defined here.
@JosePizarro3 replied: Yes, this would be a bit better if value could take Any generic type, shape, unit at the PhysicalProperty level as well. But yes, once someone defines a new inherited PhysicalProperty, they need to overwrite value with the specific type and units (and shape via rank).
@JosePizarro3 replied: I very much disagree with this. Would you mind elaborating? Maybe the only one being specific is the self_consistency_ref and is_scf_converged quantities. Anything else is pretty general.
you are welcome to include further thoughts and specifically comment in one of the points if you need further clarification
Beta Was this translation helpful? Give feedback.
All reactions