the-nuclear-confectionery / CCAKE

Conserved ChArges HydrodynamiK Evolution
https://the-nuclear-confectionery.github.io/ccake-site/
Other
2 stars 1 forks source link

Transport coefficients functions should receive pointers to particle's thermo property array #3

Closed willian-m closed 1 year ago

willian-m commented 1 year ago

At the moment, from what I understood, the transport coefficient stores in a data-member the thermodynamics of the particle and then uses it to compute the transport coefficients. This is a problem for parallel processing because the thread dealing with particle j would see the thermodynamic properties of particle i.

The solution is to refactor the class so the function accepts a pointer for the array of thermodynamic values.