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

*** empty log message ***

parent a32f2e5f
Branches
Tags
No related merge requests found
// $Id: BackgroundMesh.cpp,v 1.49 2008-04-01 12:47:10 geuzaine Exp $ // $Id: BackgroundMesh.cpp,v 1.50 2008-04-01 16:04:14 geuzaine Exp $
// //
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -187,10 +187,6 @@ double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double ...@@ -187,10 +187,6 @@ double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double
bool Extend1dMeshIn2dSurfaces() bool Extend1dMeshIn2dSurfaces()
{ {
// never extend the 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; return CTX.mesh.lc_extend_from_boundary ? true : false;
} }
......
...@@ -26,5 +26,5 @@ Field[2].DistMax = 0.3; ...@@ -26,5 +26,5 @@ Field[2].DistMax = 0.3;
Background Field = 2; Background Field = 2;
// comment this to NOT take into account lc/200 at Point(2): Mesh.CharacteristicLengthFromPoints = 0;
Mesh.ConstrainedBackgroundMesh = 1; Mesh.CharacteristicLengthExtendFromBoundary = 0;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment