173 |
class ObjectToTreat; |
class ObjectToTreat; |
174 |
friend class SurfaceMeshGenerator; |
friend class SurfaceMeshGenerator; |
175 |
|
|
176 |
typedef std::map<TinyVector<3,real_t>, ReferenceCounting<SurfaceMesh> > VRRefMesh; |
typedef std::map<TinyVector<3,real_t>, SurfaceMesh* > VRRefMesh; |
177 |
|
|
178 |
typedef std::list<TinyVector<3,Edge::Pair> > EdgePairList; |
typedef std::list<TinyVector<3,Edge::Pair> > EdgePairList; |
179 |
typedef std::list<const Cell*> MotherCellList; |
typedef std::list<const Cell*> MotherCellList; |
3086 |
case (Boundary::povRay): { |
case (Boundary::povRay): { |
3087 |
const BoundaryPOVRay& bp = dynamic_cast<const BoundaryPOVRay&>(B); |
const BoundaryPOVRay& bp = dynamic_cast<const BoundaryPOVRay&>(B); |
3088 |
for(size_t k=0; k<bp.nbPOVRef(); ++k) { |
for(size_t k=0; k<bp.nbPOVRef(); ++k) { |
3089 |
ReferenceCounting<SurfaceMesh> refMesh = vrRefMesh[bp.POVRef(k)]; |
SurfaceMesh* refMesh = vrRefMesh[bp.POVRef(k)]; |
3090 |
bcMeshAssociation.addPDEBoundaryConditionAndMesh(i,&BC,refMesh); |
bcMeshAssociation.addPDEBoundaryConditionAndMesh(i,&BC,refMesh); |
3091 |
} |
} |
3092 |
break; |
break; |
3126 |
case (Boundary::povRay): { |
case (Boundary::povRay): { |
3127 |
const BoundaryPOVRay& bp = dynamic_cast<const BoundaryPOVRay&>(B); |
const BoundaryPOVRay& bp = dynamic_cast<const BoundaryPOVRay&>(B); |
3128 |
for(size_t k=0; k<bp.nbPOVRef(); ++k) { |
for(size_t k=0; k<bp.nbPOVRef(); ++k) { |
3129 |
ReferenceCounting<SurfaceMesh> refMesh = vrRefMesh[bp.POVRef(k)]; |
SurfaceMesh* refMesh = vrRefMesh[bp.POVRef(k)]; |
3130 |
bcMeshAssociation.bilinearBorderOperatorAdd(*i, refMesh); |
bcMeshAssociation.bilinearBorderOperatorAdd(*i, refMesh); |
3131 |
} |
} |
3132 |
break; |
break; |
3162 |
case (Boundary::povRay): { |
case (Boundary::povRay): { |
3163 |
const BoundaryPOVRay& bp = dynamic_cast<const BoundaryPOVRay&>(B); |
const BoundaryPOVRay& bp = dynamic_cast<const BoundaryPOVRay&>(B); |
3164 |
for(size_t k=0; k<bp.nbPOVRef(); ++k) { |
for(size_t k=0; k<bp.nbPOVRef(); ++k) { |
3165 |
ReferenceCounting<SurfaceMesh> refMesh = vrRefMesh[bp.POVRef(k)]; |
SurfaceMesh* refMesh = vrRefMesh[bp.POVRef(k)]; |
3166 |
bcMeshAssociation.linearBorderOperatorAdd(*i, refMesh); |
bcMeshAssociation.linearBorderOperatorAdd(*i, refMesh); |
3167 |
} |
} |
3168 |
break; |
break; |
3169 |
} |
} |