IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
Public Member Functions | List of all members
IBTK::PatchMathOps Class Reference

Class PatchMathOps provides functionality to perform mathematical operations on individual SAMRAI::hier::Patch objects. More...

#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/PatchMathOps.h>

Inheritance diagram for IBTK::PatchMathOps:
Inheritance graph
[legend]

Public Member Functions

 PatchMathOps ()=default
 Default constructor.
 
virtual ~PatchMathOps ()=default
 Destructor.
 

Mathematical operations.

void curl (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = curl src. More...
 
void curl (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = curl src. More...
 
void curl (SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = curl src. More...
 
void curl (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = curl src. More...
 
void curl (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = curl src. More...
 
void curl (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = curl src. More...
 
void curl (SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = curl src. More...
 
void rot (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, CartSideRobinPhysBdryOp *bc_op=nullptr, double fill_time=0.0) const
 Computes dst = rot src. More...
 
void rot (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, CartSideRobinPhysBdryOp *bc_op=nullptr, double fill_time=0.0) const
 Computes dst = rot src. More...
 
void rot (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, CartSideRobinPhysBdryOp *bc_op=nullptr, double fill_time=0.0) const
 Computes dst = rot src. More...
 
void rot (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, CartSideRobinPhysBdryOp *bc_op=nullptr, double fill_time=0.0) const
 Computes dst = rot src. More...
 
void div (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0, int m=0) const
 Computes dst_l = alpha div src1 + beta src2_m. More...
 
void div (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0, int m=0) const
 Computes dst_l = alpha div src1 + beta src2_m. More...
 
void div (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0, int m=0) const
 Computes dst_l = alpha div src1 + beta src2_m. More...
 
void grad (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0) const
 Computes dst = alpha grad src1_l + beta src2. More...
 
void grad (SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0) const
 Computes dst = alpha grad src1_l + beta src2. More...
 
void grad (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0) const
 Computes dst = alpha grad src1_l + beta src2. More...
 
void grad (SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0) const
 Computes dst = alpha grad src1_l + beta src2. More...
 
void grad (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0) const
 Computes dst = alpha grad src1_l + beta src2. More...
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the cell-centered vector field dst from the face-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the cell-centered vector field dst from the side-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the face-centered vector field dst from the cell-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the side-centered vector field dst from the cell-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the cell-centered vector field dst from the node-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the cell-centered vector field dst from the edge-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, bool dst_ghost_interp) const
 Computes the node-centered vector field dst from the cell-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the node-centered vector field dst from the face-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the node-centered vector field dst from the side-centered vector field src by spatial averaging.
 
void interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, bool dst_ghost_interp) const
 Computes the edge-centered vector field dst from the cell-centered vector field src by spatial averaging.
 
void harmonic_interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes the side-centered vector field dst from the cell-centered vector field src by spatial harmonic averaging.
 
void harmonic_interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, bool dst_ghost_interp) const
 Computes the node-centered vector field dst from the cell-centered vector field src by spatial harmonic averaging.
 
void harmonic_interp (SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, bool dst_ghost_interp) const
 Computes the edge-centered vector field dst from the cell-centered vector field src by spatial harmonic averaging.
 
void laplace (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, double alpha, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double gamma, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0, int m=0, int n=0) const
 Computes dst_l = alpha L src1_m + beta src1_m + gamma src2_n. More...
 
void laplace (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, double alpha, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src1, double gamma, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0, int m=0, int n=0) const
 Computes dst_l = alpha L src1_m + beta src1_m + gamma src2_n. More...
 
void laplace (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > alpha, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double gamma, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0, int m=0, int n=0) const
 Computes dst_l = div alpha grad src1_m + beta src1_m + gamma src2_n. More...
 
void laplace (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > alpha, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double gamma, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int l=0, int m=0, int n=0) const
 Computes dst_l = div alpha grad src1_m + beta src1_m + gamma src2_n. More...
 
void vc_laplace (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, double alpha, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > coef1, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > coef2, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src1, double gamma, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, bool use_harmonic_interp, int l=0, int m=0, int n=0) const
 Computes dst_l = alpha div coef1 ((grad src1_m) + (grad src1_m)^T) More...
 
void vc_laplace (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, double alpha, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > > coef1, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > coef2, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src1, double gamma, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, bool use_harmonic_interp, int l=0, int m=0, int n=0) const
 Computes dst_l = alpha div coef1 ((grad src1_m) + (grad src1_m)^T) More...
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0) const
 Compute dst_i = alpha src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0) const
 Compute dst_i = alpha_l src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src1, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0, int m=0) const
 Compute dst_i = alpha_l src1_j + beta_m src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0) const
 Compute dst_i = alpha src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0) const
 Compute dst_i = alpha_l src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src1, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0, int m=0) const
 Compute dst_i = alpha_l src1_j + beta_m src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0) const
 Compute dst_i = alpha src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0) const
 Compute dst_i = alpha_l src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src1, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0, int m=0) const
 Compute dst_i = alpha_l src1_j + beta_m src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, double alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0) const
 Compute dst_i = alpha src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src1, double beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0) const
 Compute dst_i = alpha_l src1_j + beta src2_k, pointwise.
 
void pointwiseMultiply (SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > alpha, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src1, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > beta, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src2, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch, int i=0, int j=0, int k=0, int l=0, int m=0) const
 Compute dst_i = alpha_l src1_j + beta_m src2_k, pointwise.
 
void pointwiseL1Norm (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Compute dst = |src|_1, pointwise. More...
 
void pointwiseL2Norm (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Compute dst = |src|_2, pointwise. More...
 
void pointwiseMaxNorm (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Compute dst = |src|_oo, pointwise. More...
 
void pointwiseL1Norm (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Compute dst = |src|_1, pointwise. More...
 
void pointwiseL2Norm (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Compute dst = |src|_2, pointwise. More...
 
void pointwiseMaxNorm (SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Compute dst = |src|_oo, pointwise. More...
 
void strain_rate (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst1, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst2, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst1 = strain src (diagonal), and dst2 = strain src (off diagonal). More...
 
void strain_rate (SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > > dst, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > > src, SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > > patch) const
 Computes dst = strain src. More...
 

Detailed Description

Class PatchMathOps provides functionality to perform mathematical operations on individual SAMRAI::hier::Patch objects.

Note
Coarse-fine interface discretizations are handled in an implicit manner via ghost cells.

Member Function Documentation

◆ curl() [1/7]

void IBTK::PatchMathOps::curl ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = curl src.

Uses centered differences.

◆ curl() [2/7]

void IBTK::PatchMathOps::curl ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = curl src.

Uses centered differences.

◆ curl() [3/7]

void IBTK::PatchMathOps::curl ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = curl src.

Uses centered differences.

◆ curl() [4/7]

void IBTK::PatchMathOps::curl ( SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = curl src.

Uses centered differences.

◆ curl() [5/7]

void IBTK::PatchMathOps::curl ( SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = curl src.

Uses centered differences.

◆ curl() [6/7]

void IBTK::PatchMathOps::curl ( SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = curl src.

Uses centered differences.

◆ curl() [7/7]

void IBTK::PatchMathOps::curl ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = curl src.

Uses centered differences.

◆ div() [1/3]

void IBTK::PatchMathOps::div ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
double  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0,
int  m = 0 
) const

Computes dst_l = alpha div src1 + beta src2_m.

Uses centered differences.

◆ div() [2/3]

void IBTK::PatchMathOps::div ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
double  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0,
int  m = 0 
) const

Computes dst_l = alpha div src1 + beta src2_m.

Uses centered differences.

◆ div() [3/3]

void IBTK::PatchMathOps::div ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
double  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0,
int  m = 0 
) const

Computes dst_l = alpha div src1 + beta src2_m.

Uses centered differences.

◆ grad() [1/5]

void IBTK::PatchMathOps::grad ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
double  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0 
) const

Computes dst = alpha grad src1_l + beta src2.

Uses centered differences.

◆ grad() [2/5]

void IBTK::PatchMathOps::grad ( SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  dst,
double  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0 
) const

Computes dst = alpha grad src1_l + beta src2.

Uses centered differences.

◆ grad() [3/5]

void IBTK::PatchMathOps::grad ( SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0 
) const

Computes dst = alpha grad src1_l + beta src2.

Uses centered differences.

◆ grad() [4/5]

void IBTK::PatchMathOps::grad ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
double  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0 
) const

Computes dst = alpha grad src1_l + beta src2.

Uses centered differences.

◆ grad() [5/5]

void IBTK::PatchMathOps::grad ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  alpha,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0 
) const

Computes dst = alpha grad src1_l + beta src2.

Uses centered differences.

◆ laplace() [1/4]

void IBTK::PatchMathOps::laplace ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
double  alpha,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  gamma,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0,
int  m = 0,
int  n = 0 
) const

Computes dst_l = alpha L src1_m + beta src1_m + gamma src2_n.

Uses the standard 5 point stencil in 2D (7 point stencil in 3D).

◆ laplace() [2/4]

void IBTK::PatchMathOps::laplace ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceData< NDIM, double > >  alpha,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  gamma,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0,
int  m = 0,
int  n = 0 
) const

Computes dst_l = div alpha grad src1_m + beta src1_m + gamma src2_n.

Uses a 9 point stencil in 2D (19 point stencil in 3D).

◆ laplace() [3/4]

void IBTK::PatchMathOps::laplace ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  alpha,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src1,
double  gamma,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0,
int  m = 0,
int  n = 0 
) const

Computes dst_l = div alpha grad src1_m + beta src1_m + gamma src2_n.

Uses a 9 point stencil in 2D (19 point stencil in 3D).

◆ laplace() [4/4]

void IBTK::PatchMathOps::laplace ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
double  alpha,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src1,
double  gamma,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
int  l = 0,
int  m = 0,
int  n = 0 
) const

Computes dst_l = alpha L src1_m + beta src1_m + gamma src2_n.

Uses the standard 5 point stencil in 2D (7 point stencil in 3D).

◆ pointwiseL1Norm() [1/2]

void IBTK::PatchMathOps::pointwiseL1Norm ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Compute dst = |src|_1, pointwise.

See also
resetLevels

◆ pointwiseL1Norm() [2/2]

void IBTK::PatchMathOps::pointwiseL1Norm ( SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Compute dst = |src|_1, pointwise.

See also
resetLevels

◆ pointwiseL2Norm() [1/2]

void IBTK::PatchMathOps::pointwiseL2Norm ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Compute dst = |src|_2, pointwise.

See also
resetLevels

◆ pointwiseL2Norm() [2/2]

void IBTK::PatchMathOps::pointwiseL2Norm ( SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Compute dst = |src|_2, pointwise.

See also
resetLevels

◆ pointwiseMaxNorm() [1/2]

void IBTK::PatchMathOps::pointwiseMaxNorm ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Compute dst = |src|_oo, pointwise.

See also
resetLevels

◆ pointwiseMaxNorm() [2/2]

void IBTK::PatchMathOps::pointwiseMaxNorm ( SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Compute dst = |src|_oo, pointwise.

See also
resetLevels

◆ rot() [1/4]

void IBTK::PatchMathOps::rot ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
CartSideRobinPhysBdryOp bc_op = nullptr,
double  fill_time = 0.0 
) const

Computes dst = rot src.

Uses centered differences.

◆ rot() [2/4]

void IBTK::PatchMathOps::rot ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
CartSideRobinPhysBdryOp bc_op = nullptr,
double  fill_time = 0.0 
) const

Computes dst = rot src.

Uses centered differences.

◆ rot() [3/4]

void IBTK::PatchMathOps::rot ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
CartSideRobinPhysBdryOp bc_op = nullptr,
double  fill_time = 0.0 
) const

Computes dst = rot src.

Uses centered differences.

◆ rot() [4/4]

void IBTK::PatchMathOps::rot ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
CartSideRobinPhysBdryOp bc_op = nullptr,
double  fill_time = 0.0 
) const

Computes dst = rot src.

Uses centered differences.

◆ strain_rate() [1/2]

void IBTK::PatchMathOps::strain_rate ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst = strain src.

Uses centered differences.

◆ strain_rate() [2/2]

void IBTK::PatchMathOps::strain_rate ( SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst1,
SAMRAI::tbox::Pointer< SAMRAI::pdat::CellData< NDIM, double > >  dst2,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch 
) const

Computes dst1 = strain src (diagonal), and dst2 = strain src (off diagonal).

Uses centered differences.

◆ vc_laplace() [1/2]

void IBTK::PatchMathOps::vc_laplace ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
double  alpha,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeData< NDIM, double > >  coef1,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  coef2,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src1,
double  gamma,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
bool  use_harmonic_interp,
int  l = 0,
int  m = 0,
int  n = 0 
) const

Computes dst_l = alpha div coef1 ((grad src1_m) + (grad src1_m)^T)

  • beta coef2 src1_m + gamma src2_n.

◆ vc_laplace() [2/2]

void IBTK::PatchMathOps::vc_laplace ( SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  dst,
double  alpha,
double  beta,
SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeData< NDIM, double > >  coef1,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  coef2,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src1,
double  gamma,
SAMRAI::tbox::Pointer< SAMRAI::pdat::SideData< NDIM, double > >  src2,
SAMRAI::tbox::Pointer< SAMRAI::hier::Patch< NDIM > >  patch,
bool  use_harmonic_interp,
int  l = 0,
int  m = 0,
int  n = 0 
) const

Computes dst_l = alpha div coef1 ((grad src1_m) + (grad src1_m)^T)

  • beta coef2 src1_m + gamma src2_n.

The documentation for this class was generated from the following files: