Link to the source code for this example:

Open vector_fe_ex7 in new tab.


The console output of the program:

  CXX      example_dbg-vector_fe_ex7.o
  CXXLD    example-dbg
  CXX      example_devel-vector_fe_ex7.o
  CXXLD    example-devel
  CXX      example_oprof-vector_fe_ex7.o
  CXXLD    example-oprof
***************************************************************
* Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=TRI6 
***************************************************************
 
L2 error is: 0.134279
HDiv semi-norm error is: 0.344042
HDiv error is: 0.369318
L2 error for p is: 0.0697397
L2 error p_enriched is: 0.00516164
 
***************************************************************
* Done Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=TRI6 
***************************************************************
***************************************************************
* Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=TRI7 
***************************************************************
 
L2 error is: 0.134279
HDiv semi-norm error is: 0.344042
HDiv error is: 0.369318
L2 error for p is: 0.0697397
L2 error p_enriched is: 0.00516164
 
***************************************************************
* Done Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=TRI7 
***************************************************************
***************************************************************
* Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=QUAD8 
***************************************************************
 
L2 error is: 0.134333
HDiv semi-norm error is: 0.421249
HDiv error is: 0.442149
L2 error for p is: 0.0853821
L2 error p_enriched is: 0.00635743
 
***************************************************************
* Done Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=QUAD8 
***************************************************************
***************************************************************
* Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=QUAD9 
***************************************************************
 
L2 error is: 0.134333
HDiv semi-norm error is: 0.421249
HDiv error is: 0.442149
L2 error for p is: 0.0853821
L2 error p_enriched is: 0.00635743
 
***************************************************************
* Done Running Example vector_fe_ex7:
*   ./example-opt dim=2 element_type=QUAD9 
***************************************************************
***************************************************************
* Running Example vector_fe_ex7:
*   ./example-opt dim=3 element_type=TET14 grid_size=4 
***************************************************************
 
L2 error is: 0.500135
HDiv semi-norm error is: 1.24927
HDiv error is: 1.34566
L2 error for p is: 0.168995
L2 error p_enriched is: 0.0390603
 
***************************************************************
* Done Running Example vector_fe_ex7:
*   ./example-opt dim=3 element_type=TET14 grid_size=4 
***************************************************************
***************************************************************
* Running Example vector_fe_ex7:
*   ./example-opt dim=3 element_type=HEX27 grid_size=4 
***************************************************************
 
L2 error is: 0.858294
HDiv semi-norm error is: 2.80499
HDiv error is: 2.93337
L2 error for p is: 0.379979
L2 error p_enriched is: 0.112876
 
***************************************************************
* Done Running Example vector_fe_ex7:
*   ./example-opt dim=3 element_type=HEX27 grid_size=4 
***************************************************************