]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add documentation. Simplify.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Nov 2010 12:34:38 +0000 (12:34 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Nov 2010 12:34:38 +0000 (12:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@22664 0785d39b-7218-0410-832d-ea1e28bc413d

tests/fe/nedelec_crash_01.cc

index aa23f672f0f3b448eed702718cb0f4c61b751ebb..da81c54a4e7b5a585f929ff8822e50827b28e480 100644 (file)
 //
 //--------------------------------------------------------------------
 
-// Test, whether differential operators produce a cochain complex on
-// the standard Hilbert space sequence
+// A test extracted from integrators/cochain_01 that crashed with the
+// FE_Nedelec at the time
 
 #include "../tests.h"
 #include "../lib/test_grids.h"
 
 #include <base/logstream.h>
 
-#include <lac/matrix_block.h>
-#include <lac/sparse_matrix.h>
-#include <lac/block_sparsity_pattern.h>
-#include <lac/compressed_sparsity_pattern.h>
-#include <lac/solver_cg.h>
-#include <lac/precondition.h>
-
 #include <dofs/dof_handler.h>
-#include <dofs/dof_renumbering.h>
 #include <dofs/dof_tools.h>
 
-#include <fe/fe_q.h>
 #include <fe/fe_nedelec.h>
-#include <fe/fe_raviart_thomas.h>
-#include <fe/fe_dgq.h>
-#include <fe/fe_system.h>
-#include <fe/fe_values.h>
-#include <fe/mapping_q1.h>
-
-#include <numerics/mesh_worker_info.h>
-#include <numerics/mesh_worker_assembler.h>
-#include <numerics/mesh_worker_loop.h>
 
 
 int main()
@@ -50,6 +32,9 @@ int main()
   deallog.depth_console(0);
   deallog.threshold_double(1.e-10);
 
+                                  // generate a version of the
+                                  // Nedelec element but force it to
+                                  // use the old-style constraints
   struct MyFE : FE_Nedelec<3> {
       MyFE () : FE_Nedelec<3>(0) {};
       virtual bool hp_constraints_are_implemented () const

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.