PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().