Dimensions
Dimensions
Section System
Type integer
Default 3
Octopus can run in 1, 2 or 3 or more dimensions, depending on
the value of this variable. Note that not all input variables may be
available in all cases.
Source information
basic/space.F90 : 73
call parse_variable(namespace, 'Dimensions', default_ndim, this%dim)
Featured in tutorials
Featured in chapters of the manual:
Featured in testfiles
- components/01-derivatives_1d.01.inp
- components/01-derivatives_1d.02-fortran.inp
- components/02-derivatives_2d.01.inp
- components/18-interpolation.01-1d.inp
- components/18-interpolation.02-2d.inp
- components/36-maxwell_vector_potential.inp
- finite_systems_1d/01-hydrogen.01-ground_state.inp
- finite_systems_1d/01-hydrogen.02-excited_state.inp
- finite_systems_1d/01-hydrogen.03-dummy.inp
- finite_systems_1d/01-hydrogen.04-absorbing_boundaries.inp
- finite_systems_1d/02-neon_mpi.01-ground_state-IP_par_domains.inp
- finite_systems_1d/02-neon_mpi.02-ground_state-kli_par_domains.inp
- finite_systems_1d/02-neon_mpi.03-td_calc-kli_par_states.inp
- finite_systems_1d/03-He-Hartree-Fock.01-gs.inp
- finite_systems_1d/09-morse.02-unocc.inp
- finite_systems_1d/09-morse.03-td.inp
- finite_systems_1d/04-lithium.01-ground_state.inp
- finite_systems_1d/04-lithium.02-absorbing_boundaries.inp
- finite_systems_1d/09-morse.01-gs.inp
- finite_systems_2d/01-quadratic_box.01-ground_state.inp
- finite_systems_2d/01-quadratic_box.02-hartree.inp
- finite_systems_2d/01-quadratic_box.03-hartree+xc.inp
- finite_systems_2d/01-quadratic_box.04-spin_polarized.inp
- finite_systems_2d/02-fock-darwin.01-ground_state.inp
- finite_systems_2d/03-helium_atom.01-ground_state.inp
- finite_systems_2d/03-helium_atom.02-ground_state.inp
- finite_systems_2d/04-biot_savart.01-gs.inp
- finite_systems_2d/05-spin_precession.02-time_propagation.inp
- finite_systems_2d/06-gdlib.01-gs.inp
- finite_systems_2d/07-user_def_box.01-gs.inp
- finite_systems_2d/02-fock-darwin.02-ground_state.inp
- finite_systems_2d/02-fock-darwin.03-ground_state.inp
- finite_systems_2d/02-fock-darwin.04-ground_state.inp
- finite_systems_2d/05-spin_precession.01-ground_state.inp
- finite_systems_2d/08-constrain.01-gs.inp
- finite_systems_2d/08-constrain.02-gs_dir.inp
- finite_systems_2d/08-constrain.03-polarized.inp
- finite_systems_2d/09-magnetic_2d.01-no_field.inp
- finite_systems_2d/09-magnetic_2d.02-gs_gauge_xy.inp
- finite_systems_2d/09-magnetic_2d.03-gs_gauge_y.inp
- functionals/01-xc_1d.01-wfs-lda.inp
- functionals/01-xc_1d.02-wfs-hf.inp
- functionals/01-xc_1d.lda_csc.inp
- functionals/01-xc_1d.oep_exx.inp
- functionals/01-xc_1d.oep_kli.inp
- functionals/02-xc_2d.01-hartree.inp
- functionals/02-xc_2d.02-hf.inp
- functionals/02-xc_2d.gga_b86.inp
- functionals/02-xc_2d.gga_b86_mgc.inp
- functionals/02-xc_2d.gga_b88.inp
- functionals/02-xc_2d.gga_pbe.inp
- functionals/02-xc_2d.lda_amgb.inp
- functionals/02-xc_2d.lda_prm.inp
- functionals/05-ks_inversion.01-target_density.inp
- functionals/05-ks_inversion.02-two_particle.inp
- functionals/05-ks_inversion.03-inversion.inp
- functionals/16-dressed-rdmft.01-ip.inp
- functionals/16-dressed-rdmft.02-hf.inp
- functionals/16-dressed-rdmft.03-rdmft.inp
- functionals/17-oep-photons.01-kli-spinpolarized.inp
- functionals/17-oep-photons.02-kli.inp
- functionals/17-oep-photons.03-oep.inp
- functionals/15-oep-CG.01-kli.inp
- functionals/15-oep-CG.02-oep-dens.inp
- functionals/19-qedft-breit-1d.01-etac-px.inp
- functionals/19-qedft-breit-1d.02-pxlda.inp
- functionals/20-qedft-breit-2d.01-etac-px.inp
- functionals/20-qedft-breit-2d.02-pxlda-weak.inp
- functionals/20-qedft-breit-2d.03-pxlda-strong.inp
- functionals/21-qedft-breit-3d.01-pxlda-hydrogen.inp
- functionals/21-qedft-breit-3d.02-pxlda-helium.inp
- linear_response/08-sternheimer-photons.01-gs.inp
- linear_response/08-sternheimer-photons.02-em_resp.inp
- maxwell/07-mode-resolved-maxwell-ks-propagation.01-1D-Helium-ground-state.inp
- maxwell/07-mode-resolved-maxwell-ks-propagation.02-kick-of-the-electronic-subsystem.inp
- maxwell/12-tddft-currents-to-maxwell.01-benzene-gs.inp
- maxwell/10-current-to-maxwell.01-all-forces-non-self-consistent.inp
- maxwell/12-tddft-currents-to-maxwell.02-benzene-mxll-td-length-gauge.inp
- maxwell/12-tddft-currents-to-maxwell.03-benzene-mxll-td-veloc-gauge.inp
- maxwell/12-tddft-currents-to-maxwell.04-benzene-mxll-td-full-min-coup.inp
- maxwell/12-tddft-currents-to-maxwell.05-benzene-extsource-td-veloc-gauge.inp
- maxwell/12-tddft-currents-to-maxwell.06-benzene-dipole-and-quadrupole.inp
- maxwell/14-quadrupole-pot.01-hydrogen-gs.inp
- modelmb/01-cosh_2e_1d.01-gs.inp
- modelmb/02-qd_2e_2d.01-gs.inp
- modelmb/02-qd_2e_2d.02-td.inp
- modelmb/01-cosh_2e_1d.02-td.inp
- multisystem/01-nested_systems.01-two_levels.inp
- multisystem/01-nested_systems.02-three_levels.inp
- multisystem/01-nested_systems.03-four_levels.inp
- multisystem/02-interaction_graph.01-three_body.inp
- multisystem/03-interactions_creation.01-case1.inp
- multisystem/03-interactions_creation.02-case2.inp
- multisystem/03-interactions_creation.03-case3.inp
- multisystem/03-interactions_creation.04-case4.inp
- multisystem/04-propagation_verlet.01-two_body.inp
- multisystem/04-propagation_verlet.02-three_body.inp
- multisystem/04-propagation_verlet.03-two_body_different_time_steps.inp
- multisystem/04-propagation_verlet.04-three_body_different_time_steps.inp
- multisystem/05-propagation_beeman.01-two_body.inp
- multisystem/05-propagation_beeman.02-three_body.inp
- multisystem/05-propagation_beeman.03-two_body_different_time_steps.inp
- multisystem/05-propagation_beeman.04-three_body_different_time_steps.inp
- multisystem/06-propagation_expmid.01-two_body.inp
- multisystem/06-propagation_expmid.02-three_body.inp
- multisystem/06-propagation_expmid.03-two_body_different_time_steps.inp
- multisystem/06-propagation_expmid.04-three_body_different_time_steps.inp
- multisystem/06-propagation_expmid.05-two_body_verlet_half.inp
- multisystem/06-propagation_expmid.06-two_body_verlet.inp
- multisystem/11-dftbplus_ehrenfest.01-benzene.inp
- multisystem/08-coulomb_force.01-classical_helium.inp
- multisystem/10-dftbplus_verlet.01-water.inp
- multisystem/17-lasers.01-length_gauge.inp
- multisystem/13-restart_verlet.01-restart-run-part1.inp
- multisystem/13-restart_verlet.02-restart-run-part2.inp
- multisystem/13-restart_verlet.03-full-run.inp
- multisystem/14-lennard-jones.01-classical-particles-N2.inp
- multisystem/07-lorentz-force.01-charged_particle_coupled_to_maxwell.inp
- multisystem/07-lorentz-force.02-charged_particle_in_static_efield.inp
- multisystem/07-lorentz-force.03-charged_particle_illegal_propagator.inp
- multisystem/18-incompatible_timing.01-run.inp
- optimal_control/01-asym_doublewell.01-ground_state.inp
- optimal_control/01-asym_doublewell.02-unocc.inp
- optimal_control/01-asym_doublewell.03-oct_run.inp
- optimal_control/01-asym_doublewell.04-oct_run.inp
- optimal_control/01-asym_doublewell.05-oct_run.inp
- optimal_control/02-sym_doublewell.01-ground_state.inp
- optimal_control/02-sym_doublewell.02-unocc.inp
- optimal_control/02-sym_doublewell.03-oct.inp
- optimal_control/03-localtarget.01-gs.inp
- optimal_control/03-localtarget.02-oct.inp
- optimal_control/03-localtarget.03-tdoct.inp
- optimal_control/03-localtarget.04-gs-mp.inp
- optimal_control/03-localtarget.05-oct-mp.inp
- optimal_control/04-box.03-oct_long.inp
- optimal_control/04-box.04-oct_long.inp
- optimal_control/04-box.05-oct_long.inp
- optimal_control/04-box.06-oct_long.inp
- optimal_control/04-box.07-oct_long.inp
- optimal_control/04-box.08-oct_long.inp
- optimal_control/05-adw.01-ground_state.inp
- optimal_control/05-adw.02-unocc.inp
- optimal_control/05-adw.03-filter_fixed.inp
- optimal_control/05-adw.04-filter_indirect.inp
- optimal_control/06-zbr98.02-oct.inp
- optimal_control/07-qoct+tddft.01-ground_state.inp
- optimal_control/07-qoct+tddft.02-oct.inp
- optimal_control/08-velocities.01-ground_state.inp
- optimal_control/08-velocities.02-oct.inp
- optimal_control/09-density+current.01-ground_state.inp
- optimal_control/09-density+current.02-oct.inp
- optimal_control/09-density+current.03-tdoct.inp
- optimal_control/10-current.01-ground_state.inp
- optimal_control/10-current.02-oct.inp
- optimal_control/11-classical.01-ground_state.inp
- optimal_control/11-classical.02-oct.inp
- optimal_control/11-classical.03-oct_taylor.inp
- optimal_control/12-spintarget.01-ground_state.inp
- optimal_control/12-spintarget.02-oct.inp
- optimal_control/13-box-nlopt.03-bobyqa.inp
- optimal_control/13-box-nlopt.04-lbfgs.inp
- optimal_control/04-box.01-ground_state.inp
- optimal_control/04-box.02-unocc.inp
- optimal_control/06-zbr98.01-ground_state.inp
- periodic_systems/01-free_electrons.01-ground_state.inp
- periodic_systems/01-free_electrons.02-unocc.inp
- periodic_systems/02-cosine_potential.01-ground_state.inp
- periodic_systems/02-cosine_potential.02-unocc.inp
- periodic_systems/03-sodium_chain.01-ground_state.inp
- periodic_systems/03-sodium_chain.02-unocc.inp
- periodic_systems/03-sodium_chain.03-ground_state_disp.inp
- periodic_systems/03-sodium_chain.04-unocc_disp.inp
- periodic_systems/16-sodium_chain_cylinder.01-ground_state.inp
- periodic_systems/16-sodium_chain_cylinder.02-unocc.inp
- periodic_systems/16-sodium_chain_cylinder.03-ground_state_disp.inp
- periodic_systems/16-sodium_chain_cylinder.04-unocc_disp.inp
- periodic_systems/23-hybrids.01-ace.inp
- periodic_systems/23-hybrids.02-ace_accel.inp
- periodic_systems/24-hartree_fock_1D.01-gs.inp
- periodic_systems/31-magnon_1d.01-gs.inp
- periodic_systems/31-magnon_1d.02-td.inp
- photo_electron/01-h1d_lin.01-mask.inp
- photo_electron/01-h1d_lin.02-ba.inp
- photo_electron/02-restart.01-ba.inp
- photo_electron/02-restart.02-restart_ba.inp
- photo_electron/03-h1d_ati.01.inp
- photo_electron/04-nfft.01-ba.inp
- photo_electron/04-nfft.02-ati.inp
- photo_electron/06-2D.01-Na_gs.inp
- photo_electron/06-2D.02-Na_few_cy.inp
- photo_electron/07-flux_1d.01-h1d_lin.inp
- photo_electron/07-flux_1d.02-h1d_ati.inp
- photo_electron/09-flux_3d.01-Na_gs_sph.inp
- photo_electron/09-flux_3d.02-Na_td_sph.inp
- photo_electron/09-flux_3d.03-Na_gs_cub.inp
- photo_electron/09-flux_3d.04-Na_td_cub.inp
- photo_electron/10-spm_1d.h1d_lin.inp
- photo_electron/12-spm_3d.01-Na_gs.inp
- photo_electron/12-spm_3d.02-Na_td.inp
- photo_electron/13-arpes_2d.01-gs.inp
- photo_electron/13-arpes_2d.02-td.inp
- photo_electron/13-arpes_2d.03-restart.inp
- photo_electron/13-arpes_2d.04-spectrum.inp
- real_time/11-tdmagnetic.01-gs.inp
- real_time/11-tdmagnetic.02-unocc.inp
- real_time/11-tdmagnetic.03-td.inp
- real_time/18-hhg.01-gs.inp
- real_time/18-hhg.02-td.inp
- real_time/23-td_qedft_breit_pxlda_adiabatic.01-gs.inp
- real_time/23-td_qedft_breit_pxlda_adiabatic.02-td.inp
- real_time/23-td_qedft_breit_pxlda_adiabatic.03-td_restart.inp