|
IBAMR
IBAMR version 0.19.
|
Class HierarchyMathOps provides functionality to perform "composite-grid" mathematical operations on a range of levels in a SAMRAI::hier::PatchHierarchy object. More...
#include <ibtk/HierarchyMathOps.h>

Public Member Functions | |
| HierarchyMathOps (std::string name, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int coarsest_ln=invalid_level_number, int finest_ln=invalid_level_number, std::string coarsen_op_name="CONSERVATIVE_COARSEN") | |
| Constructor. More... | |
| virtual | ~HierarchyMathOps ()=default |
| Destructor. More... | |
Methods to set the hierarchy and range of levels. | |
| void | setPatchHierarchy (SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy) |
| Reset the patch hierarchy over which operations occur. More... | |
| void | resetLevels (int coarsest_ln, int finest_ln) |
| Reset range of patch levels over which operations occur. More... | |
Methods to get cell weight data. | |
| std::string | d_object_name |
| SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > | d_hierarchy |
| SAMRAI::tbox::Pointer< SAMRAI::geom::CartesianGridGeometry< NDIM > > | d_grid_geom |
| int | d_coarsest_ln |
| int | d_finest_ln |
| SAMRAIDataCache | d_cached_eulerian_data |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | d_fc_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | d_nc_s_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | d_nc_v_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | d_sc_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | d_ec_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::OuteredgeVariable< NDIM, double > > | d_oe_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::OuterfaceVariable< NDIM, double > > | d_of_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::OuternodeVariable< NDIM, double > > | d_on_s_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::OuternodeVariable< NDIM, double > > | d_on_v_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::OutersideVariable< NDIM, double > > | d_os_var |
| int | d_ec_idx = IBTK::invalid_index |
| int | d_fc_idx = IBTK::invalid_index |
| int | d_nc_s_idx = IBTK::invalid_index |
| int | d_nc_v_idx = IBTK::invalid_index |
| int | d_oe_idx = IBTK::invalid_index |
| int | d_sc_idx = IBTK::invalid_index |
| int | d_of_idx = IBTK::invalid_index |
| int | d_on_s_idx = IBTK::invalid_index |
| int | d_on_v_idx = IBTK::invalid_index |
| int | d_os_idx = IBTK::invalid_index |
| std::string | d_coarsen_op_name |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenOperator< NDIM > > | d_of_coarsen_op |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenOperator< NDIM > > | d_on_s_coarsen_op |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenOperator< NDIM > > | d_on_v_coarsen_op |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenOperator< NDIM > > | d_os_coarsen_op |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenOperator< NDIM > > | d_oe_coarsen_op |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenAlgorithm< NDIM > > | d_of_coarsen_alg |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenAlgorithm< NDIM > > | d_on_s_coarsen_alg |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenAlgorithm< NDIM > > | d_on_v_coarsen_alg |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenAlgorithm< NDIM > > | d_os_coarsen_alg |
| SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenAlgorithm< NDIM > > | d_oe_coarsen_alg |
| std::vector< SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenSchedule< NDIM > > > | d_of_coarsen_scheds |
| std::vector< SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenSchedule< NDIM > > > | d_on_s_coarsen_scheds |
| std::vector< SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenSchedule< NDIM > > > | d_on_v_coarsen_scheds |
| std::vector< SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenSchedule< NDIM > > > | d_os_coarsen_scheds |
| std::vector< SAMRAI::tbox::Pointer< SAMRAI::xfer::CoarsenSchedule< NDIM > > > | d_oe_coarsen_scheds |
| SAMRAI::tbox::Pointer< SAMRAI::math::HierarchyCellDataOpsReal< NDIM, double > > | d_hier_cc_data_ops |
| SAMRAI::tbox::Pointer< SAMRAI::math::HierarchyFaceDataOpsReal< NDIM, double > > | d_hier_fc_data_ops |
| SAMRAI::tbox::Pointer< SAMRAI::math::HierarchySideDataOpsReal< NDIM, double > > | d_hier_sc_data_ops |
| PatchMathOps | d_patch_math_ops |
| SAMRAI::tbox::Pointer< SAMRAI::hier::VariableContext > | d_context |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | d_wgt_cc_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | d_wgt_fc_var |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | d_wgt_sc_var |
| int | d_wgt_cc_idx = IBTK::invalid_index |
| int | d_wgt_fc_idx = IBTK::invalid_index |
| int | d_wgt_sc_idx = IBTK::invalid_index |
| bool | d_using_wgt_cc = false |
| bool | d_using_wgt_fc = false |
| bool | d_using_wgt_sc = false |
| double | d_volume = 0.0 |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | getCellWeightVariable () const |
| Access the SAMRAI::pdat::CellVariable that is used to store cell weights. These weights are used in computing discrete vector norms. More... | |
| int | getCellWeightPatchDescriptorIndex () |
| Access the patch descriptor index that corresponds to the SAMRAI::pdat::CellVariable that is used to store cell weights. These weights are used in computing discrete vector norms. More... | |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | getFaceWeightVariable () const |
| Access the SAMRAI::pdat::FaceVariable that is used to store face weights. These weights are used in computing discrete vector norms. More... | |
| int | getFaceWeightPatchDescriptorIndex () |
| Access the patch descriptor index that corresponds to the SAMRAI::pdat::FaceVariable that is used to store face weights. These weights are used in computing discrete vector norms. More... | |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | getSideWeightVariable () const |
| Access the SAMRAI::pdat::SideVariable that is used to store side weights. These weights are used in computing discrete vector norms. More... | |
| int | getSideWeightPatchDescriptorIndex () |
| Access the patch descriptor index that corresponds to the SAMRAI::pdat::SideVariable that is used to store side weights. These weights are used in computing discrete vector norms. More... | |
| double | getVolumeOfPhysicalDomain () const |
| Returns the volume of the physical domain. More... | |
| SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > | getPatchHierarchy () const |
| Get the patch hierarchy object associated with the class. More... | |
| void | setCoarsenOperatorName (const std::string &coarsen_op_name) |
| Set the name of the coarsen operator used for synchronizing the coarse-fine boundary. More... | |
| void | curl (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the cell-centered curl of a cell-centered vector field using centered differences. More... | |
| void | curl (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the cell-centered curl of a face-centered vector field using centered differences. More... | |
| void | curl (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the cell-centered curl of a face-centered vector field using centered differences. More... | |
| void | curl (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the cell-centered curl of a side-centered vector field using centered differences. More... | |
| void | curl (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the cell-centered curl of a side-centered vector field using centered differences. More... | |
| void | curl (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, bool src_cf_bdry_synch) |
| Compute the node-centered curl of a side-centered vector field using centered differences. More... | |
| void | curl (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the edge-centered curl of a side-centered vector field using centered differences. More... | |
| void | rot (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > &bc_coefs=std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >()) |
| Compute the side-centered rot of a node-centered scalar field using centered differences. More... | |
| void | rot (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > &bc_coefs=std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >()) |
| Compute the side-centered rot of a node-centered scalar field using centered differences. More... | |
| void | rot (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > &bc_coefs=std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >()) |
| Compute the side-centered rot of a edge-centered vector field using centered differences. More... | |
| void | rot (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > &bc_coefs=std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >()) |
| Compute the side-centered rot of a side-centered vector field using centered differences. More... | |
| void | div (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src2_depth=0) |
| Compute the cell-centered divergence of a cell-centered vector field using centered differences. More... | |
| void | div (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, bool src1_cf_bdry_synch, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src2_depth=0) |
| Compute the cell-centered divergence of a face-centered normal vector field using centered differences. More... | |
| void | div (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, bool src1_cf_bdry_synch, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src2_depth=0) |
| Compute the cell-centered divergence of a side-centered normal vector field using centered differences. More... | |
| void | grad (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int src1_depth=0) |
| Compute the gradient of a scalar quantity using centered differences. More... | |
| void | grad (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src2_var=nullptr, int src1_depth=0) |
| Compute the gradient of a scalar quantity using centered differences. More... | |
| void | grad (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr, int src1_depth=0) |
| Compute the gradient of a scalar quantity using centered differences. More... | |
| void | grad (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int src1_depth=0) |
| Compute the gradient of a scalar quantity using centered differences. More... | |
| void | grad (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int src1_depth=0) |
| Compute the gradient of a scalar quantity using centered differences. More... | |
| void | grad (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src2_var=nullptr, int src1_depth=0) |
| Compute the gradient of a scalar quantity using centered differences. More... | |
| void | grad (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr, int src1_depth=0) |
| Compute the gradient of a scalar quantity using centered differences. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, bool src_cf_bdry_synch) |
| Interpolate to a cell-centered vector/tensor field from a face-centered normal vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, bool src_cf_bdry_synch) |
| Interpolate to a cell-centered vector/tensor field from a side-centered normal vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Interpolate to a face-centered normal vector/tensor field from a cell-centered vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Interpolate to a side-centered normal vector/tensor field from a cell-centered vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, bool src_cf_bdry_synch) |
| Interpolate to a cell-centered vector/tensor field from a node-centered vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, bool src_cf_bdry_synch) |
| Interpolate to a cell-centered vector/tensor field from an edge-centered vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Interpolate to a node-centered vector/tensor field from a cell-centered vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, bool src_cf_bdry_synch) |
| Interpolate to a node-centered vector/tensor field from a face-centered normal vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time, bool src_cf_bdry_synch) |
| Interpolate to a node-centered vector/tensor field from a side-centered normal vector/tensor field. More... | |
| void | interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Interpolate to a edge-centered vector/tensor field from a cell-centered vector/tensor field. More... | |
| void | harmonic_interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, bool dst_cf_bdry_synch, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Harmonically interpolate to a side-centered normal vector/tensor field from a cell-centered vector/tensor field. This should be used when the gradients in the src quantity are large. More... | |
| void | harmonic_interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Harmonically interpolate to a node-centered vector/tensor field from a cell-centered vector/tensor field. This should be used when the gradients in the src quantity are large. More... | |
| void | harmonic_interp (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Harmonically interpolate to a edge-centered vector/tensor field from a cell-centered vector/tensor field. This should be used when the gradients in the src quantity are large. More... | |
| void | interp_ghosted (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Interpolate to a node-centered vector/tensor field from a cell-centered vector/tensor field. Interpolate both in the cell and in the ghost region. More... | |
| void | interp_ghosted (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Interpolate to a edge-centered vector/tensor field from a cell-centered vector/tensor field. More... | |
| void | harmonic_interp_ghosted (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Harmonically interpolate to a node-centered vector/tensor field from a cell-centered vector/tensor field. This should be used when the gradients in the src quantity are large. More... | |
| void | harmonic_interp_ghosted (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Harmonically interpolate to a edge-centered vector/tensor field from a cell-centered vector/tensor field. This should be used when the gradients in the src quantity are large. More... | |
| void | laplace (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, const SAMRAI::solv::PoissonSpecifications &poisson_spec, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double gamma=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0) |
| Compute the Laplacian of a scalar quantity using centered differences. More... | |
| void | laplace (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, const SAMRAI::solv::PoissonSpecifications &poisson_spec, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, double gamma=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr) |
| Compute the Laplacian of a scalar quantity using centered differences. More... | |
| void | vc_laplace (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, double alpha, double beta, int coef1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > coef1_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, IBTK::VCInterpType coef1_interp_type=VC_HARMONIC_INTERP, int coef2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > coef2_var=nullptr, double gamma=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr) |
| Compute dst = alpha div coef1 ((grad src1) + (grad src1)^T) + beta coef2 src1 + gamma src2, the variable coefficient generalized Laplacian of src1. More... | |
| void | vc_laplace (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, double alpha, double beta, int coef1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > coef1_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src1_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src1_ghost_fill, double src1_ghost_fill_time, IBTK::VCInterpType coef1_interp_type=VC_HARMONIC_INTERP, int coef2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > coef2_var=nullptr, double gamma=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr) |
| Compute dst = alpha div coef1 ((grad src1) + (grad src1)^T) + beta coef2 src1 + gamma src2, the variable coefficient generalized Laplacian of src1. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src1_var, int beta_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > beta_var=nullptr, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0, int beta_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src1_var, int beta_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > beta_var=nullptr, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0, int beta_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src1_var, int beta_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > beta_var=nullptr, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0, int beta_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, double alpha, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src1_var, double beta=0.0, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseMultiply (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > dst_var, int alpha_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > alpha_var, int src1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src1_var, int beta_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > beta_var=nullptr, int src2_idx=invalid_index, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src2_var=nullptr, int dst_depth=0, int src1_depth=0, int src2_depth=0, int alpha_depth=0, int beta_depth=0) |
| Compute dst = alpha src1 + beta src2, pointwise. More... | |
| void | pointwiseL1Norm (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var) |
| Compute dst = |src|_1, pointwise. More... | |
| void | pointwiseL2Norm (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var) |
| Compute dst = |src|_2, pointwise. More... | |
| void | pointwiseMaxNorm (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > src_var) |
| Compute dst = |src|_oo, pointwise. More... | |
| void | pointwiseL1Norm (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src_var) |
| Compute dst = |src|_1, pointwise. More... | |
| void | pointwiseL2Norm (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src_var) |
| Compute dst = |src|_2, pointwise. More... | |
| void | pointwiseMaxNorm (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > src_var) |
| Compute dst = |src|_oo, pointwise. More... | |
| void | strain_rate (int dst1_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst1_var, int dst2_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst2_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the cell-centered strain rate of a side-centered vector field using centered differences. More... | |
| void | strain_rate (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > dst_var, int src_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > src_var, SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > src_ghost_fill, double src_ghost_fill_time) |
| Compute the cell-centered strain rate of a side-centered vector field using centered differences. More... | |
| void | enforceHangingNodeConstraints (int dst_idx, SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > dst_var) |
| Enforce hanging node constraints in the sense of making the resulting bilinear or trilinear interpolation of nodal data continuous across the coarse-fine interface. More... | |
| HierarchyMathOps ()=delete | |
| Default constructor. More... | |
| HierarchyMathOps (const HierarchyMathOps &from)=delete | |
| Copy constructor. More... | |
| HierarchyMathOps & | operator= (const HierarchyMathOps &that)=delete |
| Assignment operator. More... | |
| void | resetCoarsenOperators () |
| Reset the coarsen operators. More... | |
| void | resetRefineOperators () |
| Reset the refine operators. More... | |
| void | xeqScheduleOuterfaceRestriction (int dst_idx, int src_idx, int dst_ln) |
| Execute schedule for restricting Outerface data to the specified level from the next finer level. More... | |
| void | xeqScheduleOuternodeRestriction (int dst_idx, int src_idx, int dst_ln) |
| Execute schedule for restricting Outernode data to the specified level from the next finer level. More... | |
| void | xeqScheduleOutersideRestriction (int dst_idx, int src_idx, int dst_ln) |
| Execute schedule for restricting Outerside data to the specified level from the next finer level. More... | |
| void | xeqScheduleOuteredgeRestriction (int dst_idx, int src_idx, int dst_ln) |
| Execute schedule for restricting Outeredge data to the specified level from the next finer level. More... | |
| void | resetCellWeights (int coarsest_ln, int finest_ln) |
| Reset cell-centered weights, allocating patch data if needed. More... | |
| void | resetFaceWeights (int coarsest_ln, int finest_ln) |
| Reset face-centered weights, allocating patch data if needed. More... | |
| void | resetSideWeights (int coarsest_ln, int finest_ln) |
| Reset side-centered weights, allocating patch data if needed. More... | |
For nodal destination data, if the provided variable has fineBoundaryRepresentsVariable() == false and synch_dst_cf_interface == true then each routine will call HierarchyMathOps::enforceHangingNodeConstraints() to achieve a conforming bi/trilinear discretization.
| IBTK::HierarchyMathOps::HierarchyMathOps | ( | std::string | name, |
| SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > | hierarchy, | ||
| int | coarsest_ln = invalid_level_number, |
||
| int | finest_ln = invalid_level_number, |
||
| std::string | coarsen_op_name = "CONSERVATIVE_COARSEN" |
||
| ) |
Does nothing interesting.
|
virtualdefault |
|
privatedelete |
|
privatedelete |
| from | The value to copy to this object. |
| void IBTK::HierarchyMathOps::setPatchHierarchy | ( | SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > | hierarchy | ) |
The specified levels must exist in the hierarchy or an assertion will result.
| SAMRAI::tbox::Pointer<SAMRAI::pdat::CellVariable<NDIM, double> > IBTK::HierarchyMathOps::getCellWeightVariable | ( | ) | const |
If a cell is not refined in the hierarchy, its weight is set to its volume. If a cell is refined, its weight is set to zero.
| int IBTK::HierarchyMathOps::getCellWeightPatchDescriptorIndex | ( | ) |
If a cell is not refined in the hierarchy, its weight is set to its volume. If a cell is refined, its weight is set to zero.
| SAMRAI::tbox::Pointer<SAMRAI::pdat::FaceVariable<NDIM, double> > IBTK::HierarchyMathOps::getFaceWeightVariable | ( | ) | const |
If a face is not refined in the hierarchy, its weight is set to its volume. If a face is refined, its weight is set to zero.
| int IBTK::HierarchyMathOps::getFaceWeightPatchDescriptorIndex | ( | ) |
If a face is not refined in the hierarchy, its weight is set to its volume. If a face is refined, its weight is set to zero.
| SAMRAI::tbox::Pointer<SAMRAI::pdat::SideVariable<NDIM, double> > IBTK::HierarchyMathOps::getSideWeightVariable | ( | ) | const |
If a side is not refined in the hierarchy, its weight is set to its volume. If a side is refined, its weight is set to zero.
| int IBTK::HierarchyMathOps::getSideWeightPatchDescriptorIndex | ( | ) |
If a side is not refined in the hierarchy, its weight is set to its volume. If a side is refined, its weight is set to zero.
| double IBTK::HierarchyMathOps::getVolumeOfPhysicalDomain | ( | ) | const |
| SAMRAI::tbox::Pointer<SAMRAI::hier::PatchHierarchy<NDIM> > IBTK::HierarchyMathOps::getPatchHierarchy | ( | ) | const |
| void IBTK::HierarchyMathOps::setCoarsenOperatorName | ( | const std::string & | coarsen_op_name | ) |
| void IBTK::HierarchyMathOps::curl | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst = curl src.
Compute the curl of a vector field using centered differences.
| void IBTK::HierarchyMathOps::curl | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst = curl src.
Compute the curl of a vector field using centered differences.
| void IBTK::HierarchyMathOps::curl | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst = curl src.
Compute the curl of a vector field using centered differences.
| void IBTK::HierarchyMathOps::curl | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst = curl src.
Compute the curl of a vector field using centered differences.
| void IBTK::HierarchyMathOps::curl | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst = curl src.
Compute the curl of a vector field using centered differences.
| void IBTK::HierarchyMathOps::curl | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| bool | src_cf_bdry_synch | ||
| ) |
Sets dst = curl src.
Compute the curl of a vector field using centered differences.
| void IBTK::HierarchyMathOps::curl | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst = curl src.
Compute the curl of a vector field using centered differences.
| void IBTK::HierarchyMathOps::rot | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > & | bc_coefs = std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >() |
||
| ) |
Sets dst = rot src.
Compute the rot of a 2d scalar field defined on nodes using centered differences.
| void IBTK::HierarchyMathOps::rot | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > & | bc_coefs = std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >() |
||
| ) |
Sets dst = rot src.
Compute the rot of a 2d scalar field defined on nodes using centered differences.
| void IBTK::HierarchyMathOps::rot | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > & | bc_coefs = std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >() |
||
| ) |
Sets dst = rot src.
Compute the rot of a 3d vector field defined on edges using centered differences.
| void IBTK::HierarchyMathOps::rot | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > & | bc_coefs = std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * >() |
||
| ) |
Sets dst = rot src.
Compute the rot of a 3d vector field defined on sides using centered differences.
| void IBTK::HierarchyMathOps::div | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
Sets dst = alpha div src1 + beta src2.
Compute the divergence of a vector field using centered differences.
| void IBTK::HierarchyMathOps::div | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| bool | src1_cf_bdry_synch, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
Sets dst = alpha div src1 + beta src2.
Compute the divergence of a vector field using centered differences. When specified, coarse values on each coarse-fine interface are synchronized prior to performing the differencing.
| void IBTK::HierarchyMathOps::div | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| bool | src1_cf_bdry_synch, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
Sets dst = alpha div src1 + beta src2.
Compute the divergence of a vector field using centered differences. When specified, coarse values on each coarse-fine interface are synchronized prior to performing the differencing.
| void IBTK::HierarchyMathOps::grad | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | src1_depth = 0 |
||
| ) |
Sets dst = alpha grad src1 + beta src2.
Compute the gradient of a scalar quantity using centered differences.
| void IBTK::HierarchyMathOps::grad | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | src1_depth = 0 |
||
| ) |
Sets dst = alpha grad src1 + beta src2.
Compute the gradient of a scalar quantity using centered differences. When specified, coarse values on each coarse-fine interface are synchronized after performing the differencing.
| void IBTK::HierarchyMathOps::grad | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | src1_depth = 0 |
||
| ) |
Sets dst = alpha grad src1 + beta src2.
Compute the gradient of a scalar quantity using centered differences. When specified, coarse values on each coarse-fine interface are synchronized after performing the differencing.
| void IBTK::HierarchyMathOps::grad | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | src1_depth = 0 |
||
| ) |
Sets dst = alpha grad src1 + beta src2.
Compute the gradient of a scalar quantity using centered differences.
| void IBTK::HierarchyMathOps::grad | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | src1_depth = 0 |
||
| ) |
Sets dst = alpha grad src1 + beta src2.
Compute the gradient of a scalar quantity using centered differences.
| void IBTK::HierarchyMathOps::grad | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | src1_depth = 0 |
||
| ) |
Sets dst = alpha grad src1 + beta src2.
Compute the gradient of a scalar quantity using centered differences. When specified, coarse values on each coarse-fine interface are synchronized after performing the differencing.
| void IBTK::HierarchyMathOps::grad | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | src1_depth = 0 |
||
| ) |
Sets dst = alpha grad src1 + beta src2.
Compute the gradient of a scalar quantity using centered differences. When specified, coarse values on each coarse-fine interface are synchronized after performing the differencing.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| bool | src_cf_bdry_synch | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, coarse values on each coarse-fine interface are synchronized prior to performing the interpolation.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| bool | src_cf_bdry_synch | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, coarse values on each coarse-fine interface are synchronized prior to performing the interpolation.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When the interpolation occurs over over multiple levels of the hierarchy, second order interpolation is used at the coarse-fine interface to correct fine values along the interface. When specified, coarse values on each coarse-fine interface are synchronized after performing the interpolation.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When the interpolation occurs over multiple levels of the hierarchy, second order interpolation is used at the coarse-fine interface to correct fine values along the interface. When specified, coarse values on each coarse-fine interface are synchronized after performing the interpolation.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| bool | src_cf_bdry_synch | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| bool | src_cf_bdry_synch | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| bool | src_cf_bdry_synch | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, coarse values on each coarse-fine interface are synchronized prior to performing the interpolation.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time, | ||
| bool | src_cf_bdry_synch | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, coarse values on each coarse-fine interface are synchronized prior to performing the interpolation.
| void IBTK::HierarchyMathOps::interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, the ghost cells of the edge centered variable are computed as averages of the cell centered variable
| void IBTK::HierarchyMathOps::harmonic_interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| bool | dst_cf_bdry_synch, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) harmonic averaging. When the interpolation occurs over multiple levels of the hierarchy, second order interpolation is used at the coarse-fine interface to correct fine values along the interface. When specified, coarse values on each coarse-fine interface are synchronized after performing the interpolation.
| void IBTK::HierarchyMathOps::harmonic_interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, the ghost cells of the node centered variable are computed as averages of the cell centered variable
| void IBTK::HierarchyMathOps::harmonic_interp | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, the ghost cells of the edge centered variable are computed as averages of the cell centered variable
| void IBTK::HierarchyMathOps::interp_ghosted | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging.
| void IBTK::HierarchyMathOps::interp_ghosted | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, the ghost cells of the edge centered variable are computed as averages of the cell centered variable
| void IBTK::HierarchyMathOps::harmonic_interp_ghosted | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, the ghost cells of the node centered variable are computed as averages of the cell centered variable
| void IBTK::HierarchyMathOps::harmonic_interp_ghosted | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Interpolate a vector or tensor field from one variable type to another using (second-order accurate) averaging. When specified, the ghost cells of the edge centered variable are computed as averages of the cell centered variable
| void IBTK::HierarchyMathOps::laplace | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| const SAMRAI::solv::PoissonSpecifications & | poisson_spec, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | gamma = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
Sets dst = C src1 + div D grad src1 + gamma src2.
Compute the Laplacian of a scalar quantity using centered differences, where C and D are specified by the SAMRAI::solv::PoissonSpecifications object poisson_spec. When the operation is being performed on multiple levels of the hierarchy, the appropriately synchronized gradient and divergence operators are employed to obtain a consistent discretization of the Laplace operator.
| void IBTK::HierarchyMathOps::laplace | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| const SAMRAI::solv::PoissonSpecifications & | poisson_spec, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| double | gamma = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr |
||
| ) |
Sets dst = C src1 + div D grad src1 + gamma src2.
Compute the Laplacian of a scalar quantity using centered differences, where C and D are specified by the SAMRAI::solv::PoissonSpecifications object poisson_spec.
| void IBTK::HierarchyMathOps::vc_laplace | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| double | beta, | ||
| int | coef1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | coef1_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| IBTK::VCInterpType | coef1_interp_type = VC_HARMONIC_INTERP, |
||
| int | coef2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | coef2_var = nullptr, |
||
| double | gamma = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr |
||
| ) |
| void IBTK::HierarchyMathOps::vc_laplace | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| double | beta, | ||
| int | coef1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::EdgeVariable< NDIM, double > > | coef1_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src1_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src1_ghost_fill, | ||
| double | src1_ghost_fill_time, | ||
| IBTK::VCInterpType | coef1_interp_type = VC_HARMONIC_INTERP, |
||
| int | coef2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | coef2_var = nullptr, |
||
| double | gamma = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src1_var, | ||
| int | beta_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | beta_var = nullptr, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0, |
||
| int | beta_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src1_var, | ||
| int | beta_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | beta_var = nullptr, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::FaceVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0, |
||
| int | beta_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src1_var, | ||
| int | beta_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | beta_var = nullptr, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0, |
||
| int | beta_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| double | alpha, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src1_var, | ||
| double | beta = 0.0, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMultiply | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | dst_var, | ||
| int | alpha_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | alpha_var, | ||
| int | src1_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src1_var, | ||
| int | beta_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | beta_var = nullptr, |
||
| int | src2_idx = invalid_index, |
||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src2_var = nullptr, |
||
| int | dst_depth = 0, |
||
| int | src1_depth = 0, |
||
| int | src2_depth = 0, |
||
| int | alpha_depth = 0, |
||
| int | beta_depth = 0 |
||
| ) |
| void IBTK::HierarchyMathOps::pointwiseL1Norm | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var | ||
| ) |
| void IBTK::HierarchyMathOps::pointwiseL2Norm | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var | ||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMaxNorm | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | src_var | ||
| ) |
| void IBTK::HierarchyMathOps::pointwiseL1Norm | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src_var | ||
| ) |
| void IBTK::HierarchyMathOps::pointwiseL2Norm | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src_var | ||
| ) |
| void IBTK::HierarchyMathOps::pointwiseMaxNorm | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | src_var | ||
| ) |
| void IBTK::HierarchyMathOps::strain_rate | ( | int | dst1_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst1_var, | ||
| int | dst2_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst2_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst1 = strain src (diagonal components). Sets dst2 = strain src (off diagonal components).
Compute the strain of a vector field using centered differences.
| void IBTK::HierarchyMathOps::strain_rate | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::CellVariable< NDIM, double > > | dst_var, | ||
| int | src_idx, | ||
| SAMRAI::tbox::Pointer< SAMRAI::pdat::SideVariable< NDIM, double > > | src_var, | ||
| SAMRAI::tbox::Pointer< HierarchyGhostCellInterpolation > | src_ghost_fill, | ||
| double | src_ghost_fill_time | ||
| ) |
Sets dst = strain src.
Compute the strain of a vector field using centered differences.
| void IBTK::HierarchyMathOps::enforceHangingNodeConstraints | ( | int | dst_idx, |
| SAMRAI::tbox::Pointer< SAMRAI::pdat::NodeVariable< NDIM, double > > | dst_var | ||
| ) |
|
privatedelete |
| that | The value to assign to this object. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.17