diff --git a/configure b/configure index e32b4dc2bc6..bd815b2cf8a 100755 --- a/configure +++ b/configure @@ -60186,7 +60186,7 @@ printf "%s\n" "#define BUILD_DATE __DATE__ \" \" __TIME__" >>confdefs.h if test "x$enableexamples" = "xyes" then : - ac_config_files="$ac_config_files examples/introduction/introduction_ex1/Makefile examples/introduction/introduction_ex2/Makefile examples/introduction/introduction_ex3/Makefile examples/introduction/introduction_ex4/Makefile examples/introduction/introduction_ex5/Makefile examples/adaptivity/adaptivity_ex1/Makefile examples/adaptivity/adaptivity_ex2/Makefile examples/adaptivity/adaptivity_ex3/Makefile examples/adaptivity/adaptivity_ex4/Makefile examples/adaptivity/adaptivity_ex5/Makefile examples/adjoints/adjoints_ex1/Makefile examples/adjoints/adjoints_ex2/Makefile examples/adjoints/adjoints_ex3/Makefile examples/adjoints/adjoints_ex4/Makefile examples/adjoints/adjoints_ex5/Makefile examples/adjoints/adjoints_ex6/Makefile examples/adjoints/adjoints_ex7/Makefile examples/eigenproblems/eigenproblems_ex1/Makefile examples/eigenproblems/eigenproblems_ex2/Makefile examples/eigenproblems/eigenproblems_ex3/Makefile examples/eigenproblems/eigenproblems_ex4/Makefile examples/fem_system/fem_system_ex1/Makefile examples/fem_system/fem_system_ex2/Makefile examples/fem_system/fem_system_ex3/Makefile examples/fem_system/fem_system_ex4/Makefile examples/fem_system/fem_system_ex5/Makefile examples/solution_transfer/solution_transfer_ex1/Makefile examples/miscellaneous/miscellaneous_ex1/Makefile examples/miscellaneous/miscellaneous_ex2/Makefile examples/miscellaneous/miscellaneous_ex3/Makefile examples/miscellaneous/miscellaneous_ex4/Makefile examples/miscellaneous/miscellaneous_ex5/Makefile examples/miscellaneous/miscellaneous_ex6/Makefile examples/miscellaneous/miscellaneous_ex7/Makefile examples/miscellaneous/miscellaneous_ex8/Makefile examples/miscellaneous/miscellaneous_ex9/Makefile examples/miscellaneous/miscellaneous_ex10/Makefile examples/miscellaneous/miscellaneous_ex11/Makefile examples/miscellaneous/miscellaneous_ex12/Makefile examples/miscellaneous/miscellaneous_ex13/Makefile examples/miscellaneous/miscellaneous_ex14/Makefile examples/miscellaneous/miscellaneous_ex15/Makefile examples/miscellaneous/miscellaneous_ex16/Makefile examples/miscellaneous/miscellaneous_ex17/Makefile examples/optimization/optimization_ex1/Makefile examples/optimization/optimization_ex2/Makefile examples/subdomains/subdomains_ex1/Makefile examples/subdomains/subdomains_ex2/Makefile examples/subdomains/subdomains_ex3/Makefile examples/systems_of_equations/systems_of_equations_ex1/Makefile examples/systems_of_equations/systems_of_equations_ex2/Makefile examples/systems_of_equations/systems_of_equations_ex3/Makefile examples/systems_of_equations/systems_of_equations_ex4/Makefile examples/systems_of_equations/systems_of_equations_ex5/Makefile examples/systems_of_equations/systems_of_equations_ex6/Makefile examples/systems_of_equations/systems_of_equations_ex7/Makefile examples/systems_of_equations/systems_of_equations_ex8/Makefile examples/systems_of_equations/systems_of_equations_ex9/Makefile examples/reduced_basis/reduced_basis_ex1/Makefile examples/reduced_basis/reduced_basis_ex2/Makefile examples/reduced_basis/reduced_basis_ex3/Makefile examples/reduced_basis/reduced_basis_ex4/Makefile examples/reduced_basis/reduced_basis_ex5/Makefile examples/reduced_basis/reduced_basis_ex6/Makefile examples/reduced_basis/reduced_basis_ex7/Makefile examples/transient/transient_ex1/Makefile examples/transient/transient_ex2/Makefile examples/vector_fe/vector_fe_ex1/Makefile examples/vector_fe/vector_fe_ex2/Makefile examples/vector_fe/vector_fe_ex3/Makefile examples/vector_fe/vector_fe_ex4/Makefile examples/vector_fe/vector_fe_ex5/Makefile examples/vector_fe/vector_fe_ex6/Makefile examples/vector_fe/vector_fe_ex7/Makefile examples/vector_fe/vector_fe_ex8/Makefile examples/vector_fe/vector_fe_ex9/Makefile examples/Makefile" + ac_config_files="$ac_config_files examples/introduction/introduction_ex1/Makefile examples/introduction/introduction_ex2/Makefile examples/introduction/introduction_ex3/Makefile examples/introduction/introduction_ex4/Makefile examples/introduction/introduction_ex5/Makefile examples/adaptivity/adaptivity_ex1/Makefile examples/adaptivity/adaptivity_ex2/Makefile examples/adaptivity/adaptivity_ex3/Makefile examples/adaptivity/adaptivity_ex4/Makefile examples/adaptivity/adaptivity_ex5/Makefile examples/adjoints/adjoints_ex1/Makefile examples/adjoints/adjoints_ex2/Makefile examples/adjoints/adjoints_ex3/Makefile examples/adjoints/adjoints_ex4/Makefile examples/adjoints/adjoints_ex5/Makefile examples/adjoints/adjoints_ex6/Makefile examples/adjoints/adjoints_ex7/Makefile examples/eigenproblems/eigenproblems_ex1/Makefile examples/eigenproblems/eigenproblems_ex2/Makefile examples/eigenproblems/eigenproblems_ex3/Makefile examples/eigenproblems/eigenproblems_ex4/Makefile examples/fem_system/fem_system_ex1/Makefile examples/fem_system/fem_system_ex2/Makefile examples/fem_system/fem_system_ex3/Makefile examples/fem_system/fem_system_ex4/Makefile examples/fem_system/fem_system_ex5/Makefile examples/solution_transfer/solution_transfer_ex1/Makefile examples/miscellaneous/miscellaneous_ex1/Makefile examples/miscellaneous/miscellaneous_ex2/Makefile examples/miscellaneous/miscellaneous_ex3/Makefile examples/miscellaneous/miscellaneous_ex4/Makefile examples/miscellaneous/miscellaneous_ex5/Makefile examples/miscellaneous/miscellaneous_ex6/Makefile examples/miscellaneous/miscellaneous_ex7/Makefile examples/miscellaneous/miscellaneous_ex8/Makefile examples/miscellaneous/miscellaneous_ex9/Makefile examples/miscellaneous/miscellaneous_ex10/Makefile examples/miscellaneous/miscellaneous_ex11/Makefile examples/miscellaneous/miscellaneous_ex12/Makefile examples/miscellaneous/miscellaneous_ex13/Makefile examples/miscellaneous/miscellaneous_ex14/Makefile examples/miscellaneous/miscellaneous_ex15/Makefile examples/miscellaneous/miscellaneous_ex16/Makefile examples/miscellaneous/miscellaneous_ex17/Makefile examples/optimization/optimization_ex1/Makefile examples/optimization/optimization_ex2/Makefile examples/subdomains/subdomains_ex1/Makefile examples/subdomains/subdomains_ex2/Makefile examples/subdomains/subdomains_ex3/Makefile examples/systems_of_equations/systems_of_equations_ex1/Makefile examples/systems_of_equations/systems_of_equations_ex2/Makefile examples/systems_of_equations/systems_of_equations_ex3/Makefile examples/systems_of_equations/systems_of_equations_ex4/Makefile examples/systems_of_equations/systems_of_equations_ex5/Makefile examples/systems_of_equations/systems_of_equations_ex6/Makefile examples/systems_of_equations/systems_of_equations_ex7/Makefile examples/systems_of_equations/systems_of_equations_ex8/Makefile examples/systems_of_equations/systems_of_equations_ex9/Makefile examples/reduced_basis/reduced_basis_ex1/Makefile examples/reduced_basis/reduced_basis_ex2/Makefile examples/reduced_basis/reduced_basis_ex3/Makefile examples/reduced_basis/reduced_basis_ex4/Makefile examples/reduced_basis/reduced_basis_ex5/Makefile examples/reduced_basis/reduced_basis_ex6/Makefile examples/reduced_basis/reduced_basis_ex7/Makefile examples/transient/transient_ex1/Makefile examples/transient/transient_ex2/Makefile examples/vector_fe/vector_fe_ex1/Makefile examples/vector_fe/vector_fe_ex2/Makefile examples/vector_fe/vector_fe_ex3/Makefile examples/vector_fe/vector_fe_ex4/Makefile examples/vector_fe/vector_fe_ex5/Makefile examples/vector_fe/vector_fe_ex6/Makefile examples/vector_fe/vector_fe_ex7/Makefile examples/vector_fe/vector_fe_ex8/Makefile examples/vector_fe/vector_fe_ex9/Makefile examples/vector_fe/vector_fe_ex10/Makefile examples/Makefile" fi @@ -62518,6 +62518,7 @@ do "examples/vector_fe/vector_fe_ex7/Makefile") CONFIG_FILES="$CONFIG_FILES examples/vector_fe/vector_fe_ex7/Makefile" ;; "examples/vector_fe/vector_fe_ex8/Makefile") CONFIG_FILES="$CONFIG_FILES examples/vector_fe/vector_fe_ex8/Makefile" ;; "examples/vector_fe/vector_fe_ex9/Makefile") CONFIG_FILES="$CONFIG_FILES examples/vector_fe/vector_fe_ex9/Makefile" ;; + "examples/vector_fe/vector_fe_ex10/Makefile") CONFIG_FILES="$CONFIG_FILES examples/vector_fe/vector_fe_ex10/Makefile" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; diff --git a/configure.ac b/configure.ac index fb360f56a42..b4502213bf7 100644 --- a/configure.ac +++ b/configure.ac @@ -480,6 +480,7 @@ AS_IF([test "x$enableexamples" = "xyes"], examples/vector_fe/vector_fe_ex7/Makefile examples/vector_fe/vector_fe_ex8/Makefile examples/vector_fe/vector_fe_ex9/Makefile + examples/vector_fe/vector_fe_ex10/Makefile examples/Makefile]) ]) diff --git a/doc/html/examples/vector_fe_ex10.html b/doc/html/examples/vector_fe_ex10.html new file mode 100644 index 00000000000..47278228beb --- /dev/null +++ b/doc/html/examples/vector_fe_ex10.html @@ -0,0 +1,639 @@ + + + + + libMesh - A C++ Finite Element Library + + + + + + + + +
+ + + + +
+ +

Link to the source code for this example:

+Open vector_fe_ex10 in new tab. + +


The console output of the program:

+
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=TRI6 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={2}
+  supported_nodal_order()=2
+  spatial_dimension()=2
+  n_nodes()=961
+    n_local_nodes()=961
+  n_elem()=450
+    n_local_elem()=450
+    n_active_elem()=450
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="FIRST"
+    n_dofs()=705
+    n_local_dofs()=705
+    max(n_local_dofs())=705
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=705
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 4.82979
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 5
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.171261
+HDiv semi-norm error is: 0.872515
+HDiv error is: 0.889164
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=TRI6 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=TRI7 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={3}
+  supported_nodal_order()=3
+  spatial_dimension()=2
+  n_nodes()=1411
+    n_local_nodes()=1411
+  n_elem()=450
+    n_local_elem()=450
+    n_active_elem()=450
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="FIRST"
+    n_dofs()=705
+    n_local_dofs()=705
+    max(n_local_dofs())=705
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=705
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 4.82979
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 5
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.171261
+HDiv semi-norm error is: 0.872515
+HDiv error is: 0.889164
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=TRI7 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=QUAD8 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={2}
+  supported_nodal_order()=2
+  spatial_dimension()=2
+  n_nodes()=736
+    n_local_nodes()=736
+  n_elem()=225
+    n_local_elem()=225
+    n_active_elem()=225
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="FIRST"
+    n_dofs()=480
+    n_local_dofs()=480
+    max(n_local_dofs())=480
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=480
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 6.625
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 7
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.171869
+HDiv semi-norm error is: 1.06744
+HDiv error is: 1.08118
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=QUAD8 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=QUAD9 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={2}
+  supported_nodal_order()=2
+  spatial_dimension()=2
+  n_nodes()=961
+    n_local_nodes()=961
+  n_elem()=225
+    n_local_elem()=225
+    n_active_elem()=225
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="FIRST"
+    n_dofs()=480
+    n_local_dofs()=480
+    max(n_local_dofs())=480
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=480
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 6.625
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 7
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.171869
+HDiv semi-norm error is: 1.06744
+HDiv error is: 1.08118
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 element_type=QUAD9 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=TRI6 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={2}
+  supported_nodal_order()=2
+  spatial_dimension()=2
+  n_nodes()=961
+    n_local_nodes()=961
+  n_elem()=450
+    n_local_elem()=450
+    n_active_elem()=450
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="THIRD"
+    n_dofs()=4815
+    n_local_dofs()=4815
+    max(n_local_dofs())=4815
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=4815
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 19.8224
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 27
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.000476859
+HDiv semi-norm error is: 0.00418619
+HDiv error is: 0.00421326
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=TRI6 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=TRI7 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={3}
+  supported_nodal_order()=3
+  spatial_dimension()=2
+  n_nodes()=1411
+    n_local_nodes()=1411
+  n_elem()=450
+    n_local_elem()=450
+    n_active_elem()=450
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="THIRD"
+    n_dofs()=4815
+    n_local_dofs()=4815
+    max(n_local_dofs())=4815
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=4815
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 19.8224
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 27
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.000476859
+HDiv semi-norm error is: 0.00418619
+HDiv error is: 0.00421326
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=TRI7 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=QUAD8 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={2}
+  supported_nodal_order()=2
+  spatial_dimension()=2
+  n_nodes()=736
+    n_local_nodes()=736
+  n_elem()=225
+    n_local_elem()=225
+    n_active_elem()=225
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="THIRD"
+    n_dofs()=4140
+    n_local_dofs()=4140
+    max(n_local_dofs())=4140
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=4140
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 30.3913
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 45
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.000327013
+HDiv semi-norm error is: 0.00205269
+HDiv error is: 0.00207857
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=QUAD8 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=QUAD9 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={2}
+  elem_default_orders()={2}
+  supported_nodal_order()=2
+  spatial_dimension()=2
+  n_nodes()=961
+    n_local_nodes()=961
+  n_elem()=225
+    n_local_elem()=225
+    n_active_elem()=225
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="THIRD"
+    n_dofs()=4140
+    n_local_dofs()=4140
+    max(n_local_dofs())=4140
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=4140
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 30.3913
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 45
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.000327013
+HDiv semi-norm error is: 0.00205269
+HDiv error is: 0.00207857
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=2 order=3 element_type=QUAD9 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=3 element_type=TET14 grid_size=6 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={3}
+  elem_default_orders()={3}
+  supported_nodal_order()=3
+  spatial_dimension()=3
+  n_nodes()=19045
+    n_local_nodes()=19045
+  n_elem()=5184
+    n_local_elem()=5184
+    n_active_elem()=5184
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="FIRST"
+    n_dofs()=10800
+    n_local_dofs()=10800
+    max(n_local_dofs())=10800
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=10800
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 6.76
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 7
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.399985
+HDiv semi-norm error is: 1.63
+HDiv error is: 1.67836
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=3 element_type=TET14 grid_size=6 -pc_type lu
+***************************************************************
+***************************************************************
+* Running Example vector_fe_ex10:
+*   ./example-opt dim=3 element_type=HEX27 -pc_type lu
+***************************************************************
+
+ Mesh Information:
+  elem_dimensions()={3}
+  elem_default_orders()={2}
+  supported_nodal_order()=2
+  spatial_dimension()=3
+  n_nodes()=29791
+    n_local_nodes()=29791
+  n_elem()=3375
+    n_local_elem()=3375
+    n_active_elem()=3375
+  n_subdomains()=1
+  n_elemsets()=0
+  n_partitions()=1
+  n_processors()=1
+  n_threads()=1
+  processor_id()=0
+  is_prepared()=true
+  is_replicated()=true
+
+ EquationSystems
+  n_systems()=1
+   System #0, "GradDiv"
+    Type "LinearImplicit"
+    Variables="u"
+    Finite Element Types="RAVIART_THOMAS"
+    Approximation Orders="FIRST"
+    n_dofs()=10800
+    n_local_dofs()=10800
+    max(n_local_dofs())=10800
+    n_constrained_dofs()=0
+    n_local_constrained_dofs()=0
+    max(local unconstrained dofs)=10800
+    n_vectors()=1
+    n_matrices()=1
+    DofMap Sparsity
+      Average  On-Processor Bandwidth <= 10.375
+      Average Off-Processor Bandwidth <= 0
+      Maximum  On-Processor Bandwidth <= 11
+      Maximum Off-Processor Bandwidth <= 0
+    DofMap Constraints
+      Number of DoF Constraints = 0
+
+~~ Vector field (u) ~~
+L2 error is: 0.243059
+HDiv semi-norm error is: 1.50958
+HDiv error is: 1.52903
+
+***************************************************************
+* Done Running Example vector_fe_ex10:
+*   ./example-opt dim=3 element_type=HEX27 -pc_type lu
+***************************************************************
+
+
+ + + + + + + + + diff --git a/doc/html/src/examples.html b/doc/html/src/examples.html index 1074897cb5e..7bfbc32f950 100644 --- a/doc/html/src/examples.html +++ b/doc/html/src/examples.html @@ -158,7 +158,7 @@

A Series of Example Programs

  • Discontinuous Galerkin Vector Poisson Problem
  • -
  • Raviart-Thomas Elements for H(div) Problems in 2D and 3D
  • +
  • Raviart-Thomas Elements for H(div) Div-Grad Problems in 2D and 3D
  • Hybridized Raviart-Thomas Elements for Poisson
  • @@ -166,6 +166,8 @@

    A Series of Example Programs

  • Hybridized Local Discontinuous Galerkin Elements for Navier-Stokes
  • +
  • Raviart-Thomas Elements for H(div) Grad-Div Problems in 2D and 3D
  • + diff --git a/examples/Makefile.am b/examples/Makefile.am index 76e265aca15..ed0d6d78e42 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -74,7 +74,8 @@ SUBDIRS = \ vector_fe/vector_fe_ex6 \ vector_fe/vector_fe_ex7 \ vector_fe/vector_fe_ex8 \ - vector_fe/vector_fe_ex9 + vector_fe/vector_fe_ex9 \ + vector_fe/vector_fe_ex10 AUTOMAKE_OPTIONS = subdir-objects diff --git a/examples/Makefile.in b/examples/Makefile.in index 1821dd5a68b..409716393e8 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -662,7 +662,8 @@ SUBDIRS = \ vector_fe/vector_fe_ex6 \ vector_fe/vector_fe_ex7 \ vector_fe/vector_fe_ex8 \ - vector_fe/vector_fe_ex9 + vector_fe/vector_fe_ex9 \ + vector_fe/vector_fe_ex10 AUTOMAKE_OPTIONS = subdir-objects AM_CPPFLAGS = $(libmesh_CPPFLAGS) $(libmesh_optional_INCLUDES) \ diff --git a/examples/vector_fe/vector_fe_ex10/Makefile.am b/examples/vector_fe/vector_fe_ex10/Makefile.am new file mode 100644 index 00000000000..42dfcf4b244 --- /dev/null +++ b/examples/vector_fe/vector_fe_ex10/Makefile.am @@ -0,0 +1,21 @@ +example_name = vector_fe_ex10 +check_SCRIPTS = run.sh +install_dir = $(examples_install_path)/vector_fe/ex10 +data = grad_div_exact_solution.h solution_function.h vector_fe_ex10.C vector_fe_ex10.in run.sh +sources = $(data) + +CLEANFILES = out.e + +# also need to link files for VPATH builds +if LIBMESH_VPATH_BUILD + BUILT_SOURCES = .linkstamp +.linkstamp: + -rm -f vector_fe_ex10.in && $(LN_S) -f $(srcdir)/vector_fe_ex10.in . + $(AM_V_GEN)touch .linkstamp + + CLEANFILES += vector_fe_ex10.in .linkstamp +endif + +############################################## +# include common example environment +include $(top_srcdir)/examples/Make.common diff --git a/examples/vector_fe/vector_fe_ex10/Makefile.in b/examples/vector_fe/vector_fe_ex10/Makefile.in new file mode 100644 index 00000000000..2acc862f031 --- /dev/null +++ b/examples/vector_fe/vector_fe_ex10/Makefile.in @@ -0,0 +1,1322 @@ +# Makefile.in generated by automake 1.16.5 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2021 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +@LIBMESH_VPATH_BUILD_TRUE@am__append_1 = vector_fe_ex10.in .linkstamp +check_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ + $(am__EXEEXT_4) $(am__EXEEXT_5) +@LIBMESH_DBG_MODE_TRUE@am__append_2 = example-dbg +@LIBMESH_DEVEL_MODE_TRUE@am__append_3 = example-devel +@LIBMESH_OPT_MODE_TRUE@am__append_4 = example-opt +@LIBMESH_PROF_MODE_TRUE@am__append_5 = example-prof +@LIBMESH_OPROF_MODE_TRUE@am__append_6 = example-oprof +subdir = examples/vector_fe/vector_fe_ex10 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = \ + $(top_srcdir)/m4/autoconf-submodule/acsm_code_coverage.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_compiler_control_args.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_compiler_flags.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_cxx_compiler_standard.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_enable_paranoid.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_enable_werror.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_mpi.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_precision.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_scrape_petsc_configure.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_summarize_env.m4 \ + $(top_srcdir)/m4/autoconf-submodule/acsm_test_sanitize_flags.m4 \ + $(top_srcdir)/m4/autoconf-submodule/ax_cxx_compile_stdcxx.m4 \ + $(top_srcdir)/m4/autoconf-submodule/ax_prefix_config_h.m4 \ + $(top_srcdir)/m4/autoconf-submodule/ax_split_version.m4 \ + $(top_srcdir)/m4/autoconf-submodule/ax_subdirs_configure.m4 \ + $(top_srcdir)/m4/ac_cxx_rtti.m4 \ + $(top_srcdir)/m4/acsm_cxx_tests.m4 \ + $(top_srcdir)/m4/all_static.m4 \ + $(top_srcdir)/m4/ax_boost_base.m4 \ + $(top_srcdir)/m4/ax_check_compile_flag.m4 \ + $(top_srcdir)/m4/ax_compiler_vendor.m4 \ + $(top_srcdir)/m4/ax_gcc_archflag.m4 \ + $(top_srcdir)/m4/ax_gcc_x86_cpuid.m4 \ + $(top_srcdir)/m4/ax_openmp.m4 $(top_srcdir)/m4/ax_pthread.m4 \ + $(top_srcdir)/m4/ax_tls.m4 $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/boost.m4 $(top_srcdir)/m4/capnproto.m4 \ + $(top_srcdir)/m4/compiler.m4 \ + $(top_srcdir)/m4/config_summary.m4 $(top_srcdir)/m4/cppunit.m4 \ + $(top_srcdir)/m4/curl.m4 $(top_srcdir)/m4/cxx17.m4 \ + $(top_srcdir)/m4/demangle.m4 $(top_srcdir)/m4/dlopen.m4 \ + $(top_srcdir)/m4/eigen.m4 $(top_srcdir)/m4/errno_test.m4 \ + $(top_srcdir)/m4/exodus.m4 $(top_srcdir)/m4/feexcept.m4 \ + $(top_srcdir)/m4/fparser.m4 $(top_srcdir)/m4/glpk.m4 \ + $(top_srcdir)/m4/gmv.m4 $(top_srcdir)/m4/gz.m4 \ + $(top_srcdir)/m4/hdf5.m4 $(top_srcdir)/m4/laspack.m4 \ + $(top_srcdir)/m4/libhilbert.m4 \ + $(top_srcdir)/m4/libmesh_compiler_features.m4 \ + $(top_srcdir)/m4/libmesh_core_features.m4 \ + $(top_srcdir)/m4/libmesh_metaphysicl.m4 \ + $(top_srcdir)/m4/libmesh_method.m4 \ + $(top_srcdir)/m4/libmesh_optional_packages.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/libxml2.m4 \ + $(top_srcdir)/m4/locale.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/metis.m4 \ + $(top_srcdir)/m4/namespaces.m4 $(top_srcdir)/m4/nanoflann.m4 \ + $(top_srcdir)/m4/nemesis.m4 $(top_srcdir)/m4/netcdf.m4 \ + $(top_srcdir)/m4/netgen.m4 $(top_srcdir)/m4/nlopt.m4 \ + $(top_srcdir)/m4/parmetis.m4 $(top_srcdir)/m4/petsc.m4 \ + $(top_srcdir)/m4/poly2tri.m4 $(top_srcdir)/m4/qhull.m4 \ + $(top_srcdir)/m4/sfc.m4 $(top_srcdir)/m4/slepc.m4 \ + $(top_srcdir)/m4/sstream.m4 $(top_srcdir)/m4/strstream.m4 \ + $(top_srcdir)/m4/tbb.m4 $(top_srcdir)/m4/tecio.m4 \ + $(top_srcdir)/m4/tecplot.m4 $(top_srcdir)/m4/tetgen.m4 \ + $(top_srcdir)/m4/threads.m4 $(top_srcdir)/m4/triangle.m4 \ + $(top_srcdir)/m4/trilinos.m4 $(top_srcdir)/m4/unordered.m4 \ + $(top_srcdir)/m4/vtk.m4 $(top_srcdir)/m4/xdr.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/include/libmesh_config.h.tmp +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +@LIBMESH_DBG_MODE_TRUE@am__EXEEXT_1 = example-dbg$(EXEEXT) +@LIBMESH_DEVEL_MODE_TRUE@am__EXEEXT_2 = example-devel$(EXEEXT) +@LIBMESH_OPT_MODE_TRUE@am__EXEEXT_3 = example-opt$(EXEEXT) +@LIBMESH_PROF_MODE_TRUE@am__EXEEXT_4 = example-prof$(EXEEXT) +@LIBMESH_OPROF_MODE_TRUE@am__EXEEXT_5 = example-oprof$(EXEEXT) +am__example_dbg_SOURCES_DIST = grad_div_exact_solution.h \ + solution_function.h vector_fe_ex10.C vector_fe_ex10.in run.sh +am__objects_1 = example_dbg-vector_fe_ex10.$(OBJEXT) +am__objects_2 = $(am__objects_1) +@LIBMESH_DBG_MODE_TRUE@am_example_dbg_OBJECTS = $(am__objects_2) +example_dbg_OBJECTS = $(am_example_dbg_OBJECTS) +@LIBMESH_DBG_MODE_TRUE@example_dbg_DEPENDENCIES = \ +@LIBMESH_DBG_MODE_TRUE@ $(top_builddir)/libmesh_dbg.la +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +example_dbg_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(example_dbg_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__example_devel_SOURCES_DIST = grad_div_exact_solution.h \ + solution_function.h vector_fe_ex10.C vector_fe_ex10.in run.sh +am__objects_3 = example_devel-vector_fe_ex10.$(OBJEXT) +am__objects_4 = $(am__objects_3) +@LIBMESH_DEVEL_MODE_TRUE@am_example_devel_OBJECTS = $(am__objects_4) +example_devel_OBJECTS = $(am_example_devel_OBJECTS) +@LIBMESH_DEVEL_MODE_TRUE@example_devel_DEPENDENCIES = \ +@LIBMESH_DEVEL_MODE_TRUE@ $(top_builddir)/libmesh_devel.la +example_devel_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ + $(example_devel_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__example_oprof_SOURCES_DIST = grad_div_exact_solution.h \ + solution_function.h vector_fe_ex10.C vector_fe_ex10.in run.sh +am__objects_5 = example_oprof-vector_fe_ex10.$(OBJEXT) +am__objects_6 = $(am__objects_5) +@LIBMESH_OPROF_MODE_TRUE@am_example_oprof_OBJECTS = $(am__objects_6) +example_oprof_OBJECTS = $(am_example_oprof_OBJECTS) +@LIBMESH_OPROF_MODE_TRUE@example_oprof_DEPENDENCIES = \ +@LIBMESH_OPROF_MODE_TRUE@ $(top_builddir)/libmesh_oprof.la +example_oprof_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ + $(example_oprof_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ + -o $@ +am__example_opt_SOURCES_DIST = grad_div_exact_solution.h \ + solution_function.h vector_fe_ex10.C vector_fe_ex10.in run.sh +am__objects_7 = example_opt-vector_fe_ex10.$(OBJEXT) +am__objects_8 = $(am__objects_7) +@LIBMESH_OPT_MODE_TRUE@am_example_opt_OBJECTS = $(am__objects_8) +example_opt_OBJECTS = $(am_example_opt_OBJECTS) +@LIBMESH_OPT_MODE_TRUE@example_opt_DEPENDENCIES = \ +@LIBMESH_OPT_MODE_TRUE@ $(top_builddir)/libmesh_opt.la +example_opt_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(example_opt_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am__example_prof_SOURCES_DIST = grad_div_exact_solution.h \ + solution_function.h vector_fe_ex10.C vector_fe_ex10.in run.sh +am__objects_9 = example_prof-vector_fe_ex10.$(OBJEXT) +am__objects_10 = $(am__objects_9) +@LIBMESH_PROF_MODE_TRUE@am_example_prof_OBJECTS = $(am__objects_10) +example_prof_OBJECTS = $(am_example_prof_OBJECTS) +@LIBMESH_PROF_MODE_TRUE@example_prof_DEPENDENCIES = \ +@LIBMESH_PROF_MODE_TRUE@ $(top_builddir)/libmesh_prof.la +example_prof_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(example_prof_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include +depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp +am__maybe_remake_depfiles = depfiles +am__depfiles_remade = ./$(DEPDIR)/example_dbg-vector_fe_ex10.Po \ + ./$(DEPDIR)/example_devel-vector_fe_ex10.Po \ + ./$(DEPDIR)/example_oprof-vector_fe_ex10.Po \ + ./$(DEPDIR)/example_opt-vector_fe_ex10.Po \ + ./$(DEPDIR)/example_prof-vector_fe_ex10.Po +am__mv = mv -f +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) +AM_V_CXX = $(am__v_CXX_@AM_V@) +am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) +am__v_CXX_0 = @echo " CXX " $@; +am__v_CXX_1 = +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ + $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) +am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) +am__v_CXXLD_0 = @echo " CXXLD " $@; +am__v_CXXLD_1 = +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(example_dbg_SOURCES) $(example_devel_SOURCES) \ + $(example_oprof_SOURCES) $(example_opt_SOURCES) \ + $(example_prof_SOURCES) +DIST_SOURCES = $(am__example_dbg_SOURCES_DIST) \ + $(am__example_devel_SOURCES_DIST) \ + $(am__example_oprof_SOURCES_DIST) \ + $(am__example_opt_SOURCES_DIST) \ + $(am__example_prof_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(datadir)" +DATA = $(data_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +am__tty_colors_dummy = \ + mgn= red= grn= lgn= blu= brg= std=; \ + am__color_tests=no +am__tty_colors = { \ + $(am__tty_colors_dummy); \ + if test "X$(AM_COLOR_TESTS)" = Xno; then \ + am__color_tests=no; \ + elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ + am__color_tests=yes; \ + elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ + am__color_tests=yes; \ + fi; \ + if test $$am__color_tests = yes; then \ + red=''; \ + grn=''; \ + lgn=''; \ + blu=''; \ + mgn=''; \ + brg=''; \ + std=''; \ + fi; \ +} +am__DIST_COMMON = $(srcdir)/Makefile.in \ + $(top_srcdir)/build-aux/depcomp \ + $(top_srcdir)/examples/Make.common +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ACSM_ANY_PARANOID_FLAGS = @ACSM_ANY_PARANOID_FLAGS@ +ACSM_ANY_WERROR_FLAG = @ACSM_ANY_WERROR_FLAG@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +AZTECOO_INCLUDES = @AZTECOO_INCLUDES@ +AZTECOO_LIBS = @AZTECOO_LIBS@ +AZTECOO_MAKEFILE_EXPORT = @AZTECOO_MAKEFILE_EXPORT@ +BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ +BOOST_LDFLAGS = @BOOST_LDFLAGS@ +BUILD_ARCH = @BUILD_ARCH@ +BUILD_DEVSTATUS = @BUILD_DEVSTATUS@ +BUILD_HOST = @BUILD_HOST@ +BUILD_USER = @BUILD_USER@ +BUILD_VERSION = @BUILD_VERSION@ +BUNZIP2 = @BUNZIP2@ +BZIP2 = @BZIP2@ +CAPNPROTO_INCLUDE = @CAPNPROTO_INCLUDE@ +CAPNPROTO_LIBRARY = @CAPNPROTO_LIBRARY@ +CAPNP_BINARY = @CAPNP_BINARY@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CFLAGS_DBG = @CFLAGS_DBG@ +CFLAGS_DEVEL = @CFLAGS_DEVEL@ +CFLAGS_DVL = @CFLAGS_DVL@ +CFLAGS_OPROF = @CFLAGS_OPROF@ +CFLAGS_OPT = @CFLAGS_OPT@ +CFLAGS_PROF = @CFLAGS_PROF@ +CPPFLAGS = @CPPFLAGS@ +CPPFLAGS_DBG = @CPPFLAGS_DBG@ +CPPFLAGS_DEVEL = @CPPFLAGS_DEVEL@ +CPPFLAGS_OPROF = @CPPFLAGS_OPROF@ +CPPFLAGS_OPT = @CPPFLAGS_OPT@ +CPPFLAGS_PROF = @CPPFLAGS_PROF@ +CPPUNIT_CFLAGS = @CPPUNIT_CFLAGS@ +CPPUNIT_CONFIG = @CPPUNIT_CONFIG@ +CPPUNIT_LIBS = @CPPUNIT_LIBS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ +CURL_INCLUDE = @CURL_INCLUDE@ +CURL_LIBRARY = @CURL_LIBRARY@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ + +# We might have turned on -Werror and/or paranoid warnings +CXXFLAGS_DBG = @CXXFLAGS_DBG@ $(ACSM_ANY_WERROR_FLAG) \ + $(ACSM_ANY_PARANOID_FLAGS) +CXXFLAGS_DEVEL = @CXXFLAGS_DEVEL@ $(ACSM_ANY_WERROR_FLAG) \ + $(ACSM_ANY_PARANOID_FLAGS) +CXXFLAGS_DVL = @CXXFLAGS_DVL@ +CXXFLAGS_OPROF = @CXXFLAGS_OPROF@ $(ACSM_ANY_WERROR_FLAG) \ + $(ACSM_ANY_PARANOID_FLAGS) +CXXFLAGS_OPT = @CXXFLAGS_OPT@ $(ACSM_ANY_WERROR_FLAG) \ + $(ACSM_ANY_PARANOID_FLAGS) +CXXFLAGS_PROF = @CXXFLAGS_PROF@ $(ACSM_ANY_WERROR_FLAG) \ + $(ACSM_ANY_PARANOID_FLAGS) +CXXSHAREDFLAG = @CXXSHAREDFLAG@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOT = @DOT@ +DOTPATH = @DOTPATH@ +DOXYGEN = @DOXYGEN@ +DSYMUTIL = @DSYMUTIL@ +DTK_MAKEFILE_EXPORT = @DTK_MAKEFILE_EXPORT@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EIGEN_INCLUDE = @EIGEN_INCLUDE@ +ETAGS = @ETAGS@ +EXEEXT = @EXEEXT@ +EXODUS_INCLUDE = @EXODUS_INCLUDE@ +EXODUS_NOT_NETCDF4_FLAG = @EXODUS_NOT_NETCDF4_FLAG@ +F77 = @F77@ +FC = @FC@ +FCFLAGS = @FCFLAGS@ +FFLAGS = @FFLAGS@ +FGREP = @FGREP@ +FILECMD = @FILECMD@ +FLIBS = @FLIBS@ +FPARSER_INCLUDE = @FPARSER_INCLUDE@ +FPARSER_LIBRARY = @FPARSER_LIBRARY@ +GCOV_FLAGS = @GCOV_FLAGS@ +GCOV_LDFLAGS = @GCOV_LDFLAGS@ +GIT_REVISION = @GIT_REVISION@ +GLPK_INCLUDE = @GLPK_INCLUDE@ +GLPK_LIBRARY = @GLPK_LIBRARY@ +GMV_INCLUDE = @GMV_INCLUDE@ +GMV_LIBRARY = @GMV_LIBRARY@ +GREP = @GREP@ +GXX_VERSION = @GXX_VERSION@ +GZSTREAM_INCLUDE = @GZSTREAM_INCLUDE@ +GZSTREAM_LIB = @GZSTREAM_LIB@ +HAVE_CXX11 = @HAVE_CXX11@ +HAVE_CXX14 = @HAVE_CXX14@ +HAVE_CXX17 = @HAVE_CXX17@ +HAVE_DOT = @HAVE_DOT@ +HAVE_GCOV_TOOLS = @HAVE_GCOV_TOOLS@ +HDF5_CFLAGS = @HDF5_CFLAGS@ +HDF5_CPPFLAGS = @HDF5_CPPFLAGS@ +HDF5_DIR = @HDF5_DIR@ +HDF5_LIBS = @HDF5_LIBS@ +HDF5_PREFIX = @HDF5_PREFIX@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LASPACK_INCLUDE = @LASPACK_INCLUDE@ +LASPACK_LIB = @LASPACK_LIB@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBHILBERT_INCLUDE = @LIBHILBERT_INCLUDE@ +LIBHILBERT_LIBRARY = @LIBHILBERT_LIBRARY@ +LIBMESH_LIBRARY_SUFFIX = @LIBMESH_LIBRARY_SUFFIX@ +LIBOBJS = @LIBOBJS@ +LIBS = $(libmesh_optional_LIBS) +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOCAL_CC = @LOCAL_CC@ +LOCAL_CXX = @LOCAL_CXX@ +LTLIBOBJS = @LTLIBOBJS@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +METAPHYSICL_INCLUDE = @METAPHYSICL_INCLUDE@ +METHOD = @METHOD@ +METHODS = @METHODS@ +METIS_INCLUDE = @METIS_INCLUDE@ +METIS_LIB = @METIS_LIB@ +MKDIR_P = @MKDIR_P@ +ML_INCLUDES = @ML_INCLUDES@ +ML_LIBS = @ML_LIBS@ +ML_MAKEFILE_EXPORT = @ML_MAKEFILE_EXPORT@ +MPCXX = @MPCXX@ +MPI_IMPL = @MPI_IMPL@ +MPI_INCLUDES = @MPI_INCLUDES@ +MPI_LDFLAGS = @MPI_LDFLAGS@ +MPI_LIBS = @MPI_LIBS@ +NANOFLANN_INCLUDE = @NANOFLANN_INCLUDE@ +NEMESIS_INCLUDE = @NEMESIS_INCLUDE@ +NETCDF_INCLUDE = @NETCDF_INCLUDE@ +NETGEN_BUILD_LDFLAGS = @NETGEN_BUILD_LDFLAGS@ +NETGEN_INCLUDE = @NETGEN_INCLUDE@ +NETGEN_LIBS = @NETGEN_LIBS@ +NLOPT_INCLUDE = @NLOPT_INCLUDE@ +NLOPT_LIBRARY = @NLOPT_LIBRARY@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NODEPRECATEDFLAG = @NODEPRECATEDFLAG@ +NOX_INCLUDES = @NOX_INCLUDES@ +NOX_LIBS = @NOX_LIBS@ +NOX_MAKEFILE_EXPORT = @NOX_MAKEFILE_EXPORT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OPENMP_CFLAGS = @OPENMP_CFLAGS@ +OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@ +OPENMP_FFLAGS = @OPENMP_FFLAGS@ +OPROFILE_FLAGS = @OPROFILE_FLAGS@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PARMETIS_INCLUDE = @PARMETIS_INCLUDE@ +PARMETIS_LIB = @PARMETIS_LIB@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PERL = @PERL@ +PETSCARCH = @PETSCARCH@ +PETSCINCLUDEDIRS = @PETSCINCLUDEDIRS@ +PETSCLINKLIBS = @PETSCLINKLIBS@ +PETSC_ARCH = @PETSC_ARCH@ +PETSC_CC_INCLUDES = @PETSC_CC_INCLUDES@ +PETSC_DIR = @PETSC_DIR@ +PETSC_FC_INCLUDES = @PETSC_FC_INCLUDES@ +PKG_CONFIG = @PKG_CONFIG@ +PROFILING_FLAGS = @PROFILING_FLAGS@ +PRTDIAG = @PRTDIAG@ +PTHREAD_CC = @PTHREAD_CC@ +PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ +PTHREAD_LIBS = @PTHREAD_LIBS@ +PWD = @PWD@ +QHULL_LIBS = @QHULL_LIBS@ +RANLIB = @RANLIB@ +RPATHFLAG = @RPATHFLAG@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SFC_INCLUDE = @SFC_INCLUDE@ +SFC_LIB = @SFC_LIB@ +SHELL = @SHELL@ +SLEPC_DIR = @SLEPC_DIR@ +SLEPC_INCLUDE = @SLEPC_INCLUDE@ +SLEPC_LIBS = @SLEPC_LIBS@ +STRIP = @STRIP@ +TBB_INCLUDE = @TBB_INCLUDE@ +TBB_LIBRARY = @TBB_LIBRARY@ +TECIO_CPPFLAGS = @TECIO_CPPFLAGS@ +TECIO_INCLUDE = @TECIO_INCLUDE@ +TETGEN_INCLUDE = @TETGEN_INCLUDE@ +TETGEN_LIBRARY = @TETGEN_LIBRARY@ +TPETRA_INCLUDES = @TPETRA_INCLUDES@ +TPETRA_LIBS = @TPETRA_LIBS@ +TPETRA_MAKEFILE_EXPORT = @TPETRA_MAKEFILE_EXPORT@ +TRIANGLE_INCLUDE = @TRIANGLE_INCLUDE@ +TRIANGLE_LIBRARY = @TRIANGLE_LIBRARY@ +TRILINOS_DIR = @TRILINOS_DIR@ +TRILINOS_INCLUDES = @TRILINOS_INCLUDES@ +TRILINOS_LIBS = @TRILINOS_LIBS@ +TRILINOS_MAKEFILE_EXPORT = @TRILINOS_MAKEFILE_EXPORT@ +VERSION = @VERSION@ +VTK_DIR = @VTK_DIR@ +VTK_INCLUDE = @VTK_INCLUDE@ +VTK_LIBRARY = @VTK_LIBRARY@ +XML2_CONFIG = @XML2_CONFIG@ +XML_CPPFLAGS = @XML_CPPFLAGS@ +XML_LIBS = @XML_LIBS@ +XZ = @XZ@ +YACC = @YACC@ +YFLAGS = @YFLAGS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_F77 = @ac_ct_F77@ +ac_ct_FC = @ac_ct_FC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +ax_pthread_config = @ax_pthread_config@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = $(install_dir) +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enabledeprecated = @enabledeprecated@ +enablefwdenums = @enablefwdenums@ +enablelegacyincludepaths = @enablelegacyincludepaths@ +enablepetsc = @enablepetsc@ +enableuniqueptr = @enableuniqueptr@ +enablewarnings = @enablewarnings@ +exec_prefix = @exec_prefix@ +gitquery = @gitquery@ +have_gcov = @have_gcov@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +libmesh_CFLAGS = @libmesh_CFLAGS@ +libmesh_CPPFLAGS = @libmesh_CPPFLAGS@ +libmesh_CXXFLAGS = @libmesh_CXXFLAGS@ +libmesh_LDFLAGS = @libmesh_LDFLAGS@ +libmesh_contrib_INCLUDES = @libmesh_contrib_INCLUDES@ +libmesh_contrib_LDFLAGS = @libmesh_contrib_LDFLAGS@ +libmesh_installed_LIBS = @libmesh_installed_LIBS@ +libmesh_optional_INCLUDES = @libmesh_optional_INCLUDES@ +libmesh_optional_LIBS = @libmesh_optional_LIBS@ +libmesh_pkgconfig_requires = @libmesh_pkgconfig_requires@ +libmesh_precision_LIBS = @libmesh_precision_LIBS@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +petscmajor = @petscmajor@ +petscmajorminor = @petscmajorminor@ +petscminor = @petscminor@ +petscversion = @petscversion@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +runstatedir = @runstatedir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs_extra = @subdirs_extra@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +vtkbuild = @vtkbuild@ +vtkmajor = @vtkmajor@ +vtkversion = @vtkversion@ +example_name = vector_fe_ex10 +check_SCRIPTS = run.sh +install_dir = $(examples_install_path)/vector_fe/ex10 +data = grad_div_exact_solution.h solution_function.h vector_fe_ex10.C vector_fe_ex10.in run.sh +sources = $(data) + +###################################################################### +# +# how to make documentation +# +CLEANFILES = out.e $(am__append_1) $(example_name).html stdout.log + +# also need to link files for VPATH builds +@LIBMESH_VPATH_BUILD_TRUE@BUILT_SOURCES = .linkstamp + +###################################################################### +# +# Common environment for all examples +# +# This file is included by *every* example. If we are careful, common +# rules like 'make doc' or 'make run' can be defined here, once and +# for all. +# +AUTOMAKE_OPTIONS = subdir-objects +AM_CPPFLAGS = $(libmesh_optional_INCLUDES) -I$(top_builddir)/include $(libmesh_contrib_INCLUDES) +AM_CFLAGS = $(libmesh_CFLAGS) +AM_CXXFLAGS = $(libmesh_CXXFLAGS) +AM_LDFLAGS = $(libmesh_LDFLAGS) $(libmesh_contrib_LDFLAGS) +examples_source_path = $(top_srcdir)/examples +examples_install_path = $(prefix)/examples +data_DATA = $(data) $(top_builddir)/contrib/utils/Makefile +@LIBMESH_DBG_MODE_TRUE@example_dbg_SOURCES = $(sources) +@LIBMESH_DBG_MODE_TRUE@example_dbg_CPPFLAGS = $(CPPFLAGS_DBG) $(AM_CPPFLAGS) +@LIBMESH_DBG_MODE_TRUE@example_dbg_CXXFLAGS = $(CXXFLAGS_DBG) +@LIBMESH_DBG_MODE_TRUE@example_dbg_LDADD = $(top_builddir)/libmesh_dbg.la +@LIBMESH_DEVEL_MODE_TRUE@example_devel_SOURCES = $(sources) +@LIBMESH_DEVEL_MODE_TRUE@example_devel_CPPFLAGS = $(CPPFLAGS_DEVEL) $(AM_CPPFLAGS) +@LIBMESH_DEVEL_MODE_TRUE@example_devel_CXXFLAGS = $(CXXFLAGS_DEVEL) +@LIBMESH_DEVEL_MODE_TRUE@example_devel_LDADD = $(top_builddir)/libmesh_devel.la +@LIBMESH_OPT_MODE_TRUE@example_opt_SOURCES = $(sources) +@LIBMESH_OPT_MODE_TRUE@example_opt_CPPFLAGS = $(CPPFLAGS_OPT) $(AM_CPPFLAGS) +@LIBMESH_OPT_MODE_TRUE@example_opt_CXXFLAGS = $(CXXFLAGS_OPT) +@LIBMESH_OPT_MODE_TRUE@example_opt_LDADD = $(top_builddir)/libmesh_opt.la +@LIBMESH_PROF_MODE_TRUE@example_prof_SOURCES = $(sources) +@LIBMESH_PROF_MODE_TRUE@example_prof_CPPFLAGS = $(CPPFLAGS_PROF) $(AM_CPPFLAGS) +@LIBMESH_PROF_MODE_TRUE@example_prof_CXXFLAGS = $(CXXFLAGS_PROF) +@LIBMESH_PROF_MODE_TRUE@example_prof_LDADD = $(top_builddir)/libmesh_prof.la +@LIBMESH_OPROF_MODE_TRUE@example_oprof_SOURCES = $(sources) +@LIBMESH_OPROF_MODE_TRUE@example_oprof_CPPFLAGS = $(CPPFLAGS_OPROF) $(AM_CPPFLAGS) +@LIBMESH_OPROF_MODE_TRUE@example_oprof_CXXFLAGS = $(CXXFLAGS_OPROF) +@LIBMESH_OPROF_MODE_TRUE@example_oprof_LDADD = $(top_builddir)/libmesh_oprof.la +@LIBMESH_DBG_MODE_TRUE@@LIBMESH_DEVEL_MODE_FALSE@@LIBMESH_OPROF_MODE_FALSE@@LIBMESH_OPT_MODE_FALSE@@LIBMESH_PROF_MODE_FALSE@DOC_PROGRAM = example-dbg +@LIBMESH_DEVEL_MODE_TRUE@@LIBMESH_OPROF_MODE_FALSE@@LIBMESH_OPT_MODE_FALSE@@LIBMESH_PROF_MODE_FALSE@DOC_PROGRAM = example-devel +@LIBMESH_OPROF_MODE_FALSE@@LIBMESH_OPT_MODE_FALSE@@LIBMESH_PROF_MODE_TRUE@DOC_PROGRAM = example-prof +@LIBMESH_OPROF_MODE_TRUE@@LIBMESH_OPT_MODE_FALSE@DOC_PROGRAM = example-oprof + +###################################################################### +# +# Choose a flavor to run when making documentation +# +@LIBMESH_OPT_MODE_TRUE@DOC_PROGRAM = example-opt +@LIBMESH_DBG_MODE_TRUE@@LIBMESH_DEVEL_MODE_FALSE@@LIBMESH_OPROF_MODE_FALSE@@LIBMESH_OPT_MODE_FALSE@@LIBMESH_PROF_MODE_FALSE@DOC_METHOD = dbg +@LIBMESH_DEVEL_MODE_TRUE@@LIBMESH_OPROF_MODE_FALSE@@LIBMESH_OPT_MODE_FALSE@@LIBMESH_PROF_MODE_FALSE@DOC_METHOD = devel +@LIBMESH_OPROF_MODE_FALSE@@LIBMESH_OPT_MODE_FALSE@@LIBMESH_PROF_MODE_TRUE@DOC_METHOD = prof +@LIBMESH_OPROF_MODE_TRUE@@LIBMESH_OPT_MODE_FALSE@DOC_METHOD = oprof +@LIBMESH_OPT_MODE_TRUE@DOC_METHOD = opt + +###################################################################### +# +# Running the tests +# +TESTS_ENVIRONMENT = LIBMESH_DIR=$(abs_top_srcdir); export LIBMESH_DIR; \ + METHODS="$(METHODS)"; export METHODS; petscmajor=@petscmajor@ \ + petscminor=@petscminor@ +TESTS = $(check_SCRIPTS) +all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .C .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/examples/Make.common $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/vector_fe/vector_fe_ex10/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu examples/vector_fe/vector_fe_ex10/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; +$(top_srcdir)/examples/Make.common $(am__empty): + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-checkPROGRAMS: + @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list + +example-dbg$(EXEEXT): $(example_dbg_OBJECTS) $(example_dbg_DEPENDENCIES) $(EXTRA_example_dbg_DEPENDENCIES) + @rm -f example-dbg$(EXEEXT) + $(AM_V_CXXLD)$(example_dbg_LINK) $(example_dbg_OBJECTS) $(example_dbg_LDADD) $(LIBS) + +example-devel$(EXEEXT): $(example_devel_OBJECTS) $(example_devel_DEPENDENCIES) $(EXTRA_example_devel_DEPENDENCIES) + @rm -f example-devel$(EXEEXT) + $(AM_V_CXXLD)$(example_devel_LINK) $(example_devel_OBJECTS) $(example_devel_LDADD) $(LIBS) + +example-oprof$(EXEEXT): $(example_oprof_OBJECTS) $(example_oprof_DEPENDENCIES) $(EXTRA_example_oprof_DEPENDENCIES) + @rm -f example-oprof$(EXEEXT) + $(AM_V_CXXLD)$(example_oprof_LINK) $(example_oprof_OBJECTS) $(example_oprof_LDADD) $(LIBS) + +example-opt$(EXEEXT): $(example_opt_OBJECTS) $(example_opt_DEPENDENCIES) $(EXTRA_example_opt_DEPENDENCIES) + @rm -f example-opt$(EXEEXT) + $(AM_V_CXXLD)$(example_opt_LINK) $(example_opt_OBJECTS) $(example_opt_LDADD) $(LIBS) + +example-prof$(EXEEXT): $(example_prof_OBJECTS) $(example_prof_DEPENDENCIES) $(EXTRA_example_prof_DEPENDENCIES) + @rm -f example-prof$(EXEEXT) + $(AM_V_CXXLD)$(example_prof_LINK) $(example_prof_OBJECTS) $(example_prof_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/example_dbg-vector_fe_ex10.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/example_devel-vector_fe_ex10.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/example_oprof-vector_fe_ex10.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/example_opt-vector_fe_ex10.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/example_prof-vector_fe_ex10.Po@am__quote@ # am--include-marker + +$(am__depfiles_remade): + @$(MKDIR_P) $(@D) + @echo '# dummy' >$@-t && $(am__mv) $@-t $@ + +am--depfiles: $(am__depfiles_remade) + +.C.o: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< + +.C.obj: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.C.lo: +@am__fastdepCXX_TRUE@ $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCXX_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $< + +example_dbg-vector_fe_ex10.o: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_dbg_CPPFLAGS) $(CPPFLAGS) $(example_dbg_CXXFLAGS) $(CXXFLAGS) -MT example_dbg-vector_fe_ex10.o -MD -MP -MF $(DEPDIR)/example_dbg-vector_fe_ex10.Tpo -c -o example_dbg-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_dbg-vector_fe_ex10.Tpo $(DEPDIR)/example_dbg-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_dbg-vector_fe_ex10.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_dbg_CPPFLAGS) $(CPPFLAGS) $(example_dbg_CXXFLAGS) $(CXXFLAGS) -c -o example_dbg-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C + +example_dbg-vector_fe_ex10.obj: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_dbg_CPPFLAGS) $(CPPFLAGS) $(example_dbg_CXXFLAGS) $(CXXFLAGS) -MT example_dbg-vector_fe_ex10.obj -MD -MP -MF $(DEPDIR)/example_dbg-vector_fe_ex10.Tpo -c -o example_dbg-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_dbg-vector_fe_ex10.Tpo $(DEPDIR)/example_dbg-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_dbg-vector_fe_ex10.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_dbg_CPPFLAGS) $(CPPFLAGS) $(example_dbg_CXXFLAGS) $(CXXFLAGS) -c -o example_dbg-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` + +example_devel-vector_fe_ex10.o: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_devel_CPPFLAGS) $(CPPFLAGS) $(example_devel_CXXFLAGS) $(CXXFLAGS) -MT example_devel-vector_fe_ex10.o -MD -MP -MF $(DEPDIR)/example_devel-vector_fe_ex10.Tpo -c -o example_devel-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_devel-vector_fe_ex10.Tpo $(DEPDIR)/example_devel-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_devel-vector_fe_ex10.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_devel_CPPFLAGS) $(CPPFLAGS) $(example_devel_CXXFLAGS) $(CXXFLAGS) -c -o example_devel-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C + +example_devel-vector_fe_ex10.obj: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_devel_CPPFLAGS) $(CPPFLAGS) $(example_devel_CXXFLAGS) $(CXXFLAGS) -MT example_devel-vector_fe_ex10.obj -MD -MP -MF $(DEPDIR)/example_devel-vector_fe_ex10.Tpo -c -o example_devel-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_devel-vector_fe_ex10.Tpo $(DEPDIR)/example_devel-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_devel-vector_fe_ex10.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_devel_CPPFLAGS) $(CPPFLAGS) $(example_devel_CXXFLAGS) $(CXXFLAGS) -c -o example_devel-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` + +example_oprof-vector_fe_ex10.o: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_oprof_CPPFLAGS) $(CPPFLAGS) $(example_oprof_CXXFLAGS) $(CXXFLAGS) -MT example_oprof-vector_fe_ex10.o -MD -MP -MF $(DEPDIR)/example_oprof-vector_fe_ex10.Tpo -c -o example_oprof-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_oprof-vector_fe_ex10.Tpo $(DEPDIR)/example_oprof-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_oprof-vector_fe_ex10.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_oprof_CPPFLAGS) $(CPPFLAGS) $(example_oprof_CXXFLAGS) $(CXXFLAGS) -c -o example_oprof-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C + +example_oprof-vector_fe_ex10.obj: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_oprof_CPPFLAGS) $(CPPFLAGS) $(example_oprof_CXXFLAGS) $(CXXFLAGS) -MT example_oprof-vector_fe_ex10.obj -MD -MP -MF $(DEPDIR)/example_oprof-vector_fe_ex10.Tpo -c -o example_oprof-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_oprof-vector_fe_ex10.Tpo $(DEPDIR)/example_oprof-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_oprof-vector_fe_ex10.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_oprof_CPPFLAGS) $(CPPFLAGS) $(example_oprof_CXXFLAGS) $(CXXFLAGS) -c -o example_oprof-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` + +example_opt-vector_fe_ex10.o: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_opt_CPPFLAGS) $(CPPFLAGS) $(example_opt_CXXFLAGS) $(CXXFLAGS) -MT example_opt-vector_fe_ex10.o -MD -MP -MF $(DEPDIR)/example_opt-vector_fe_ex10.Tpo -c -o example_opt-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_opt-vector_fe_ex10.Tpo $(DEPDIR)/example_opt-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_opt-vector_fe_ex10.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_opt_CPPFLAGS) $(CPPFLAGS) $(example_opt_CXXFLAGS) $(CXXFLAGS) -c -o example_opt-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C + +example_opt-vector_fe_ex10.obj: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_opt_CPPFLAGS) $(CPPFLAGS) $(example_opt_CXXFLAGS) $(CXXFLAGS) -MT example_opt-vector_fe_ex10.obj -MD -MP -MF $(DEPDIR)/example_opt-vector_fe_ex10.Tpo -c -o example_opt-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_opt-vector_fe_ex10.Tpo $(DEPDIR)/example_opt-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_opt-vector_fe_ex10.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_opt_CPPFLAGS) $(CPPFLAGS) $(example_opt_CXXFLAGS) $(CXXFLAGS) -c -o example_opt-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` + +example_prof-vector_fe_ex10.o: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_prof_CPPFLAGS) $(CPPFLAGS) $(example_prof_CXXFLAGS) $(CXXFLAGS) -MT example_prof-vector_fe_ex10.o -MD -MP -MF $(DEPDIR)/example_prof-vector_fe_ex10.Tpo -c -o example_prof-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_prof-vector_fe_ex10.Tpo $(DEPDIR)/example_prof-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_prof-vector_fe_ex10.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_prof_CPPFLAGS) $(CPPFLAGS) $(example_prof_CXXFLAGS) $(CXXFLAGS) -c -o example_prof-vector_fe_ex10.o `test -f 'vector_fe_ex10.C' || echo '$(srcdir)/'`vector_fe_ex10.C + +example_prof-vector_fe_ex10.obj: vector_fe_ex10.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_prof_CPPFLAGS) $(CPPFLAGS) $(example_prof_CXXFLAGS) $(CXXFLAGS) -MT example_prof-vector_fe_ex10.obj -MD -MP -MF $(DEPDIR)/example_prof-vector_fe_ex10.Tpo -c -o example_prof-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example_prof-vector_fe_ex10.Tpo $(DEPDIR)/example_prof-vector_fe_ex10.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='vector_fe_ex10.C' object='example_prof-vector_fe_ex10.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(example_prof_CPPFLAGS) $(CPPFLAGS) $(example_prof_CXXFLAGS) $(CXXFLAGS) -c -o example_prof-vector_fe_ex10.obj `if test -f 'vector_fe_ex10.C'; then $(CYGPATH_W) 'vector_fe_ex10.C'; else $(CYGPATH_W) '$(srcdir)/vector_fe_ex10.C'; fi` + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +install-dataDATA: $(data_DATA) + @$(NORMAL_INSTALL) + @list='$(data_DATA)'; test -n "$(datadir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(datadir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(datadir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(datadir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(datadir)" || exit $$?; \ + done + +uninstall-dataDATA: + @$(NORMAL_UNINSTALL) + @list='$(data_DATA)'; test -n "$(datadir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(datadir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + col=$$red; res=XPASS; \ + ;; \ + *) \ + col=$$grn; res=PASS; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ + col=$$lgn; res=XFAIL; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + col=$$red; res=FAIL; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + col=$$blu; res=SKIP; \ + fi; \ + echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ + All=""; \ + else \ + tests="tests"; \ + All="All "; \ + fi; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="$$All$$all $$tests passed"; \ + else \ + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all $$tests failed"; \ + else \ + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + if test "$$skip" -eq 1; then \ + skipped="($$skip test was not run)"; \ + else \ + skipped="($$skip tests were not run)"; \ + fi; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + if test "$$failed" -eq 0; then \ + col="$$grn"; \ + else \ + col="$$red"; \ + fi; \ + echo "$${col}$$dashes$${std}"; \ + echo "$${col}$$banner$${std}"; \ + test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \ + test -z "$$report" || echo "$${col}$$report$${std}"; \ + echo "$${col}$$dashes$${std}"; \ + test "$$failed" -eq 0; \ + else :; fi +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS) + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(datadir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-am +install-exec: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) +clean: clean-am + +clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ + mostlyclean-am + +distclean: distclean-am + -rm -f ./$(DEPDIR)/example_dbg-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_devel-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_oprof-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_opt-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_prof-vector_fe_ex10.Po + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html-am: + +info: info-am + +info-am: + +install-data-am: install-dataDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f ./$(DEPDIR)/example_dbg-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_devel-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_oprof-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_opt-vector_fe_ex10.Po + -rm -f ./$(DEPDIR)/example_prof-vector_fe_ex10.Po + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-dataDATA + +.MAKE: all check check-am install install-am install-exec \ + install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \ + check-am clean clean-checkPROGRAMS clean-generic clean-libtool \ + cscopelist-am ctags ctags-am distclean distclean-compile \ + distclean-generic distclean-libtool distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-dataDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ + pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-dataDATA + +.PRECIOUS: Makefile + +@LIBMESH_VPATH_BUILD_TRUE@.linkstamp: +@LIBMESH_VPATH_BUILD_TRUE@ -rm -f vector_fe_ex10.in && $(LN_S) -f $(srcdir)/vector_fe_ex10.in . +@LIBMESH_VPATH_BUILD_TRUE@ $(AM_V_GEN)touch .linkstamp + +# Convenience method: 'make run' +run: $(check_PROGRAMS) + LIBMESH_DIR=$(abs_top_srcdir) METHODS="$(METHODS)" $(srcdir)/$(check_SCRIPTS) +doc: $(example_name).html +html: $(example_name).html +$(example_name).html: $(DOC_PROGRAM) \ + $(top_srcdir)/contrib/bin/ex2html.sh \ + Makefile + $(MAKE) METHODS=$(DOC_METHOD) -s run > stdout.log + $(AM_V_GEN) PATH=$(abs_top_srcdir)/contrib/bin:$(PATH) \ + ex2html.sh $(example_name) $(abs_srcdir) + +# Local Variables: +# mode: makefile +# End: + +############################################## +# include common example environment + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/examples/vector_fe/vector_fe_ex10/grad_div_exact_solution.h b/examples/vector_fe/vector_fe_ex10/grad_div_exact_solution.h new file mode 100644 index 00000000000..48b7bdb1bcb --- /dev/null +++ b/examples/vector_fe/vector_fe_ex10/grad_div_exact_solution.h @@ -0,0 +1,63 @@ +// The libMesh Finite Element Library. +// Copyright (C) 2002-2024 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner + +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. + +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +#ifndef GRAD_DIV_EXACT_SOLUTION_H +#define GRAD_DIV_EXACT_SOLUTION_H + +#include "libmesh/libmesh_common.h" +#include "libmesh/vector_value.h" + +using namespace libMesh; + +class GradDivExactSolution +{ +public: + GradDivExactSolution() = default; + ~GradDivExactSolution() = default; + + RealGradient operator() (Real x, Real y, Real z) + { + libmesh_ignore(z); + + const Real ux = cos(k*x)*sin(k*y); + const Real uy = sin(k*x)*cos(k*y); + + return RealGradient(ux, uy); + } + + RealTensor grad(Real x, Real y, Real z) + { + libmesh_ignore(z); + + const Real dux_dx = -k*sin(k*x)*sin(k*y); + const Real dux_dy = k*cos(k*x)*cos(k*y); + const Real duy_dx = dux_dy; + const Real duy_dy = dux_dx; + + return RealTensor(dux_dx, dux_dy, Real(0), duy_dx, duy_dy); + } + + RealGradient forcing(Real x, Real y, Real z) + { + return (2*k*k + 1)*operator()(x, y, z); + } + +private: + const Real k = pi; +}; + +#endif // GRAD_DIV_EXACT_SOLUTION_H diff --git a/examples/vector_fe/vector_fe_ex10/run.sh b/examples/vector_fe/vector_fe_ex10/run.sh new file mode 100755 index 00000000000..44a41aa76a0 --- /dev/null +++ b/examples/vector_fe/vector_fe_ex10/run.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +#set -x + +. "$LIBMESH_DIR"/examples/run_common.sh + +example_name=vector_fe_ex10 + +# Note: these problems are particularly ill-conditioned, so we currently +# resort to a direct solver. + +options="dim=2 element_type=TRI6 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=2 element_type=TRI7 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=2 element_type=QUAD8 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=2 element_type=QUAD9 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=2 order=3 element_type=TRI6 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=2 order=3 element_type=TRI7 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=2 order=3 element_type=QUAD8 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=2 order=3 element_type=QUAD9 -pc_type lu" +run_example "$example_name" "$options" + +# Subdividing each hex into 24 tets gets expensive in dbg... +options="dim=3 element_type=TET14 grid_size=6 -pc_type lu" +run_example "$example_name" "$options" + +options="dim=3 element_type=HEX27 -pc_type lu" +run_example "$example_name" "$options" diff --git a/examples/vector_fe/vector_fe_ex10/solution_function.h b/examples/vector_fe/vector_fe_ex10/solution_function.h new file mode 100644 index 00000000000..1c0b67a6385 --- /dev/null +++ b/examples/vector_fe/vector_fe_ex10/solution_function.h @@ -0,0 +1,109 @@ +// The libMesh Finite Element Library. +// Copyright (C) 2002-2024 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner + +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. + +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +#ifndef SOLUTION_FUNCTION_H +#define SOLUTION_FUNCTION_H + +// libMesh includes +#include "libmesh/function_base.h" + +// Example includes +#include "grad_div_exact_solution.h" + +// C++ includes +#include + +using namespace libMesh; + +class SolutionFunction : public FunctionBase +{ +public: + + SolutionFunction() = default; + ~SolutionFunction() = default; + + virtual Number operator() (const Point &, + const Real = 0) + { libmesh_not_implemented(); } + + virtual void operator() (const Point & p, + const Real, + DenseVector & output) + { + output.zero(); + const Real x=p(0), y=p(1), z=p(2); + output(0) = soln(x, y, z)(0); + output(1) = soln(x, y, z)(1); + output(2) = soln(x, y, z)(2); + } + + virtual Number component(unsigned int component_in, + const Point & p, + const Real) + { + DenseVector outvec(3); + (*this)(p, 0, outvec); + return outvec(component_in); + } + + virtual std::unique_ptr> clone() const + { return std::make_unique(); } + +private: + + GradDivExactSolution soln; +}; + +class SolutionGradient : public FunctionBase +{ +public: + + SolutionGradient() = default; + ~SolutionGradient() = default; + + virtual Gradient operator() (const Point &, const Real = 0) + { libmesh_not_implemented(); } + + virtual void operator() (const Point & p, + const Real, + DenseVector & output) + { + output.zero(); + const Real x=p(0), y=p(1), z=p(2); + output(0) = soln.grad(x, y, z).row(0); + output(1) = soln.grad(x, y, z).row(1); + output(2) = soln.grad(x, y, z).row(2); + } + + virtual Gradient component(unsigned int component_in, + const Point & p, + const Real) + { + DenseVector outvec(3); + (*this)(p, 0, outvec); + return outvec(component_in); + } + + virtual std::unique_ptr> clone() const + { return std::make_unique(); } + +private: + + GradDivExactSolution soln; +}; + +#endif // SOLUTION_FUNCTION_H diff --git a/examples/vector_fe/vector_fe_ex10/vector_fe_ex10.C b/examples/vector_fe/vector_fe_ex10/vector_fe_ex10.C new file mode 100644 index 00000000000..0badbf647b7 --- /dev/null +++ b/examples/vector_fe/vector_fe_ex10/vector_fe_ex10.C @@ -0,0 +1,482 @@ +// The libMesh Finite Element Library. +// Copyright (C) 2002-2024 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner + +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. + +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. + +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +//

    Vector Finite Elements Example 10 - Raviart-Thomas elements (grad-div)

    +// \author Nuno Nobre +// \date 2025 +// +// This example uses Raviart-Thomas elements to solve a model grad-div problem +// in H(div) in both 2d and 3d: -\nabla (\nabla \cdot \vec{u}) + \vec{u} = f. +// Note that, unlike the problem in Vector Finite Elements Example 6, this is +// _not_ an elliptic problem. + +// Basic utilities. +#include "libmesh/string_to_enum.h" + +// The solver packages supported by libMesh. +#include "libmesh/enum_solver_package.h" + +// The mesh object and mesh generation and modification utilities. +#include "libmesh/mesh.h" +#include "libmesh/mesh_generation.h" +#include "libmesh/mesh_modification.h" + +// Matrix and vector types. +#include "libmesh/dense_matrix.h" +#include "libmesh/sparse_matrix.h" +#include "libmesh/dense_vector.h" +#include "libmesh/numeric_vector.h" + +// The finite element object and the geometric element type. +#include "libmesh/fe.h" +#include "libmesh/elem.h" + +// Gauss quadrature rules. +#include "libmesh/quadrature_gauss.h" + +// The dof map, which handles degree of freedom indexing. +#include "libmesh/dof_map.h" + +// The system of equations. +#include "libmesh/equation_systems.h" +#include "libmesh/linear_implicit_system.h" + +// The exact solution and error computation. +#include "libmesh/exact_solution.h" +#include "libmesh/enum_norm_type.h" +#include "solution_function.h" + +// I/O utilities. +#include "libmesh/getpot.h" +#include "libmesh/exodusII_io.h" + + +// Bring in everything from the libMesh namespace. +using namespace libMesh; + +// Function prototype. This is the function that will assemble +// the linear system for our grad-div problem. Note that the +// function will take the EquationSystems object and the +// name of the system we are assembling as input. From the +// EquationSystems object we have access to the Mesh and +// other objects we might need. +void assemble_graddiv(EquationSystems & es, + const std::string & system_name); + +int main (int argc, char ** argv) +{ + // Initialize libMesh. + LibMeshInit init (argc, argv); + + // This example requires a linear solver package. + libmesh_example_requires(libMesh::default_solver_package() != INVALID_SOLVER_PACKAGE, + "--enable-petsc, --enable-trilinos, or --enable-eigen"); + + // Parse the input file. + GetPot infile("vector_fe_ex10.in"); + + // But allow the command line to override it. + infile.parse_command_line(argc, argv); + + // Read in parameters from the command line and the input file. + const unsigned int dimension = infile("dim", 2); + const unsigned int grid_size = infile("grid_size", 15); + + // Skip higher-dimensional examples on a lower-dimensional libMesh build. + libmesh_example_requires(dimension <= LIBMESH_DIM, dimension << "D support"); + + // Create a mesh, with dimension to be overridden later, distributed + // across the default MPI communicator. + Mesh mesh(init.comm()); + + // Use the MeshTools::Generation mesh generator to create a uniform + // grid on the cube [-1,1]^D. To accomodate Raviart-Thomas elements, we must + // use TRI6/7 or QUAD8/9 elements in 2d, or TET14 or HEX27 in 3d. + const std::string elem_str = infile("element_type", std::string("TRI6")); + + libmesh_error_msg_if((dimension == 2 && elem_str != "TRI6" && elem_str != "TRI7" && elem_str != "QUAD8" && elem_str != "QUAD9") || + (dimension == 3 && elem_str != "TET14" && elem_str != "HEX27"), + "You selected " << elem_str << + " but this example must be run with TRI6, TRI7, QUAD8, or QUAD9 in 2d" << + " or with TET14, or HEX27 in 3d."); + + if (dimension == 2) + MeshTools::Generation::build_square (mesh, + grid_size, + grid_size, + -1., 1., + -1., 1., + Utility::string_to_enum(elem_str)); + else if (dimension == 3) + MeshTools::Generation::build_cube (mesh, + grid_size, + grid_size, + grid_size, + -1., 1., + -1., 1., + -1., 1., + Utility::string_to_enum(elem_str)); + + // Make sure the code is robust against nodal reorderings. + MeshTools::Modification::permute_elements(mesh); + + // Print information about the mesh to the screen. + mesh.print_info(); + + // Create an equation systems object. + EquationSystems equation_systems (mesh); + + // Declare the system "GradDiv" and its variable. + LinearImplicitSystem & system = equation_systems.add_system("GradDiv"); + + // Set the FE approximation order for the vector field variable. + const Order vector_order = static_cast(infile("order", 1u)); + + libmesh_error_msg_if(vector_order < FIRST || vector_order > ((dimension == 3) ? FIRST : FIFTH), + "You selected: " << vector_order << + " but this example must be run with either 1 <= order <= 5 in 2d" + " or with order 1 in 3d."); + + // Adds the variable "u" to "GradDiv". "u" will be our vector field. + system.add_variable("u", vector_order, RAVIART_THOMAS); + + // Give the system a pointer to the matrix assembly + // function. This will be called when needed by the library. + system.attach_assemble_function(assemble_graddiv); + + // Initialize the data structures for the equation system. + equation_systems.init(); + + // Prints information about the system to the screen. + equation_systems.print_info(); + + // Solve the system "GradDiv". Note that calling this + // member will assemble the linear system and invoke + // the default numerical solver. + system.solve(); + + ExactSolution exact_sol(equation_systems); + + SolutionFunction soln_func; + SolutionGradient soln_grad; + + // Build FunctionBase* containers to attach to the ExactSolution object. + std::vector *> sols(1, &soln_func); + std::vector *> grads(1, &soln_grad); + + exact_sol.attach_exact_values(sols); + exact_sol.attach_exact_derivs(grads); + + // Use higher quadrature order for more accurate error results. + int extra_error_quadrature = infile("extra_error_quadrature", 2); + exact_sol.extra_quadrature_order(extra_error_quadrature); + + // Compute the error. + exact_sol.compute_error("GradDiv", "u"); + + // Print out the error values. + libMesh::out << "~~ Vector field (u) ~~" + << std::endl; + libMesh::out << "L2 error is: " + << exact_sol.l2_error("GradDiv", "u") + << std::endl; + libMesh::out << "HDiv semi-norm error is: " + << exact_sol.error_norm("GradDiv", "u", HDIV_SEMINORM) + << std::endl; + libMesh::out << "HDiv error is: " + << exact_sol.hdiv_error("GradDiv", "u") + << std::endl; + +#ifdef LIBMESH_HAVE_EXODUS_API + + // We write the file in the ExodusII format. + ExodusII_IO(mesh).write_equation_systems("out.e", equation_systems); + +#endif // #ifdef LIBMESH_HAVE_EXODUS_API + + // All done. + return 0; +} + + + +// We now define the matrix assembly function for the +// grad-div system. We need to first compute element +// matrices and right-hand sides, and then take into +// account the boundary conditions, which will be handled +// via a penalty method. +void assemble_graddiv(EquationSystems & es, + const std::string & libmesh_dbg_var(system_name)) +{ + + // It is a good idea to make sure we are assembling + // the proper system. + libmesh_assert_equal_to (system_name, "GradDiv"); + + // Get a constant reference to the mesh object. + const MeshBase & mesh = es.get_mesh(); + + // The dimension that we are running. + const unsigned int dim = mesh.mesh_dimension(); + + // Get a reference to the LinearImplicitSystem we are solving. + LinearImplicitSystem & system = es.get_system("GradDiv"); + + // A reference to the DofMap object for this system. The DofMap + // object handles the index translation from node and element numbers + // to degree of freedom numbers. + const DofMap & dof_map = system.get_dof_map(); + + // Get a constant reference to the Finite Element type + // for the variable in the system. + FEType vector_fe_type = dof_map.variable_type(system.variable_number("u")); + + // Build the Finite Element object. Since the + // FEBase::build() member dynamically creates memory we will + // store the object as a std::unique_ptr. This can be thought + // of as a pointer that will clean up after itself. Introduction Example 4 + // describes some advantages of std::unique_ptr's in the context of + // quadrature rules. + std::unique_ptr vector_fe (FEVectorBase::build(dim, vector_fe_type)); + + // A just-high-enough Gauss quadrature rule for numerical integration. + QGauss qrule (dim, vector_fe_type.default_quadrature_order()); + + // Tell the finite element object to use our quadrature rule. + vector_fe->attach_quadrature_rule (&qrule); + + // Declare a special finite element object for boundary integration. + std::unique_ptr vector_fe_face (FEVectorBase::build(dim, vector_fe_type)); + + // Boundary integration requires one quadrature rule with dimensionality one + // less than the dimensionality of the element. + QGauss qface(dim-1, vector_fe_type.default_quadrature_order()); + + // Tell the finite element object to use our quadrature rule. + vector_fe_face->attach_quadrature_rule (&qface); + + // Here we define some references to cell-specific data that + // will be used to assemble the linear system. + // + // The element Jacobian * quadrature weight at each integration point. + const std::vector & JxW = vector_fe->get_JxW(); + + // The physical XY locations of the quadrature points on the element. + // These might be useful for evaluating spatially varying material + // properties at the quadrature points. + const std::vector & q_point = vector_fe->get_xyz(); + + // The element shape functions evaluated at the quadrature points. + const std::vector> & vector_phi = vector_fe->get_phi(); + + // The divergence of the element vector shape functions evaluated at the + // quadrature points. + const std::vector> & div_vector_phi = vector_fe->get_div_phi(); + + // Define data structures to contain the element matrix + // and right-hand-side vector contribution. Following + // basic finite element terminology we will denote these + // "Ke" and "Fe". These datatypes are templated on + // Number, which allows the same code to work for real + // or complex numbers. + DenseMatrix Ke; + DenseVector Fe; + + // These vectors will hold the degree of freedom indices for + // the element. These define where in the global system + // the element degrees of freedom get mapped. + std::vector dof_indices; + + // The global system matrix + SparseMatrix & matrix = system.get_system_matrix(); + + // Now we will loop over all the elements in the mesh. + // We will compute the element matrix and right-hand-side + // contribution. + // + // Element ranges are a nice way to iterate through all the + // elements, or all the elements that have some property. The + // range will iterate from the first to the last element on + // the local processor. + // It is smart to make this one const so that we don't accidentally + // mess it up! In case users later modify this program to include + // refinement, we will be safe and will only consider the active + // elements; hence we use a variant of the + // active_local_element_ptr_range. + for (const auto & elem : mesh.active_local_element_ptr_range()) + { + // Get the degree of freedom indices for the + // current element. These define where in the global + // matrix and right-hand-side this element will + // contribute to. + dof_map.dof_indices (elem, dof_indices); + + // Cache the total number of degrees of freedom on this element, + // for use as array and loop bounds later. + // We use cast_int to explicitly convert from size() (which may be + // 64-bit) to unsigned int (which may be 32-bit but which is definitely + // enough to count *local* degrees of freedom. + const unsigned int n_dofs = + cast_int(dof_indices.size()); + + // Compute the element-specific data for the current + // element. This involves computing the location of the + // quadrature points (q_point) and the shape functions + // and their divergences for the current element. + vector_fe->reinit (elem); + + // We should also have the same number of degrees of freedom as + // shape functions for our variable. + libmesh_assert_equal_to (n_dofs, vector_phi.size()); + + // Zero the element matrix and right-hand side before + // summing them. We use the resize member here because + // the number of degrees of freedom might have changed from + // the last element. Note that this will be the case if the + // element type is different (i.e. the last element was a + // triangle, now we are on a quadrilateral). + + // The DenseMatrix::resize() and the DenseVector::resize() + // members will automatically zero out the matrix and vector. + Ke.resize (n_dofs, n_dofs); + Fe.resize (n_dofs); + + // Now loop over the quadrature points. This handles + // the numeric integration. + for (unsigned int qp=0; qpside_index_range()) + if (elem->neighbor_ptr(side) == nullptr) + { + // The value of the shape functions at the quadrature points. + const std::vector> & vector_phi_face = vector_fe_face->get_phi(); + + // The Jacobian * Quadrature Weight at the quadrature + // points on the face. + const std::vector & JxW_face = vector_fe_face->get_JxW(); + + // The XYZ locations (in physical space) of, and the normals at, + // the quadrature points on the face. This is where + // we will interpolate the boundary value function. + const std::vector & qface_point = vector_fe_face->get_xyz(); + const std::vector & normals = vector_fe_face->get_normals(); + + // Compute the vector shape function values on the element face. + vector_fe_face->reinit(elem, side); + + // Some shape functions will be 0 on the face, but for ease of + // indexing and generality of code we loop over them anyway. + libmesh_assert_equal_to (n_dofs, vector_phi_face.size()); + + // Loop over the face quadrature points for integration. + for (unsigned int qp=0; qpadd_vector (Fe, dof_indices); + } + + // All done! +} diff --git a/examples/vector_fe/vector_fe_ex10/vector_fe_ex10.in b/examples/vector_fe/vector_fe_ex10/vector_fe_ex10.in new file mode 100644 index 00000000000..50d77513f65 --- /dev/null +++ b/examples/vector_fe/vector_fe_ex10/vector_fe_ex10.in @@ -0,0 +1,11 @@ +# Solve the 2D or 3D problem +dim = 2 + +# The element type +element_type = TRI6 + +# The coarse grid size from which to start adaptivity +grid_size = 15 + +# Higher quadrature order for more accurate error results +extra_error_quadrature = 2 diff --git a/examples/vector_fe/vector_fe_ex6/vector_fe_ex6.C b/examples/vector_fe/vector_fe_ex6/vector_fe_ex6.C index 1a0f75a53a8..2deac6ec80e 100644 --- a/examples/vector_fe/vector_fe_ex6/vector_fe_ex6.C +++ b/examples/vector_fe/vector_fe_ex6/vector_fe_ex6.C @@ -16,14 +16,16 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -//

    Vector Finite Elements Example 6 - Raviart-Thomas elements

    +//

    Vector Finite Elements Example 6 - Raviart-Thomas elements (div-grad)

    // \author Nuno Nobre // \date 2023 // // This example uses Raviart-Thomas elements to solve a model div-grad problem -// in H(div) in both 2d and 3d. The problem is simply a div-grad formulation, -// \vec{u} = -\nabla p, and \nabla \cdot \vec{u} = f, of the Poisson -// problem in Introduction Example 3, \nabla^2 p = -f. +// in H(div) in both 2d and 3d. The problem is simply a mixed div-grad +// formulation, \vec{u} = -\nabla p, and \nabla \cdot \vec{u} = f, of the +// Poisson problem in Introduction Example 3, \nabla^2 p = -f. In particular, +// unlike in Introduction Example 3, where we solve solely for the scalar field +// p, here we solve for both the vector field \vec{u} and the scalar field p. // Basic utilities. #include "libmesh/string_to_enum.h" @@ -151,7 +153,7 @@ int main (int argc, char ** argv) // Declare the system "DivGrad" and its variables. LinearImplicitSystem & system = equation_systems.add_system("DivGrad"); - // Set the FE approximation order for the vector and field variables. + // Set the FE approximation order for the vector and scalar field variables. const Order vector_order = static_cast(infile("order", 1u)); const Order scalar_order = static_cast(vector_order - 1u);