Skip to content

Change MPI related arguments to global to reduced the number of arguments in many calls. #318

@lmdiazangulo

Description

@lmdiazangulo

Considering this example of code in observation.F90

       do ii = 1, sgg%NumberRequest
          if (SGG%Observation(ii)%FreqDomain) then
            call init_frequency_output(sgg%observation(ii), output(ii), sgg%dt, layoutnumber, size, niapapostprocess)
          end if !del freqdomain
        end do

The layoutnumber and size variables are related to MPI processes?

If that is the case. Would it be better to change them to global singleton variables to reduce the number of arguments that are always passed?

Metadata

Metadata

Labels

HousecleaningStuff related with style conventions, good practices, clean code, repo organization, etc.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions