| 
    PLUTO
    
   | 
 
Adjust the effective domain size when the -xNjet option is given. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
| static int | GetRightmostIndex (int, double ***) | 
| void | SetJetDomain (const Data *d, int dir, int log_freq, Grid *grid) | 
| void | UnsetJetDomain (const Data *d, int dir, Grid *grid) | 
Variables | |
| static int | jd_nbeg | 
| static int | jd_nend | 
| static int | jd_npt | 
| static int | jd_ntot | 
| static int | rbound | 
Adjust the effective domain size when the -xNjet option is given.
The SetJetDomain() function shortens the domain integration index in the direction specified by either '-x1jet', '-x2jet' or '-x3jet' to save computational time. This is done by setting the final integration index in the direction of jet propagation to that of the first zone (counting from the top) with non-zero pressure gradient (GetRightmostIndex()). The function UnsetJetDomain() restores the initial computational domain size. Useful for problems involving jet propagation.
Definition in file jet_domain.c.
      
  | 
  static | 
Find the local index j where grad(p) exceeds a ceratin threshold
Definition at line 194 of file jet_domain.c.

Adjust the size of computational domain by reducing the final computationa index in the direction of propagation.
| [in] | d | pointer to Data structure | 
| [in] | dir | the direction of propagation | 
| [in] | log_freq | the output log frequency | 
| [in,out] | grid | pointer to array of Grid structures | 
Definition at line 29 of file jet_domain.c.


Restore original (full domain) indexes.
Definition at line 154 of file jet_domain.c.


      
  | 
  static | 
Definition at line 25 of file jet_domain.c.
      
  | 
  static | 
Definition at line 25 of file jet_domain.c.
      
  | 
  static | 
Definition at line 25 of file jet_domain.c.
      
  | 
  static | 
Definition at line 25 of file jet_domain.c.
      
  | 
  static | 
Definition at line 25 of file jet_domain.c.