From: Toby D. Young Date: Thu, 30 Jul 2009 12:03:40 +0000 (+0000) Subject: Quick fix removing repeated entries X-Git-Tag: v8.0.0~7433 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=578157ac49ad297b13c5b04a493ed8cc78523302;p=dealii.git Quick fix removing repeated entries git-svn-id: https://svn.dealii.org/trunk@19132 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-36/doc/results.dox b/deal.II/examples/step-36/doc/results.dox index 1a43689c6c..aa437a60dd 100644 --- a/deal.II/examples/step-36/doc/results.dox +++ b/deal.II/examples/step-36/doc/results.dox @@ -163,13 +163,15 @@ this and explore how the spectrum and eigenfunctions change as we make the computational region larger and larger.
  • What happens if we investigate the simple harmonic oscillator -problem $V(\mathbf x)=c|\mathbf x|^2$? This potential is exactly of the form -discussed in the previous paragraph and one may want to use a large spherical -domain to approximate the whole-space problem. - -
  • What happens if the particle in the box has internal -degrees of freedom? For example, if the particle were a spin-$1/2$ -particle? In that case, we may want to start solving a vector-valued -problem instead.
  • +problem $V(\mathbf x)=c|\mathbf x|^2$? This potential is exactly of +the form discussed in the previous paragraph and has hyper spherical +symmetry. Oone may want to use a large spherical domain with a large +outer radius, to approximate the whole-space problem (say, by invoking +GridGenerator::hyper_ball). + +
  • What happens if the particle in the box has internal degrees of +freedom? For example, if the particle were a spin-$1/2$ particle? In +that case, we may want to start solving a vector-valued problem +instead.
  • diff --git a/deal.II/examples/step-36/step-36.cc b/deal.II/examples/step-36/step-36.cc index d273d9cc5d..b21af57012 100644 --- a/deal.II/examples/step-36/step-36.cc +++ b/deal.II/examples/step-36/step-36.cc @@ -1,7 +1,7 @@ -/* $Id$ */ +/* $Id$ */ /* Author: Toby D. Young, Polish Academy of Sciences, */ /* Wolfgang Bangerth, Texas A&M University */ -/* $Id$ */ +/* $Id$*/ /* */ /* Copyright (C) 2009 by the deal.II authors */ /* */ @@ -137,9 +137,9 @@ EigenvalueProblem::EigenvalueProblem (const std::string &prm_file) { parameters.declare_entry ("Global mesh refinement steps", "5", Patterns::Integer (0, 20), - "The number number of times the 1-cell coarse mesh should " + "The number of times the 1-cell coarse mesh should " "be refined globally for our computations."); - parameters.declare_entry ("Number of eigenvalues/eigenfunctions", "10", + parameters.declare_entry ("Number of eigenvalues/eigenfunctions", "5", Patterns::Integer (0, 100), "The number of eigenvalues/eigenfunctions " "to be computed."); diff --git a/deal.II/examples/step-36/step-36.prm b/deal.II/examples/step-36/step-36.prm index d3f581afc0..9280d729eb 100644 --- a/deal.II/examples/step-36/step-36.prm +++ b/deal.II/examples/step-36/step-36.prm @@ -1,3 +1,11 @@ +# Listing of Parameters +# --------------------- +# The number of times the 1-cell coarse mesh should be refined globally for +# our computations. set Global mesh refinement steps = 5 -set Number of eigenvalues/eigenfunctions = 6 -set Potential = 0 # if (x^2 + y^2 < 0.75^2, if (x*y > 0, -100, -5), 0) + +# The number of eigenvalues/eigenfunctions to be computed. +set Number of eigenvalues/eigenfunctions = 5 + +# A functional description of the potential. +set Potential = 0