|
file | example_01.cpp [code] |
|
file | example_02.cpp [code] |
|
file | example_03.cpp [code] |
|
file | example_03AD.cpp [code] |
| Example building stiffness matrix and right hand side for a Poisson equation using nodal (Hgrad) elements. Here we exercise Sacado's Fad types for an automated construction of PDE Jacobians through automatic differentiation.
|
|
file | example_03NL.cpp [code] |
| Example building PDE Jacobian for a nonlinear reaction-diffusion equation using nodal (Hgrad) elements. Here we exercise Sacado's Fad types for an automated construction of PDE Jacobians through automatic differentiation.
|
|
file | example_04.cpp [code] |
|
file | example_05.cpp [code] |
| Demonstrate diagonalized mass matrices for H(grad) elements in 1d using Gauss-Legendre quadrature.
|
|
file | example_06.cpp [code] |
| Matrix-free application of the Laplace stiffness matrix for polynomials of degree d on an NX x NY mesh. We are using a reference element stiffness matrix and level 3 BLAS for the application, but not using any tensor-product decomposition.
|
|
file | example_07.cpp [code] |
| Example building stiffness matrix for a Poisson equation using nodal (Hgrad) elements on squares. This shows how to use the local-global mapping to preallocate the matrix graph. This leads to an improvement in the time it takes to construct the global matrix.
|
|
file | example_08.cpp [code] |
| Example building stiffness matrix and right hand side for a Poisson equation using nodal (Hgrad) elements on squares. This code transforms the basis function gradients to each cell and performs quadrature.
|
|
file | example_09.cpp [code] |
|
file | example_10.cpp [code] |
| Construction of Laplace operator on a uniform hexahedral mesh using arbitrary-degree elements. This is the most naive implementation wherein we form the stiffness matrix on each cell by quadrature and do not preallocate the global matrix graph before assembling.
|
|
file | example_11.cpp [code] |
| Construction of Laplace operator on a uniform hexahedral mesh using arbitrary-degree elements. This is the second most naive implementation wherein we form the stiffness matrix on each cell by quadrature, but we do preallocate the global matrix graph before assembling.
|
|
file | example_12.cpp [code] |
| Construction of Laplace operator on a uniform hexahedral mesh using arbitrary-degree elements. We preallocate the global matrix graph, and then construct a single element stiffness matrix that is replicated across all cells.
|
|
file | example_13.cpp [code] |
| Application of Laplace operator on a uniform hexahedral mesh using arbitrary-degree elements by using a single reference stiffness matrix and DGEMM.
|
|
file | example_14.cpp [code] |
| Application of Laplace operator on a uniform hexahedral mesh using arbitrary-degree elements by using tensor product structure and Gauss-Lobatto quadrature.
|
|
file | example_15.cpp [code] |
| Construction of Laplace operator on a uniform hexahedral mesh using arbitrary-degree elements. This assembles the matrix into STL data structures vector<map<int,double> > to get logarithmic access to columns.
|
|
file | example_16.cpp [code] |
| Application of Laplace operator on a hexahedral mesh using arbitrary-degree elements by using TensorProductSpaceTools.
|
|
file | example_17.cpp [code] |
| Application of Laplace operator on a hexahedral mesh using arbitrary-degree elements by using DGEMM and dual transformations.
|
|