Chombo + EB
3.2
|
Virtual base class contract to interact with SUNDIALS. More...
#include <ChomboSundialsAdaptor.H>
Virtual base class contract to interact with SUNDIALS.
Declares virtual functions needed to satisfy the SUNDIALS NVector functions. Derived classes need to implement these, with care taken to "linearize" Chombo data, e.g. avoid counting duplicate values, include all components, or ghost cells, etc. in NVector operations. Note that many operations can also take "this" object as an argument; in that case they should do an in-place update of the object's data.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
References abs(), addConst(), compare(), constrMask(), copyTo(), div(), dotProd(), exchange(), getLength(), inv(), invTest(), l1Norm(), linearSum(), maxNorm(), min(), minQuotient(), newAdaptor(), print(), printFile(), prod(), scale(), setConst(), wL2Norm(), wRMSNorm(), and wRMSNormMask().
|
pure virtual |
SUNDIALS operation - calculates a*x+b*y and puts in this instance's data
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - sets this instance's data to c
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - sets this instance's data to x*y
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - sets this instance's data to x/y
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - sets this instance's data to c*x
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - sets this instance's data to abs(x)
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - sets this instance's data to 1/x
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - sets this instance's data to x+b
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - returns dot product sum(data^T * x)
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - returns all data max norm
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - returns all data weighted RMS (root mean square) norm
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for completeness
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - returns all data min
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - returns all data L1 norm (sum abs values)
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for completeness
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for completeness
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for completeness
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for completeness
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for completeness
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS operation - returns the total number of cells in the nvector NOTE: careful for covered AMR cells, ghost cells, etc. And should probably be multiplied by the number of components
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
Placeholder for MPI. Does not have to be implemented, here for futures
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
Placeholder for MPI. Does not have to be implemented, but here for futures
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for futures
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |
SUNDIALS - does not have to be implemented, but here for futures
Implemented in AmrAdaptor, and SimpleAdaptor.
Referenced by ~ChomboSundialsAdaptor().
|
pure virtual |