MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / N_VGetLength_MultiFab

Function N_VGetLength_MultiFab

Src/Extern/SUNDIALS/AMReX_NVector_MultiFab.cpp:124–129  ·  view source on GitHub ↗

---------------------------------------------------------------------------- * Function to return number of vector elements */

Source from the content-addressed store, hash-verified

122 * Function to return number of vector elements
123 */
124sunindextype N_VGetLength_MultiFab(N_Vector v)
125{
126 const auto* content = (amrex::sundials::N_VectorContent_MultiFab)(v->content);
127
128 return content->length;
129}
130
131/* ----------------------------------------------------------------------------
132 * Function to return if v owns the MultiFab*

Callers 5

N_VCloneEmpty_MultiFabFunction · 0.85
N_VClone_MultiFabFunction · 0.85
N_VSpace_MultiFabFunction · 0.85
N_VWrmsNorm_MultiFabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected