~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Code/Numerics/FEM/itkFEMElementBase.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-05-31 12:07:29 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080531120729-7g7layn480le43ko
Tags: 3.6.0-3
* debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
  with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
* debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
  This only showed up in the tcl wrapping step.

* Above two entries fix FTBFS for GCC 4.3-based systems.
  Closes: #478500.

* debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
  systems are not also configured as a SUN sparc system, which requires
  SUN header sys/isa_defs.h.  Closes: #478940, #483312.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   Insight Segmentation & Registration Toolkit
4
4
  Module:    $RCSfile: itkFEMElementBase.cxx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2004/12/04 13:17:09 $
7
 
  Version:   $Revision: 1.37 $
 
6
  Date:      $Date: 2007-12-31 18:35:16 $
 
7
  Version:   $Revision: 1.38 $
8
8
 
9
9
  Copyright (c) Insight Software Consortium. All rights reserved.
10
10
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
199
199
    this->ShapeFunctionGlobalDerivatives(ip,shapeDgl,&J,&shapeD);
200
200
 
201
201
    this->GetStrainDisplacementMatrix( B, shapeDgl );
202
 
    Float detJ=this->JacobianDeterminant( ip, &J );
 
202
    detJ=this->JacobianDeterminant( ip, &J );
203
203
    Ke+=detJ*w*B.transpose()*D*B; // FIXME: write a more efficient way of computing this.
204
204
  }
205
205
}