DataStorage
DataStorage is a group of classes which allow to create data inside a facility called DataStorage that allows the separation between the multiple numerical algorithms and the parallelization layer. It also allows for easy sharing of data between different modules within the COOLFluiD framework.
Data should be placed here on these occasions:
- Data is massive - If data scales with the size of the problem, then is a good candidate to place in the DataStorage. This is because the internal format of the storage helps in memory consumption and memory remapping.
- Data must be shared between Commands - If data is shared between Commands of the same Method or of different Methods, then it should be placed in a common point of access.
- Data must be syncronized - In a parallel simulation if the data needs syncronization, then it must be placed in the DataStorage.
