$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

sparseBlockStructure2D.cpp File Reference

#include "multiBlock/sparseBlockStructure2D.h"
#include "multiBlock/defaultMultiBlockPolicy2D.h"
#include "core/plbDebug.h"
#include <set>
Include dependency graph for sparseBlockStructure2D.cpp:

Namespaces

namespace  plb
 

All OpenLB code is contained in this namespace.


Functions

SparseBlockStructure2D plb::intersect (SparseBlockStructure2D const &sparseBlock, Box2D domain, bool crop)
SparseBlockStructure2D plb::intersect (SparseBlockStructure2D const &sparseBlock, Box2D domain, Box2D newBoundingBox)
 Choose yourself the bounding box of the resulting block structure.
SparseBlockStructure2D plb::intersect (SparseBlockStructure2D const &sparseBlock1, SparseBlockStructure2D const &sparseBlock2, bool crop)
SparseBlockStructure2D plb::extend (SparseBlockStructure2D const &sparseBlock, Box2D addedBulk, Box2D addedUniqueBulk, std::vector< plint > &newIds)
SparseBlockStructure2D plb::except (SparseBlockStructure2D const &sparseBlock, Box2D exceptedBlock, std::map< plint, std::vector< plint > > &remappedIds)
 Make a hole in the original block structure.
SparseBlockStructure2D plb::block_union (SparseBlockStructure2D const &sparseBlock1, SparseBlockStructure2D const &sparseBlock2, std::map< plint, std::vector< plint > > &remappedIds)
 Union of two sparse block structures.
SparseBlockStructure2D plb::alignDistribution2D (SparseBlockStructure2D const &originalStructure, SparseBlockStructure2D const &partnerStructure, std::vector< plint > &newIds, std::map< plint, std::vector< plint > > &remappedFromPartner)

Detailed Description

Fast algorithm for handling sparse multi-block structure -- implementation.