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

*** empty log message ***

parent ab92a367
No related branches found
No related tags found
No related merge requests found
// $Id: BackgroundMesh.cpp,v 1.50 2008-04-01 16:04:14 geuzaine Exp $
// $Id: BackgroundMesh.cpp,v 1.51 2008-04-01 16:08:06 geuzaine Exp $
//
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
//
......@@ -187,6 +187,9 @@ double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double
bool Extend1dMeshIn2dSurfaces()
{
// don't extend 1d mesh in surfaces if there is a background field
if(GModel::current()->getFields()->background_field != -1) return false;
return CTX.mesh.lc_extend_from_boundary ? true : false;
}
......
......@@ -26,5 +26,5 @@ Field[2].DistMax = 0.3;
Background Field = 2;
Mesh.CharacteristicLengthFromPoints = 0;
Mesh.CharacteristicLengthExtendFromBoundary = 0;
//Mesh.CharacteristicLengthFromPoints = 1;
//Mesh.CharacteristicLengthExtendFromBoundary = 1;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment