Open loganharbour opened 1 year ago
I guess what you mean by "late load" is to load all the data into a simple char
buffer first and convert it later on request?
And how close is this to completion?
If the declared meta data depend on the input parameters, I guess we will need to store the input parameters?
One more question, will this fix the inability to omit the second argument (prefix) in getMeshProperty
when it is called in places other than the mesh generators? How will you resolve duplicate metadata names with different prefix?
Reason
Currently, if you query for mesh metadata outside of restart/recover/checkpoint, you have all of the data available. This is because it is declared by the mesh generators that generate it in the same run. When you go to get this data later on, of course it exists.
However... when you run from restart/recover/.cpr mesh file... nothing has requested or declared any of the data. First problem here is that we do not know the type of the data to load into (which is required by the restartable system). Secondly, we don't know what mesh generators existed in the previous run.
Design
Impact
Extends mesh meta data capability to restart/recover; new feature.