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

pretty print
parent 1b1bd7f6
Branches
Tags
No related merge requests found
// $Id: CutGrid.cpp,v 1.4 2004-04-24 04:46:20 geuzaine Exp $ // $Id: CutGrid.cpp,v 1.5 2004-04-24 05:22:50 geuzaine Exp $
// //
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
......
// $Id: Octree.cpp,v 1.1 2004-04-24 03:52:00 geuzaine Exp $ // $Id: Octree.cpp,v 1.2 2004-04-24 05:22:50 geuzaine Exp $
// //
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
......
// $Id: OctreeInternals.cpp,v 1.1 2004-04-24 03:52:00 geuzaine Exp $ // $Id: OctreeInternals.cpp,v 1.2 2004-04-24 05:22:50 geuzaine Exp $
// //
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
......
// $Id: OctreePost.cpp,v 1.3 2004-04-24 03:52:00 geuzaine Exp $ // $Id: OctreePost.cpp,v 1.4 2004-04-24 05:22:50 geuzaine Exp $
// //
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
...@@ -42,6 +42,7 @@ static double computeBarycentricTriangle(double *X , double *Y, double *Z, ...@@ -42,6 +42,7 @@ static double computeBarycentricTriangle(double *X , double *Y, double *Z,
sys2x2(mat, b, U); sys2x2(mat, b, U);
return 0.5 * ( mat[0][0] * mat[1][1] - mat[1][0] *mat[0][1]); return 0.5 * ( mat[0][0] * mat[1][1] - mat[1][0] *mat[0][1]);
} }
static void computeBarycentricSimplex(double *X, double *Y, double *Z, static void computeBarycentricSimplex(double *X, double *Y, double *Z,
double *P, double *U) double *P, double *U)
{ {
...@@ -414,8 +415,7 @@ bool OctreePost::searchScalar(double x, ...@@ -414,8 +415,7 @@ bool OctreePost::searchScalar(double x,
V[3*i+0] * (1.-U[0]-U[1]-U[2]); V[3*i+0] * (1.-U[0]-U[1]-U[2]);
} }
} }
else else{
{
values[0] = values[0] =
V[3*timestep+1] * U[0] + V[3*timestep+1] * U[0] +
V[3*timestep+2] * U[1] + V[3*timestep+2] * U[1] +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment