|
Neko 0.9.1
A portable framework for high-order spectral element flow simulations
|
Coefficients defined on a given (mesh, \( X_h \)) tuple. Arrays use indices (i,j,k,e): element e, local coordinate (i,j,k). More...

Public Member Functions | |
| procedure, pass(this) | free (this) |
| Deallocate coefficients. | |
| procedure, pass(this) | get_normal (this, i, j, k, e, facet) |
| procedure, pass(this) | get_area (this, i, j, k, e, facet) |
| generic | init (this, xh, msh) |
| Initialize empty coefs for a space and a mesh. | |
| generic | init (this, gs_h) |
| Initialize coefficients. | |
Public Attributes | |
| real(kind=rp), dimension(:,:,:,:), allocatable | g11 |
| Geometric factors \( G_{11} \). | |
| real(kind=rp), dimension(:,:,:,:), allocatable | g22 |
| Geometric factors \( G_{22} \). | |
| real(kind=rp), dimension(:,:,:,:), allocatable | g33 |
| Geometric factors \( G_{33} \). | |
| real(kind=rp), dimension(:,:,:,:), allocatable | g12 |
| Geometric factors \( G_{12} \). | |
| real(kind=rp), dimension(:,:,:,:), allocatable | g13 |
| Geometric factors \( G_{13} \). | |
| real(kind=rp), dimension(:,:,:,:), allocatable | g23 |
| Geometric factors \( G_{23} \). | |
| real(kind=rp), dimension(:,:,:,:), allocatable | mult |
| Multiplicity. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | dxdr |
| generate mapping data between element and reference element \( dx/dr, dy/dr, dz/dr \) \( dx/ds, dy/ds, dz/ds \) \( dx/dt, dy/dt, dz/dt \) | |
| real(kind=rp), dimension(:,:,:,:), allocatable | dydr |
| real(kind=rp), dimension(:,:,:,:), allocatable | dzdr |
| real(kind=rp), dimension(:,:,:,:), allocatable | dxds |
| real(kind=rp), dimension(:,:,:,:), allocatable | dyds |
| real(kind=rp), dimension(:,:,:,:), allocatable | dzds |
| real(kind=rp), dimension(:,:,:,:), allocatable | dxdt |
| real(kind=rp), dimension(:,:,:,:), allocatable | dydt |
| real(kind=rp), dimension(:,:,:,:), allocatable | dzdt |
| real(kind=rp), dimension(:,:,:,:), allocatable | drdx |
| \( dr/dx, dr/dy, dr/dz \) \( ds/dx, ds/dy, ds/dz \) \( dt/dx, dt/dy, dt/dz \) | |
| real(kind=rp), dimension(:,:,:,:), allocatable | drdy |
| real(kind=rp), dimension(:,:,:,:), allocatable | drdz |
| real(kind=rp), dimension(:,:,:,:), allocatable | dsdx |
| real(kind=rp), dimension(:,:,:,:), allocatable | dsdy |
| real(kind=rp), dimension(:,:,:,:), allocatable | dsdz |
| real(kind=rp), dimension(:,:,:,:), allocatable | dtdx |
| real(kind=rp), dimension(:,:,:,:), allocatable | dtdy |
| real(kind=rp), dimension(:,:,:,:), allocatable | dtdz |
| real(kind=rp), dimension(:,:,:,:), allocatable | h1 |
| Stiffness scaling. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | h2 |
| Mass scaling. | |
| logical | ifh2 |
| True if h2 .ne. 0. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | jac |
| Jacobian. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | jacinv |
| Inverted Jacobian. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | b |
| Mass matrix/volume matrix. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | binv |
| Inverted Mass matrix/volume matrix. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | area |
| Facet area. | |
| real(kind=rp), dimension(:,:,:,:), allocatable | nx |
| x-direction of facet normal | |
| real(kind=rp), dimension(:,:,:,:), allocatable | ny |
| y-direction of facet normal | |
| real(kind=rp), dimension(:,:,:,:), allocatable | nz |
| z-direction of facet normal | |
| real(kind=rp) | volume |
| Pointers to main fields. | |
| type(space_t), pointer | xh => null() |
| type(mesh_t), pointer | msh => null() |
| type(dofmap_t), pointer | dof => null() |
| type(gs_t), pointer | gs_h => null() |
| type(c_ptr) | g11_d = C_NULL_PTR |
| type(c_ptr) | g22_d = C_NULL_PTR |
| type(c_ptr) | g33_d = C_NULL_PTR |
| type(c_ptr) | g12_d = C_NULL_PTR |
| type(c_ptr) | g13_d = C_NULL_PTR |
| type(c_ptr) | g23_d = C_NULL_PTR |
| type(c_ptr) | dxdr_d = C_NULL_PTR |
| type(c_ptr) | dydr_d = C_NULL_PTR |
| type(c_ptr) | dzdr_d = C_NULL_PTR |
| type(c_ptr) | dxds_d = C_NULL_PTR |
| type(c_ptr) | dyds_d = C_NULL_PTR |
| type(c_ptr) | dzds_d = C_NULL_PTR |
| type(c_ptr) | dxdt_d = C_NULL_PTR |
| type(c_ptr) | dydt_d = C_NULL_PTR |
| type(c_ptr) | dzdt_d = C_NULL_PTR |
| type(c_ptr) | drdx_d = C_NULL_PTR |
| type(c_ptr) | drdy_d = C_NULL_PTR |
| type(c_ptr) | drdz_d = C_NULL_PTR |
| type(c_ptr) | dsdx_d = C_NULL_PTR |
| type(c_ptr) | dsdy_d = C_NULL_PTR |
| type(c_ptr) | dsdz_d = C_NULL_PTR |
| type(c_ptr) | dtdx_d = C_NULL_PTR |
| type(c_ptr) | dtdy_d = C_NULL_PTR |
| type(c_ptr) | dtdz_d = C_NULL_PTR |
| type(c_ptr) | mult_d = C_NULL_PTR |
| type(c_ptr) | h1_d = C_NULL_PTR |
| type(c_ptr) | h2_d = C_NULL_PTR |
| type(c_ptr) | jac_d = C_NULL_PTR |
| type(c_ptr) | jacinv_d = C_NULL_PTR |
| type(c_ptr) | b_d = C_NULL_PTR |
| type(c_ptr) | binv_d = C_NULL_PTR |
| type(c_ptr) | area_d = C_NULL_PTR |
| type(c_ptr) | nx_d = C_NULL_PTR |
| type(c_ptr) | ny_d = C_NULL_PTR |
| type(c_ptr) | nz_d = C_NULL_PTR |
Private Member Functions | |
| procedure, pass(this), private | init_empty (this, xh, msh) |
| Initialize empty coefs for a space and a mesh. | |
| procedure, pass(this), private | init_all (this, gs_h) |
| Initialize coefficients. | |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::area |
| type(c_ptr) coefs::coef_t::area_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::b |
| type(c_ptr) coefs::coef_t::b_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::binv |
| type(c_ptr) coefs::coef_t::binv_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::drdx |
| type(c_ptr) coefs::coef_t::drdx_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::drdy |
| type(c_ptr) coefs::coef_t::drdy_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::drdz |
| type(c_ptr) coefs::coef_t::drdz_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dsdx |
| type(c_ptr) coefs::coef_t::dsdx_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dsdy |
| type(c_ptr) coefs::coef_t::dsdy_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dsdz |
| type(c_ptr) coefs::coef_t::dsdz_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dtdx |
| type(c_ptr) coefs::coef_t::dtdx_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dtdy |
| type(c_ptr) coefs::coef_t::dtdy_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dtdz |
| type(c_ptr) coefs::coef_t::dtdz_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dxdr |
| type(c_ptr) coefs::coef_t::dxdr_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dxds |
| type(c_ptr) coefs::coef_t::dxds_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dxdt |
| type(c_ptr) coefs::coef_t::dxdt_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dydr |
| type(c_ptr) coefs::coef_t::dydr_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dyds |
| type(c_ptr) coefs::coef_t::dyds_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dydt |
| type(c_ptr) coefs::coef_t::dydt_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dzdr |
| type(c_ptr) coefs::coef_t::dzdr_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dzds |
| type(c_ptr) coefs::coef_t::dzds_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::dzdt |
| type(c_ptr) coefs::coef_t::dzdt_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::g11 |
| type(c_ptr) coefs::coef_t::g11_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::g12 |
| type(c_ptr) coefs::coef_t::g12_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::g13 |
| type(c_ptr) coefs::coef_t::g13_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::g22 |
| type(c_ptr) coefs::coef_t::g22_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::g23 |
| type(c_ptr) coefs::coef_t::g23_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::g33 |
| type(c_ptr) coefs::coef_t::g33_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::h1 |
| type(c_ptr) coefs::coef_t::h1_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::h2 |
| type(c_ptr) coefs::coef_t::h2_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::jac |
| type(c_ptr) coefs::coef_t::jac_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::jacinv |
| type(c_ptr) coefs::coef_t::jacinv_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::mult |
| type(c_ptr) coefs::coef_t::mult_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::nx |
| type(c_ptr) coefs::coef_t::nx_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::ny |
| type(c_ptr) coefs::coef_t::ny_d = C_NULL_PTR |
| real(kind=rp), dimension(:,:,:,:), allocatable coefs::coef_t::nz |
| type(c_ptr) coefs::coef_t::nz_d = C_NULL_PTR |