Skip to content

Reply To: Issue with Implementing New Features in .h and .hh Files

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Issue with Implementing New Features in .h and .hh Files Reply To: Issue with Implementing New Features in .h and .hh Files

#9829
Adrian
Keymaster

Ok, can you point out the part that is declared twice? I don’t really want to go through the entire listing you posted line by line 🙂

In general you do not need to follow the structure of the existing setter function for the modification you described. Boundary conditions in OpenLB are the dynamics and post processors at the boundary cells, the setter functions just “set them up”. If I understand you goal correctly, having separate setters per model seems to be a better approach then adding more complexity to the existing setter. I may be able to give more concrete recommendations if you describe in more detail what you want to do.