PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ set_real_part()

void pism::set_real_part ( petsc::Vec input,
double  normalization,
int  Mx,
int  My,
int  Nx,
int  Ny,
int  i0,
int  j0,
fftw_complex *  output 
)

Set the real part of output to input. Input has the size of My*Mx, embedded in the bigger (output) grid of size Ny*Nx. Offsets i0 and j0 specify the location of the subset to set.

Sets the imaginary part to zero.

Definition at line 89 of file fftw_utilities.cc.

Referenced by pism::bed::LingleClarkSerial::compute_elastic_response(), pism::bed::LingleClarkSerial::step(), pism::atmosphere::OrographicPrecipitationSerial::update(), and pism::bed::LingleClarkSerial::uplift_problem().