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

*** empty log message ***

parent 123ddb2e
No related branches found
No related tags found
No related merge requests found
// $Id: LevelsetPlugin.cpp,v 1.18 2001-08-12 11:02:05 geuzaine Exp $ // $Id: LevelsetPlugin.cpp,v 1.19 2001-08-13 06:59:52 geuzaine Exp $
#include "LevelsetPlugin.h" #include "LevelsetPlugin.h"
#include "List.h" #include "List.h"
...@@ -96,11 +96,10 @@ Post_View *GMSH_LevelsetPlugin::execute (Post_View *v) ...@@ -96,11 +96,10 @@ Post_View *GMSH_LevelsetPlugin::execute (Post_View *v)
prosca(n,_ref,&test); prosca(n,_ref,&test);
break; break;
case ORIENT_SPHERE: case ORIENT_SPHERE:
gr[0] = _ref[0]-Xp[0]; gr[0] = Xp[0]-_ref[0];
gr[1] = _ref[1]-Yp[0]; gr[1] = Yp[0]-_ref[1];
gr[2] = _ref[2]-Zp[0]; gr[2] = Zp[0]-_ref[2];
prosca(gr,n,&test); prosca(gr,n,&test);
test = -test;
break; break;
default: default:
test = 0.; test = 0.;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment