Skip to content

Add scaling for non-cubic rectangular geometries, remove mean velocit…#170

Open
drummerdoc wants to merge 3 commits into
AMReX-Codes:mainfrom
drummerdoc:main
Open

Add scaling for non-cubic rectangular geometries, remove mean velocit…#170
drummerdoc wants to merge 3 commits into
AMReX-Codes:mainfrom
drummerdoc:main

Conversation

@drummerdoc
Copy link
Copy Markdown
Member

Add scaling for non-cubic rectangular geometries, remove mean velocities, and remove hardware of infile and variable names.

…ies, and remove hardware of infile and variable names
Comment thread ExampleCodes/FFT/EnergySpectrum/main.cpp Outdated
@drummerdoc
Copy link
Copy Markdown
Member Author

I do not know how to fix the failing windows CI test. Perhaps @ax3l ?

Copy link
Copy Markdown
Member

@WeiqunZhang WeiqunZhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will fix Windows CIs in a separate PR, because it's a separate issue.


// For simplicity, we assume the domain is a cube, and we are not
// going to worry about scaling.
// For simplicity, we are not going to worry about scaling.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment outdated now?

}
}
if (ParallelDescriptor::IOProcessor()) {
std::ofstream ofs(outfile.c_str());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to use c_str, because ofstream takes std::string.

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