Skip to content
Snippets Groups Projects
Commit e06c68ea authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

better remove dir

parent f2495506
No related branches found
No related tags found
No related merge requests found
......@@ -769,8 +769,7 @@ if(UNIX)
# (on Mac for example "make package; make package_source" would lead
# to huge file lists getting generated due to the 'Applications'
# symlink in the bundle)
set(CPACK_INSTALL_COMMANDS
"${CMAKE_COMMAND} -E remove_directory ${CMAKE_BINARY_DIR}/_CPack_Packages")
set(CPACK_INSTALL_COMMANDS "rm -rf ${CMAKE_BINARY_DIR}/_CPack_Packages")
endif(UNIX)
if(APPLE)
......
......@@ -382,10 +382,11 @@ int getElementVertexNum (DI_Point p, MElement *e)
void assignPhysicals(GModel *GM, std::vector<int> gePhysicals, int reg, int dim,
std::map<int, std::map<int, std::string> > physicals[4])
{
for(unsigned int i = 0; i < gePhysicals.size(); i++)
if(gePhysicals[i] && (!physicals[dim].count(reg) ||
!physicals[dim][reg].count(gePhysicals[i])))
physicals[dim][reg][gePhysicals[i]] = GM->getPhysicalName(dim, gePhysicals[i]);
for(unsigned int i = 0; i < gePhysicals.size(); i++){
int phys = gePhysicals[i];
if(phys && (!physicals[dim].count(reg) || !physicals[dim][reg].count(phys)))
physicals[dim][reg][phys] = GM->getPhysicalName(dim, phys);
}
}
bool equalV(MVertex *v, DI_Point p)
......
l=2;
nb=5;
nb=10;
cl=l/nb;
Point(1) = {-l/2,-l/2,0,cl};
......@@ -29,10 +29,13 @@ Mesh 2;
Levelset Plane (1) = {0,-1,0,0.5};
Levelset Plane (2) = {-1,0,0,0.5};
Levelset Sphere (3) = {{0,0,0},0.75};
Levelset Sphere (3) = {{0,0,0},0.5};
Levelset Ellipsoid (4) = { {0,0,0}, {1,0,0}, 0.55, 0.55, 0.75 };
Levelset Intersection (10) = {1,4};
Levelset CutMesh {10};
Levelset CutMesh {3};
Physical Surface(2000) = 7;
//Transfinite Line{1,3}=nb+1;
//Transfinite Line{2,4}=2*nb+1+1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment