Skip to content
Snippets Groups Projects
Commit 43149fd0 authored by Kutscher's avatar Kutscher
Browse files

fix 5 for merge request

parent adafa4eb
No related branches found
No related tags found
2 merge requests!193Changing LBMReal to real; Changing double and float to real; Changing using constants from UbMath.h to NumericConstants.h,!191Changing LBMReal to real; Changing double and float to real; Changing using constants from UbMath.h to NumericConstants.h
......@@ -635,10 +635,10 @@ void SetUndefinedNodesBlockVisitor::visit(SPtr<Grid3D> grid, SPtr<Block3D> block
// invert scaleCF blocks
if (block->hasInterpolationFlagCF()) {
if (block->hasInterpolationFlagFC() && twoTypeOfConnectorsCheck) {
for (int i = DIR_P00; i <= DIR_MMM; i++) {
for (int i = (int)DIR_P00; i <= (int)DIR_MMM; i++) {
UBLOG(logINFO, "FC in dir=" << i << " " << block->hasInterpolationFlagFC(i));
}
for (int i = DIR_P00; i <= DIR_MMM; i++) {
for (int i = (int)DIR_P00; i <= (int)DIR_MMM; i++) {
UBLOG(logINFO, "CF in dir=" << i << " " << block->hasInterpolationFlagCF(i));
}
throw UbException(UB_EXARGS, "block " + block->toString() + " has CF and FC");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment