I want to do a calculation only on a specific boundary (using a loop).
How can I set the loop that it only does the calculation for example on right boundary?
For example the following loop works on all mesh elements:
Code: Select all
for (cs_lnum_t i = 0; i < n_cells_ext; i++)
{
...
}
CS ver: 5.0.9
Thank you.