Exawind / amr-wind

AMReX-based structured wind solver
https://exawind.github.io/amr-wind
Other
103 stars 78 forks source link

Cleaner vector/array initializations #1062

Closed moprak-nrel closed 1 month ago

moprak-nrel commented 1 month ago

Summary

Cleaner/consistent initialization of vectors and arrays, amrex::Vector<amrex::Real> foo {0.0,0.0} is a lot cleaner than amrex::Vector<amrex::Real> foo{{0.0,0.0}}.

Pull request type

Please check the type of change introduced:

Checklist

The following is included:

This PR was tested by running:

Additional background

Issue Number:

moprak-nrel commented 1 month ago

My CPU/GPU regtests pass as well

100% tests passed, 0 tests failed out of 87

Label Time Summary:
no_ci         = 578.02 sec*proc (81 tests)
regression    = 609.66 sec*proc (86 tests)
unit          = 191.35 sec*proc (1 test)

Total Test time (real) = 801.09 sec