Block-Structured AMR Software Framework
AMReX_NVector_MultiFab.H File Reference
#include <AMReX_Array.H>
#include <AMReX_Geometry.H>
#include <AMReX_MultiFab.H>
#include <AMReX_MultiFabUtil.H>
#include <AMReX_Sundials_Core.H>
#include <sundials/sundials_nvector.h>
#include <cstdio>

Go to the source code of this file.

Classes

struct  N_VectorContent_MultiFab_notptr
 

Typedefs

using N_VectorContent_MultiFab = N_VectorContent_MultiFab_notptr *
 

Functions

N_Vector N_VNewEmpty_MultiFab (sunindextype vec_length, ::sundials::Context *sunctx=The_Sundials_Context())
 
N_Vector N_VNew_MultiFab (sunindextype vec_length, const amrex::BoxArray &ba, const amrex::DistributionMapping &dm, sunindextype nComp, sunindextype nGhost, ::sundials::Context *sunctx=The_Sundials_Context())
 
N_Vector N_VMake_MultiFab (sunindextype vec_length, amrex::MultiFab *mf, ::sundials::Context *sunctx=The_Sundials_Context())
 
sunindextype N_VGetLength_MultiFab (N_Vector v)
 
int N_VGetOwnMF_MultiFab (N_Vector v)
 
void N_VSetOwnMF_MultiFab (N_Vector v, int own_mf)
 
N_Vector N_VCloneEmpty_MultiFab (N_Vector w)
 
N_Vector N_VClone_MultiFab (N_Vector w)
 
void N_VDestroy_MultiFab (N_Vector v)
 
void N_VSpace_MultiFab (N_Vector v, sunindextype *lrw, sunindextype *liw)
 
N_VectorContent_MultiFab N_VGetContent_MultiFab (N_Vector v)
 
MultiFab * N_VGetVectorPointer_MultiFab (N_Vector v)
 
amrex::Real NormHelper_NVector_MultiFab (N_Vector x, N_Vector w, N_Vector id, int use_id, bool rms)
 
void N_VLinearSum_MultiFab (amrex::Real a, N_Vector x, amrex::Real b, N_Vector y, N_Vector z)
 
void N_VConst_MultiFab (amrex::Real c, N_Vector z)
 
void N_VProd_MultiFab (N_Vector x, N_Vector y, N_Vector z)
 
void N_VDiv_MultiFab (N_Vector x, N_Vector y, N_Vector z)
 
void N_VScale_MultiFab (amrex::Real c, N_Vector x, N_Vector z)
 
void N_VAbs_MultiFab (N_Vector x, N_Vector z)
 
void N_VInv_MultiFab (N_Vector x, N_Vector z)
 
void N_VAddConst_MultiFab (N_Vector x, amrex::Real b, N_Vector z)
 
amrex::Real N_VDotProd_MultiFab (N_Vector x, N_Vector y)
 
amrex::Real N_VMaxNorm_MultiFab (N_Vector x)
 
amrex::Real N_VWrmsNorm_MultiFab (N_Vector x, N_Vector w)
 
amrex::Real N_VWrmsNormMask_MultiFab (N_Vector x, N_Vector w, N_Vector id)
 
amrex::Real N_VMin_MultiFab (N_Vector x)
 
amrex::Real N_VWL2Norm_MultiFab (N_Vector x, N_Vector w)
 
amrex::Real N_VL1Norm_MultiFab (N_Vector x)
 
void N_VCompare_MultiFab (amrex::Real a, N_Vector x, N_Vector z)
 
int N_VInvTest_MultiFab (N_Vector x, N_Vector z)
 
int N_VConstrMask_MultiFab (N_Vector a_a, N_Vector x, N_Vector m)
 
amrex::Real N_VMinQuotient_MultiFab (N_Vector num, N_Vector denom)
 

Typedef Documentation

◆ N_VectorContent_MultiFab

Function Documentation

◆ N_VAbs_MultiFab()

void N_VAbs_MultiFab ( N_Vector  x,
N_Vector  z 
)

◆ N_VAddConst_MultiFab()

void N_VAddConst_MultiFab ( N_Vector  x,
amrex::Real  b,
N_Vector  z 
)

◆ N_VClone_MultiFab()

N_Vector N_VClone_MultiFab ( N_Vector  w)

◆ N_VCloneEmpty_MultiFab()

N_Vector N_VCloneEmpty_MultiFab ( N_Vector  w)

◆ N_VCompare_MultiFab()

void N_VCompare_MultiFab ( amrex::Real  a,
N_Vector  x,
N_Vector  z 
)

◆ N_VConst_MultiFab()

void N_VConst_MultiFab ( amrex::Real  c,
N_Vector  z 
)

◆ N_VConstrMask_MultiFab()

int N_VConstrMask_MultiFab ( N_Vector  a_a,
N_Vector  x,
N_Vector  m 
)

◆ N_VDestroy_MultiFab()

void N_VDestroy_MultiFab ( N_Vector  v)

◆ N_VDiv_MultiFab()

void N_VDiv_MultiFab ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)

◆ N_VDotProd_MultiFab()

amrex::Real N_VDotProd_MultiFab ( N_Vector  x,
N_Vector  y 
)

◆ N_VGetContent_MultiFab()

N_VectorContent_MultiFab N_VGetContent_MultiFab ( N_Vector  v)

◆ N_VGetLength_MultiFab()

sunindextype N_VGetLength_MultiFab ( N_Vector  v)

◆ N_VGetOwnMF_MultiFab()

int N_VGetOwnMF_MultiFab ( N_Vector  v)

◆ N_VGetVectorPointer_MultiFab()

MultiFab* N_VGetVectorPointer_MultiFab ( N_Vector  v)

◆ N_VInv_MultiFab()

void N_VInv_MultiFab ( N_Vector  x,
N_Vector  z 
)

◆ N_VInvTest_MultiFab()

int N_VInvTest_MultiFab ( N_Vector  x,
N_Vector  z 
)

◆ N_VL1Norm_MultiFab()

amrex::Real N_VL1Norm_MultiFab ( N_Vector  x)

◆ N_VLinearSum_MultiFab()

void N_VLinearSum_MultiFab ( amrex::Real  a,
N_Vector  x,
amrex::Real  b,
N_Vector  y,
N_Vector  z 
)

◆ N_VMake_MultiFab()

N_Vector N_VMake_MultiFab ( sunindextype  vec_length,
amrex::MultiFab mf,
::sundials::Context *  sunctx = The_Sundials_Context() 
)

◆ N_VMaxNorm_MultiFab()

amrex::Real N_VMaxNorm_MultiFab ( N_Vector  x)

◆ N_VMin_MultiFab()

amrex::Real N_VMin_MultiFab ( N_Vector  x)

◆ N_VMinQuotient_MultiFab()

amrex::Real N_VMinQuotient_MultiFab ( N_Vector  num,
N_Vector  denom 
)

◆ N_VNew_MultiFab()

N_Vector N_VNew_MultiFab ( sunindextype  vec_length,
const amrex::BoxArray ba,
const amrex::DistributionMapping dm,
sunindextype  nComp,
sunindextype  nGhost,
::sundials::Context *  sunctx = The_Sundials_Context() 
)

◆ N_VNewEmpty_MultiFab()

N_Vector N_VNewEmpty_MultiFab ( sunindextype  vec_length,
::sundials::Context *  sunctx = The_Sundials_Context() 
)

◆ N_VProd_MultiFab()

void N_VProd_MultiFab ( N_Vector  x,
N_Vector  y,
N_Vector  z 
)

◆ N_VScale_MultiFab()

void N_VScale_MultiFab ( amrex::Real  c,
N_Vector  x,
N_Vector  z 
)

◆ N_VSetOwnMF_MultiFab()

void N_VSetOwnMF_MultiFab ( N_Vector  v,
int  own_mf 
)

◆ N_VSpace_MultiFab()

void N_VSpace_MultiFab ( N_Vector  v,
sunindextype *  lrw,
sunindextype *  liw 
)

◆ N_VWL2Norm_MultiFab()

amrex::Real N_VWL2Norm_MultiFab ( N_Vector  x,
N_Vector  w 
)

◆ N_VWrmsNorm_MultiFab()

amrex::Real N_VWrmsNorm_MultiFab ( N_Vector  x,
N_Vector  w 
)

◆ N_VWrmsNormMask_MultiFab()

amrex::Real N_VWrmsNormMask_MultiFab ( N_Vector  x,
N_Vector  w,
N_Vector  id 
)

◆ NormHelper_NVector_MultiFab()

amrex::Real NormHelper_NVector_MultiFab ( N_Vector  x,
N_Vector  w,
N_Vector  id,
int  use_id,
bool  rms 
)