Skip to content

Handler Average extend to arbitrary lattice#527

Closed
lisataldir wants to merge 1 commit intoCFD-GO:developfrom
lisataldir:feature/handlers
Closed

Handler Average extend to arbitrary lattice#527
lisataldir wants to merge 1 commit intoCFD-GO:developfrom
lisataldir:feature/handlers

Conversation

@lisataldir
Copy link

I added a handler for arbitrary lattice

@llaniewski
Copy link
Member

Hi, @lisataldir,

I would like to ask you to redo this PR, not promoting code to R-templates. The necessary information you need (to loop over fields and select the ones to average) is provided in the model structure (see https://github.com/CFD-GO/TCLB/blob/develop/src/Lists.cpp.Rt), so you can make this loop in C++. You can see an example here:

for( const Model::Field& f : model->fields ) {

Best,

@llaniewski llaniewski closed this Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants