From: kronbichler Date: Mon, 26 Nov 2012 14:37:31 +0000 (+0000) Subject: Adjust problem size to what is shown in results. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c36b9b32d8eba1eabf0009c03306ebabf223682a;p=dealii-svn.git Adjust problem size to what is shown in results. git-svn-id: https://svn.dealii.org/trunk@27687 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-48/step-48.cc b/deal.II/examples/step-48/step-48.cc index d06d0cbab0..24e88f32d0 100644 --- a/deal.II/examples/step-48/step-48.cc +++ b/deal.II/examples/step-48/step-48.cc @@ -78,9 +78,9 @@ namespace Step48 { public: SineGordonOperation(const MatrixFree &data_in, - const double time_step); + const double time_step); - void apply (parallel::distributed::Vector &dst, + void apply (parallel::distributed::Vector &dst, const std::vector*> &src) const; private: @@ -124,7 +124,7 @@ namespace Step48 FEEvaluationGL fe_eval(data); const unsigned int n_q_points = fe_eval.n_q_points; - for (unsigned int cell=0; cell void SineGordonOperation:: - local_apply (const MatrixFree &data, - parallel::distributed::Vector &dst, + local_apply (const MatrixFree &data, + parallel::distributed::Vector &dst, const std::vector*> &src, const std::pair &cell_range) const { @@ -221,7 +221,7 @@ namespace Step48 // provide a function with the same signature that is not part of a class. template void SineGordonOperation:: - apply (parallel::distributed::Vector &dst, + apply (parallel::distributed::Vector &dst, const std::vector*> &src) const { dst = 0; @@ -328,7 +328,7 @@ namespace Step48 #endif fe (QGaussLobatto<1>(fe_degree+1)), dof_handler (triangulation), - n_global_refinements (11-2*dim), + n_global_refinements (10-2*dim), time (-10), final_time (10), cfl_number (.1/fe_degree),