Link to the source code for this example:
Open solution_transfer_ex1 in new tab.
The console output of the program:
***************************************************************
* Running Example solution_transfer_ex1:
* example-opt
***************************************************************
Mesh Information:
elem_dimensions()={3}
spatial_dimension()=3
n_nodes()=125
n_local_nodes()=125
n_elem()=64
n_local_elem()=64
n_active_elem()=64
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
*** Warning, This code is deprecated, and likely to be removed in future library versions! ../src/mesh/boundary_info.C, line 992, compiled Apr 13 2016 at 22:39:48 ***
Mesh Information:
elem_dimensions()={3}
spatial_dimension()=3
n_nodes()=791
n_local_nodes()=791
n_elem()=3000
n_local_elem()=3000
n_active_elem()=3000
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
*** Warning, This code is untested, experimental, or likely to see future API changes: ../src/solution_transfer/dtk_solution_transfer.C, line 72, compiled Apr 13 2016 at 22:31:34 ***
-------------------------------------------------------------------------------------------------------------------
| Time: Wed Apr 13 16:42:48 2016 |
| OS: Darwin |
| HostName: peterson-laptop.local |
| OS Release: 15.0.0 |
| OS Version: Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 |
| Machine: x86_64 |
| Username: petejw |
| Configuration: ../configure 'INSTALL=/usr/bin/install -C' |
| '--with-methods=opt dbg' |
| '--prefix=/Users/petejw/projects/libmesh_git/installed' |
| '--enable-perflog' |
| '--enable-tracefiles' |
| '--disable-blocked-storage' |
| '--enable-tecio' |
| '--enable-unique-ptr' |
| '--enable-ifem' |
| '--disable-strict-lgpl' |
| '--with-vtk-include=/opt/moose/vtk-6.3/include/vtk-6.3' |
| '--with-vtk-lib=/opt/moose/vtk-6.3/lib' |
| 'CXX=mpicxx' |
| 'CC=mpicc' |
| 'FC=mpif90' |
| 'F77=mpif77' |
| 'PETSC_DIR=/opt/moose/petsc/mpich_petsc-3.6.1/clang-opt-superlu' |
| 'SLEPC_DIR=/opt/petejw/slepc/3.6.1' |
| 'TRILINOS_DIR=/opt/moose/trilinos/clang-opt' |
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------
| libMesh Performance: Alive time=0.19539, Active time=0.015521 |
-------------------------------------------------------------------------------------------------------------
| Event nCalls Total Time Avg Time Total Time Avg Time % of Active Time |
| w/o Sub w/o Sub With Sub With Sub w/o S With S |
|-------------------------------------------------------------------------------------------------------------|
| |
| |
| DofMap |
| add_neighbors_to_send_list() 2 0.0004 0.000216 0.0004 0.000216 2.79 2.79 |
| create_dof_constraints() 2 0.0002 0.000086 0.0002 0.000086 1.11 1.11 |
| distribute_dofs() 2 0.0003 0.000170 0.0019 0.000944 2.19 12.16 |
| dof_indices() 3317 0.0005 0.000000 0.0005 0.000000 3.39 3.39 |
| prepare_send_list() 4 0.0000 0.000000 0.0000 0.000000 0.01 0.01 |
| reinit() 2 0.0015 0.000773 0.0015 0.000773 9.97 9.97 |
| |
| EquationSystems |
| build_solution_vector() 2 0.0013 0.000665 0.0020 0.000994 8.58 12.80 |
| update() 1 0.0000 0.000006 0.0000 0.000006 0.04 0.04 |
| |
| ExodusII_IO |
| write_nodal_data() 2 0.0038 0.001924 0.0038 0.001924 24.79 24.79 |
| |
| FE |
| inverse_map() 125 0.0001 0.000001 0.0001 0.000001 0.95 0.95 |
| |
| GenericProjector |
| operator() 1 0.0002 0.000165 0.0003 0.000255 1.06 1.64 |
| project_edges 64 0.0000 0.000000 0.0000 0.000000 0.02 0.02 |
| project_interior 64 0.0000 0.000000 0.0000 0.000000 0.02 0.02 |
| project_nodes 64 0.0000 0.000000 0.0000 0.000000 0.08 0.08 |
| project_sides 64 0.0000 0.000000 0.0000 0.000000 0.02 0.02 |
| |
| Mesh |
| find_neighbors() 2 0.0056 0.002811 0.0056 0.002811 36.22 36.22 |
| renumber_nodes_and_elem() 4 0.0001 0.000034 0.0001 0.000034 0.87 0.87 |
| |
| MeshOutput |
| write_equation_systems() 2 0.0000 0.000017 0.0059 0.002934 0.22 37.81 |
| |
| MeshTools::Generation |
| build_cube() 2 0.0011 0.000530 0.0011 0.000530 6.84 6.84 |
| |
| Parallel |
| allgather() 2 0.0000 0.000000 0.0000 0.000000 0.01 0.01 |
| |
| Partitioner |
| single_partition() 2 0.0001 0.000031 0.0001 0.000031 0.40 0.40 |
| |
| System |
| project_fem_vector() 1 0.0001 0.000065 0.0003 0.000320 0.42 2.06 |
| project_vector(FunctionBase) 1 0.0000 0.000004 0.0003 0.000324 0.03 2.09 |
-------------------------------------------------------------------------------------------------------------
| Totals: 3732 0.0155 100.00 |
-------------------------------------------------------------------------------------------------------------
***************************************************************
* Done Running Example solution_transfer_ex1:
* example-opt
***************************************************************