C and Fortran OpenMP programs for rotating Bose–Einstein condensates

Detalhes bibliográficos
Autor(a) principal: Kishor Kumar, Ramavarmaraja
Data de Publicação: 2019
Outros Autores: Lončar, Vladimir, Muruganandam, Paulsamy, Adhikari, Sadhan K. [UNESP], Balaž, Antun
Tipo de documento: Artigo
Idioma: eng
Título da fonte: Repositório Institucional da UNESP
Texto Completo: http://dx.doi.org/10.1016/j.cpc.2019.03.004
http://hdl.handle.net/11449/188889
Resumo: We present OpenMP versions of C and Fortran programs for solving the Gross–Pitaevskii equation for a rotating trapped Bose–Einstein condensate (BEC) in two (2D) and three (3D) spatial dimensions. The programs can be used to generate vortex lattices and study dynamics of rotating BECs. We use the split-step Crank–Nicolson algorithm for imaginary- and real-time propagation to calculate stationary states and BEC dynamics, respectively. The simulation input parameters for the C programs are provided via input files, while for the Fortran programs they are given at the beginning of each program and therefore their change requires recompilation of the corresponding program. The programs propagate the condensate wave function and calculate several relevant physical quantities, such as the energy, the chemical potential, and the root-mean-square sizes. The imaginary-time propagation starts with an analytic wave function with one vortex at the trap center, modulated by a random phase at different space points. Nevertheless, the converged wave function for a rapidly rotating BEC with a large number of vortices is most efficiently calculated using the pre-calculated converged wave function of a rotating BEC containing a smaller number of vortices as the initial state rather than using an analytic wave function with one vortex as the initial state. These pre-calculated initial states exhibit rapid convergence for fast-rotating condensates to states containing multiple vortices with an appropriate phase structure. This is illustrated here by calculating vortex lattices with up to 61 vortices in 2D and 3D. Outputs of the programs include calculated physical quantities, as well as the wave function and different density profiles (full density, integrated densities in lower dimensions, and density cross-sections). The provided real-time propagation programs can be used to study the dynamics of a rotating BEC using the imaginary-time stationary wave function as the initial state. We also study the efficiency of parallelization of the present OpenMP C and Fortran programs with different compilers. Program summary: Program title: BEC-GP-ROT-OMP, consisting of: (1) BEC-GP-ROT-OMP-C package, containing programs (i) bec-gp-rot-2d-th and (ii) bec-gp-rot-3d-th; (2) BEC-GP-ROT-OMP-F package, containing programs (i) bec-gp-rot-2d-th and (ii) bec-gp-rot-3d-th. Program files doi: http://dx.doi.org/10.17632/cw7tkn22v2.2 Licensing provisions: Apache License 2.0 Programming language: OpenMP C; OpenMP Fortran. The C programs are tested with the GNU, Intel, PGI, Oracle, and Clang compiler, and the Fortran programs are tested with the GNU, Intel, PGI, and Oracle compiler. Nature of problem: The present Open Multi-Processing (OpenMP) C and Fortran programs solve the time-dependent nonlinear partial differential Gross–Pitaevskii (GP) equation for a trapped rotating Bose–Einstein condensate in two (2D) and three (3D) spatial dimensions in a fully anisotropic traps. Solution method: We employ the split-step Crank–Nicolson algorithm to discretize the time-dependent GP equation in space and time. The discretized equation is then solved by imaginary- or real-time propagation, employing adequately small space and time steps, to yield the solution of stationary and non-stationary problems, respectively.
id UNSP_43ae37f0d5d11836033b5d963371fdd4
oai_identifier_str oai:repositorio.unesp.br:11449/188889
network_acronym_str UNSP
network_name_str Repositório Institucional da UNESP
repository_id_str 2946
spelling C and Fortran OpenMP programs for rotating Bose–Einstein condensatesC programsFortran programsGross–Pitaevskii equationOpenMPPartial differential equationRotating Bose–Einstein condensateSplit-step Crank–Nicolson schemeVortex latticeWe present OpenMP versions of C and Fortran programs for solving the Gross–Pitaevskii equation for a rotating trapped Bose–Einstein condensate (BEC) in two (2D) and three (3D) spatial dimensions. The programs can be used to generate vortex lattices and study dynamics of rotating BECs. We use the split-step Crank–Nicolson algorithm for imaginary- and real-time propagation to calculate stationary states and BEC dynamics, respectively. The simulation input parameters for the C programs are provided via input files, while for the Fortran programs they are given at the beginning of each program and therefore their change requires recompilation of the corresponding program. The programs propagate the condensate wave function and calculate several relevant physical quantities, such as the energy, the chemical potential, and the root-mean-square sizes. The imaginary-time propagation starts with an analytic wave function with one vortex at the trap center, modulated by a random phase at different space points. Nevertheless, the converged wave function for a rapidly rotating BEC with a large number of vortices is most efficiently calculated using the pre-calculated converged wave function of a rotating BEC containing a smaller number of vortices as the initial state rather than using an analytic wave function with one vortex as the initial state. These pre-calculated initial states exhibit rapid convergence for fast-rotating condensates to states containing multiple vortices with an appropriate phase structure. This is illustrated here by calculating vortex lattices with up to 61 vortices in 2D and 3D. Outputs of the programs include calculated physical quantities, as well as the wave function and different density profiles (full density, integrated densities in lower dimensions, and density cross-sections). The provided real-time propagation programs can be used to study the dynamics of a rotating BEC using the imaginary-time stationary wave function as the initial state. We also study the efficiency of parallelization of the present OpenMP C and Fortran programs with different compilers. Program summary: Program title: BEC-GP-ROT-OMP, consisting of: (1) BEC-GP-ROT-OMP-C package, containing programs (i) bec-gp-rot-2d-th and (ii) bec-gp-rot-3d-th; (2) BEC-GP-ROT-OMP-F package, containing programs (i) bec-gp-rot-2d-th and (ii) bec-gp-rot-3d-th. Program files doi: http://dx.doi.org/10.17632/cw7tkn22v2.2 Licensing provisions: Apache License 2.0 Programming language: OpenMP C; OpenMP Fortran. The C programs are tested with the GNU, Intel, PGI, Oracle, and Clang compiler, and the Fortran programs are tested with the GNU, Intel, PGI, and Oracle compiler. Nature of problem: The present Open Multi-Processing (OpenMP) C and Fortran programs solve the time-dependent nonlinear partial differential Gross–Pitaevskii (GP) equation for a trapped rotating Bose–Einstein condensate in two (2D) and three (3D) spatial dimensions in a fully anisotropic traps. Solution method: We employ the split-step Crank–Nicolson algorithm to discretize the time-dependent GP equation in space and time. The discretized equation is then solved by imaginary- or real-time propagation, employing adequately small space and time steps, to yield the solution of stationary and non-stationary problems, respectively.Council of Scientific and Industrial Research, IndiaFundação de Amparo à Pesquisa do Estado de São Paulo (FAPESP)Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq)Ministarstvo Prosvete, Nauke i Tehnološkog RazvojaInstituto de Física Universidade de São Paulo, 05508-090 São PauloScientific Computing Laboratory Center for the Study of Complex Systems Institute of Physics Belgrade University of BelgradeDepartment of Physics Bharathidasan University Palkalaiperur CampusDepartment of Medical Physics Bharathidasan University Palkalaiperur CampusInstituto de Física Teórica UNESP – Universidade Estadual Paulista, 01.140-70 São PauloInstituto de Física Teórica UNESP – Universidade Estadual Paulista, 01.140-70 São PauloCouncil of Scientific and Industrial Research, India: 03(1422)/18/EMR-IIFAPESP: 2012/00451-0FAPESP: 2014/01668-8CNPq: 303280/2014-0Ministarstvo Prosvete, Nauke i Tehnološkog Razvoja: III43007Ministarstvo Prosvete, Nauke i Tehnološkog Razvoja: ON171017Universidade de São Paulo (USP)University of BelgradePalkalaiperur CampusUniversidade Estadual Paulista (Unesp)Kishor Kumar, RamavarmarajaLončar, VladimirMuruganandam, PaulsamyAdhikari, Sadhan K. [UNESP]Balaž, Antun2019-10-06T16:22:25Z2019-10-06T16:22:25Z2019-07-01info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/article74-82http://dx.doi.org/10.1016/j.cpc.2019.03.004Computer Physics Communications, v. 240, p. 74-82.0010-4655http://hdl.handle.net/11449/18888910.1016/j.cpc.2019.03.0042-s2.0-85063474944Scopusreponame:Repositório Institucional da UNESPinstname:Universidade Estadual Paulista (UNESP)instacron:UNESPengComputer Physics Communicationsinfo:eu-repo/semantics/openAccess2021-10-23T03:22:05Zoai:repositorio.unesp.br:11449/188889Repositório InstitucionalPUBhttp://repositorio.unesp.br/oai/requestopendoar:29462024-08-05T20:28:13.718320Repositório Institucional da UNESP - Universidade Estadual Paulista (UNESP)false
dc.title.none.fl_str_mv C and Fortran OpenMP programs for rotating Bose–Einstein condensates
title C and Fortran OpenMP programs for rotating Bose–Einstein condensates
spellingShingle C and Fortran OpenMP programs for rotating Bose–Einstein condensates
Kishor Kumar, Ramavarmaraja
C programs
Fortran programs
Gross–Pitaevskii equation
OpenMP
Partial differential equation
Rotating Bose–Einstein condensate
Split-step Crank–Nicolson scheme
Vortex lattice
title_short C and Fortran OpenMP programs for rotating Bose–Einstein condensates
title_full C and Fortran OpenMP programs for rotating Bose–Einstein condensates
title_fullStr C and Fortran OpenMP programs for rotating Bose–Einstein condensates
title_full_unstemmed C and Fortran OpenMP programs for rotating Bose–Einstein condensates
title_sort C and Fortran OpenMP programs for rotating Bose–Einstein condensates
author Kishor Kumar, Ramavarmaraja
author_facet Kishor Kumar, Ramavarmaraja
Lončar, Vladimir
Muruganandam, Paulsamy
Adhikari, Sadhan K. [UNESP]
Balaž, Antun
author_role author
author2 Lončar, Vladimir
Muruganandam, Paulsamy
Adhikari, Sadhan K. [UNESP]
Balaž, Antun
author2_role author
author
author
author
dc.contributor.none.fl_str_mv Universidade de São Paulo (USP)
University of Belgrade
Palkalaiperur Campus
Universidade Estadual Paulista (Unesp)
dc.contributor.author.fl_str_mv Kishor Kumar, Ramavarmaraja
Lončar, Vladimir
Muruganandam, Paulsamy
Adhikari, Sadhan K. [UNESP]
Balaž, Antun
dc.subject.por.fl_str_mv C programs
Fortran programs
Gross–Pitaevskii equation
OpenMP
Partial differential equation
Rotating Bose–Einstein condensate
Split-step Crank–Nicolson scheme
Vortex lattice
topic C programs
Fortran programs
Gross–Pitaevskii equation
OpenMP
Partial differential equation
Rotating Bose–Einstein condensate
Split-step Crank–Nicolson scheme
Vortex lattice
description We present OpenMP versions of C and Fortran programs for solving the Gross–Pitaevskii equation for a rotating trapped Bose–Einstein condensate (BEC) in two (2D) and three (3D) spatial dimensions. The programs can be used to generate vortex lattices and study dynamics of rotating BECs. We use the split-step Crank–Nicolson algorithm for imaginary- and real-time propagation to calculate stationary states and BEC dynamics, respectively. The simulation input parameters for the C programs are provided via input files, while for the Fortran programs they are given at the beginning of each program and therefore their change requires recompilation of the corresponding program. The programs propagate the condensate wave function and calculate several relevant physical quantities, such as the energy, the chemical potential, and the root-mean-square sizes. The imaginary-time propagation starts with an analytic wave function with one vortex at the trap center, modulated by a random phase at different space points. Nevertheless, the converged wave function for a rapidly rotating BEC with a large number of vortices is most efficiently calculated using the pre-calculated converged wave function of a rotating BEC containing a smaller number of vortices as the initial state rather than using an analytic wave function with one vortex as the initial state. These pre-calculated initial states exhibit rapid convergence for fast-rotating condensates to states containing multiple vortices with an appropriate phase structure. This is illustrated here by calculating vortex lattices with up to 61 vortices in 2D and 3D. Outputs of the programs include calculated physical quantities, as well as the wave function and different density profiles (full density, integrated densities in lower dimensions, and density cross-sections). The provided real-time propagation programs can be used to study the dynamics of a rotating BEC using the imaginary-time stationary wave function as the initial state. We also study the efficiency of parallelization of the present OpenMP C and Fortran programs with different compilers. Program summary: Program title: BEC-GP-ROT-OMP, consisting of: (1) BEC-GP-ROT-OMP-C package, containing programs (i) bec-gp-rot-2d-th and (ii) bec-gp-rot-3d-th; (2) BEC-GP-ROT-OMP-F package, containing programs (i) bec-gp-rot-2d-th and (ii) bec-gp-rot-3d-th. Program files doi: http://dx.doi.org/10.17632/cw7tkn22v2.2 Licensing provisions: Apache License 2.0 Programming language: OpenMP C; OpenMP Fortran. The C programs are tested with the GNU, Intel, PGI, Oracle, and Clang compiler, and the Fortran programs are tested with the GNU, Intel, PGI, and Oracle compiler. Nature of problem: The present Open Multi-Processing (OpenMP) C and Fortran programs solve the time-dependent nonlinear partial differential Gross–Pitaevskii (GP) equation for a trapped rotating Bose–Einstein condensate in two (2D) and three (3D) spatial dimensions in a fully anisotropic traps. Solution method: We employ the split-step Crank–Nicolson algorithm to discretize the time-dependent GP equation in space and time. The discretized equation is then solved by imaginary- or real-time propagation, employing adequately small space and time steps, to yield the solution of stationary and non-stationary problems, respectively.
publishDate 2019
dc.date.none.fl_str_mv 2019-10-06T16:22:25Z
2019-10-06T16:22:25Z
2019-07-01
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/article
format article
status_str publishedVersion
dc.identifier.uri.fl_str_mv http://dx.doi.org/10.1016/j.cpc.2019.03.004
Computer Physics Communications, v. 240, p. 74-82.
0010-4655
http://hdl.handle.net/11449/188889
10.1016/j.cpc.2019.03.004
2-s2.0-85063474944
url http://dx.doi.org/10.1016/j.cpc.2019.03.004
http://hdl.handle.net/11449/188889
identifier_str_mv Computer Physics Communications, v. 240, p. 74-82.
0010-4655
10.1016/j.cpc.2019.03.004
2-s2.0-85063474944
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv Computer Physics Communications
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv 74-82
dc.source.none.fl_str_mv Scopus
reponame:Repositório Institucional da UNESP
instname:Universidade Estadual Paulista (UNESP)
instacron:UNESP
instname_str Universidade Estadual Paulista (UNESP)
instacron_str UNESP
institution UNESP
reponame_str Repositório Institucional da UNESP
collection Repositório Institucional da UNESP
repository.name.fl_str_mv Repositório Institucional da UNESP - Universidade Estadual Paulista (UNESP)
repository.mail.fl_str_mv
_version_ 1808129206483156992