Octopus
test_poisson_fft_batch_oct_m Module Reference

Functions/Subroutines

subroutine mock_plane_wave_state (mesh, g_vector, state)
 Construct a periodic plane-wave factor on the mesh. More...
 
subroutine, public test_poisson_fft_batch (namespace)
 

Function/Subroutine Documentation

◆ mock_plane_wave_state()

subroutine test_poisson_fft_batch_oct_m::mock_plane_wave_state ( class(mesh_t), intent(in)  mesh,
real(real64), dimension(:), intent(in)  g_vector,
complex(real64), dimension(:), intent(out)  state 
)
private

Construct a periodic plane-wave factor on the mesh.

The helper intentionally excludes any Bloch q phase. The q shift for non-Gamma pair products is introduced separately through the external Coulomb kernel used by the Poisson solve.

Parameters
[in]meshMesh containing primitive coordinates chi
[in]g_vectorReduced reciprocal vector G_red
[out]statePlane-wave values on local mesh points

Definition at line 146 of file test_poisson_fft_batch.F90.

◆ test_poisson_fft_batch()

subroutine, public test_poisson_fft_batch_oct_m::test_poisson_fft_batch ( type(namespace_t), intent(in)  namespace)

A partial batch (count < capacity), to exercise the active-count path of the batched solver

integer reciprocal-grid offset

Definition at line 166 of file test_poisson_fft_batch.F90.