ExtremeFLOW / neko

/ᐠ. 。.ᐟ\ᵐᵉᵒʷˎˊ˗
https://neko.cfd/
Other
159 stars 27 forks source link

Promote coef component to bc_t #1215

Closed timofeymukha closed 3 months ago

timofeymukha commented 3 months ago

I'm starting the work on a JSON-based interface for boundary conditions, with the final aim to have lists of allocatable bc_t objects in scheme types that are constructed by a factory, following the same pattern as the other objects. Part of this work is to figure out a single constructor interface.

It is pretty clear that coef will be part of that since it is used by many bcs already, and you need that object to do almost any computation. Therefore, as an incrementa step, this changes the bc%init signature to take in a coef object instead of dofmap. The dofmap is then taken for the coef.

Please check a bit extra that the pc_hsmg type is correctly modified, I basically went after the varibale naming there.