]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Name change.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 27 Apr 1998 18:06:58 +0000 (18:06 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 27 Apr 1998 18:06:58 +0000 (18:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@209 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/convergence/convergence.cc
deal.II/deal.II/Attic/examples/error-estimation/error-estimation.cc
deal.II/deal.II/Attic/examples/poisson/problem.cc
deal.II/deal.II/include/numerics/base.h
tests/big-tests/convergence/convergence.cc
tests/big-tests/error-estimation/error-estimation.cc
tests/big-tests/poisson/problem.cc

index daeaafbf60b6260679b519a10f595fc951eb3440..2a95fa67aa1258e665641617b3681d54beced8ce 100644 (file)
@@ -254,7 +254,7 @@ void PoissonProblem<dim>::run (const unsigned int level) {
   UpdateFlags update_flags = UpdateFlags(update_q_points  | update_gradients |
                                         update_jacobians | update_JxW_values);
   
-  ProblemBase<dim>::DirichletBC dirichlet_bc;
+  ProblemBase<dim>::FunctionMap dirichlet_bc;
   dirichlet_bc[0] = boundary_values;
   assemble (equation, quadrature, fe, update_flags, dirichlet_bc);
 
index 1d43aeb913bf080495d4a2ca6bd616912b1a5058..3767cdd2a5d2fd08e3c4c019f36b575d964d4d83 100644 (file)
@@ -255,7 +255,7 @@ void PoissonProblem<dim>::run (const unsigned int level) {
   UpdateFlags update_flags = UpdateFlags(update_q_points  | update_gradients |
                                         update_jacobians | update_JxW_values);
   
-  ProblemBase<dim>::DirichletBC dirichlet_bc;
+  ProblemBase<dim>::FunctionMap dirichlet_bc;
   dirichlet_bc[0] = boundary_values;
   assemble (equation, quadrature, fe, update_flags, dirichlet_bc);
 
index ed039acba3e4071fe8fab197268dd5cf45b02461..48dad443c82684c50c4e474589c70e6908fde1f9 100644 (file)
@@ -448,7 +448,7 @@ void PoissonProblem<dim>::run (ParameterHandler &prm) {
   cout << dof->n_dofs() << " degrees of freedom." << endl;
 
   cout << "    Assembling matrices..." << endl;
-  ProblemBase<dim>::DirichletBC dirichlet_bc;
+  ProblemBase<dim>::FunctionMap dirichlet_bc;
   dirichlet_bc[0] = boundary_values;
   assemble (equation, quadrature, fe,
            UpdateFlags(update_gradients | update_JxW_values |
index 68ed8df44493bf3865dfee8200fe9ec8f8caead6..88e650243be6487f1b18e3c7c3f4cfc2733308da 100644 (file)
@@ -18,12 +18,11 @@ template <int dim> class DoFHandler;
 template <int dim> class FiniteElement;
 template <int dim> class Quadrature;
 template <int dim> class DataOut;
-template <int dim> class Function;
 template <int dim> class Equation;
 template <int dim> class Assembler;
 template <int dim> class Boundary;
 template <int dim> class StraightBoundary;
-
+template <int dim> class Function;
 
 
 /**
@@ -238,19 +237,18 @@ template <int dim>
 class ProblemBase {
   public:
                                     /**
-                                     * Declare a data type which denotes a
-                                     * mapping between a boundary indicator
-                                     * and the function denoting the boundary
-                                     * values on this part of the boundary.
-                                     * Only one boundary function may be given
-                                     * for each boundary indicator, which is
-                                     * guaranteed by the #map# data type.
-                                     *
-                                     * See the general documentation of this
-                                     * class for more detail.
+                                     * Declare a data type which denotes a
+                                     * mapping between a boundary indicator
+                                     * and the function denoting the boundary
+                                     * values on this part of the boundary.
+                                     * Only one boundary function may be given
+                                     * for each boundary indicator, which is
+                                     * guaranteed by the #map# data type.
+                                     * 
+                                     * See the general documentation of this
+                                     * class for more detail.
                                      */
-    typedef map<unsigned char,Function<dim>* > DirichletBC;
-
+    typedef map<unsigned char,Function<dim>*> FunctionMap;
                                     /**
                                      * Typdedef an iterator which assembles
                                      * matrices and vectors.
@@ -309,7 +307,7 @@ class ProblemBase {
                           const Quadrature<dim>    &q,
                           const FiniteElement<dim> &fe,
                           const UpdateFlags         update_flags,
-                          const DirichletBC        &dirichlet_bc = DirichletBC(),
+                          const FunctionMap        &dirichlet_bc = FunctionMap(),
                           const Boundary<dim>      &boundary = StraightBoundary<dim>());
     
                                     /**
@@ -373,7 +371,7 @@ class ProblemBase {
                                      * See the general doc for more
                                      * information.
                                      */
-    virtual void make_boundary_value_list (const DirichletBC        &dirichlet_bc,
+    virtual void make_boundary_value_list (const FunctionMap        &dirichlet_bc,
                                           const FiniteElement<dim> &fe,
                                           const Boundary<dim>      &boundary,
                                           map<int,double>          &boundary_values) const;
@@ -450,7 +448,7 @@ class ProblemBase {
     void apply_dirichlet_bc (dSMatrix          &matrix,
                             dVector           &solution,
                             dVector           &right_hand_side,
-                            const DirichletBC &dirichlet_bc,
+                            const FunctionMap &dirichlet_bc,
                             const FiniteElement<dim> &fe,
                             const Boundary<dim>      &boundary);
     
index daeaafbf60b6260679b519a10f595fc951eb3440..2a95fa67aa1258e665641617b3681d54beced8ce 100644 (file)
@@ -254,7 +254,7 @@ void PoissonProblem<dim>::run (const unsigned int level) {
   UpdateFlags update_flags = UpdateFlags(update_q_points  | update_gradients |
                                         update_jacobians | update_JxW_values);
   
-  ProblemBase<dim>::DirichletBC dirichlet_bc;
+  ProblemBase<dim>::FunctionMap dirichlet_bc;
   dirichlet_bc[0] = boundary_values;
   assemble (equation, quadrature, fe, update_flags, dirichlet_bc);
 
index 1d43aeb913bf080495d4a2ca6bd616912b1a5058..3767cdd2a5d2fd08e3c4c019f36b575d964d4d83 100644 (file)
@@ -255,7 +255,7 @@ void PoissonProblem<dim>::run (const unsigned int level) {
   UpdateFlags update_flags = UpdateFlags(update_q_points  | update_gradients |
                                         update_jacobians | update_JxW_values);
   
-  ProblemBase<dim>::DirichletBC dirichlet_bc;
+  ProblemBase<dim>::FunctionMap dirichlet_bc;
   dirichlet_bc[0] = boundary_values;
   assemble (equation, quadrature, fe, update_flags, dirichlet_bc);
 
index ed039acba3e4071fe8fab197268dd5cf45b02461..48dad443c82684c50c4e474589c70e6908fde1f9 100644 (file)
@@ -448,7 +448,7 @@ void PoissonProblem<dim>::run (ParameterHandler &prm) {
   cout << dof->n_dofs() << " degrees of freedom." << endl;
 
   cout << "    Assembling matrices..." << endl;
-  ProblemBase<dim>::DirichletBC dirichlet_bc;
+  ProblemBase<dim>::FunctionMap dirichlet_bc;
   dirichlet_bc[0] = boundary_values;
   assemble (equation, quadrature, fe,
            UpdateFlags(update_gradients | update_JxW_values |

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.