The FARGO_THORIN code developer's guide
 All Data Structures Files Functions Variables Typedefs Macros
Functions
mpiTasks.c File Reference

Contains the function to create a 1D azimuthally-averaged array from a polar array. More...

#include "fargo.h"
Include dependency graph for mpiTasks.c:

Go to the source code of this file.

Functions

void mpi_make1Dprofile (real *gridfield, real *axifield)
 

Detailed Description

Contains the function to create a 1D azimuthally-averaged array from a polar array.

Works also for a MPI-split grid.

Author
Taken from FARGO-ADSG by Clément Baruteau.

Definition in file mpiTasks.c.

Function Documentation

void mpi_make1Dprofile ( real gridfield,
real axifield 
)

Definition at line 12 of file mpiTasks.c.

References CPU_Number, CPU_Rank, fargostat, GLOBALNRAD, IMIN, mastererr(), Max_or_active, MPI_Barrier(), MPI_Bcast(), MPI_COMM_WORLD, MPI_DOUBLE, MPI_Irecv(), MPI_Isend(), MPI_Wait(), NRAD, NSEC, prs_exit(), and Zero_or_active.

Referenced by AccretePebblesOntoPlanets(), ComputeSoundSpeed(), CreateTorqueMapInfile(), InitGasVelocity(), and UpdateLog().

Here is the call graph for this function:

Here is the caller graph for this function: