void CartCellDoubleLinearCFInterpolation::setPatchDataIndex(const int patch_data_index) { std::set<int> patch_data_indices; patch_data_indices.insert(patch_data_index); setPatchDataIndices(patch_data_indices); return; } // setPatchDataIndex
void RobinPhysBdryPatchStrategy::setPatchDataIndex(const int patch_data_index) { std::set<int> patch_data_indices; patch_data_indices.insert(patch_data_index); setPatchDataIndices(patch_data_indices); return; } // setPatchDataIndex
CartCellRobinPhysBdryOp::CartCellRobinPhysBdryOp(const ComponentSelector& patch_data_indices, RobinBcCoefStrategy<NDIM>* const bc_coef, const bool homogeneous_bc) : RobinPhysBdryPatchStrategy() { setPatchDataIndices(patch_data_indices); setPhysicalBcCoef(bc_coef); setHomogeneousBc(homogeneous_bc); return; } // CartCellRobinPhysBdryOp
CartCellRobinPhysBdryOp::CartCellRobinPhysBdryOp( const std::set<int>& patch_data_indices, const std::vector<RobinBcCoefStrategy<NDIM>*>& bc_coefs, const bool homogeneous_bc) : RobinPhysBdryPatchStrategy() { setPatchDataIndices(patch_data_indices); setPhysicalBcCoefs(bc_coefs); setHomogeneousBc(homogeneous_bc); return; } // CartCellRobinPhysBdryOp
void CartCellDoubleLinearCFInterpolation::setPatchDataIndices( const ComponentSelector& patch_data_indices) { std::set<int> patch_data_index_set; for (int l = 0; l < patch_data_indices.getSize(); ++l) { if (patch_data_indices.isSet(l)) { const int patch_data_index = l; patch_data_index_set.insert(patch_data_index); } } setPatchDataIndices(patch_data_index_set); return; } // setPatchDataIndices
void RobinPhysBdryPatchStrategy::setPatchDataIndices(const ComponentSelector& patch_data_indices) { std::set<int> patch_data_index_set; for (int l = 0; l < patch_data_indices.getSize(); ++l) { if (patch_data_indices.isSet(l)) { const int patch_data_index = l; patch_data_index_set.insert(patch_data_index); } } setPatchDataIndices(patch_data_index_set); return; } // setPatchDataIndices