Skip to content
Snippets Groups Projects
Commit fe776178 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

headercheck fixes

[[Imported from SVN: r5559]]
parent 5c5497b8
Branches
Tags
No related merge requests found
......@@ -8,6 +8,8 @@
#include <dune/disc/operators/localstiffness.hh>
#include<dune/disc/operators/boundaryconditions.hh>
#include "rigidbodymotion.hh"
template<class GridView, class TargetSpace>
class LocalGeodesicFEStiffness
: public Dune::LocalStiffness<GridView,double,TargetSpace::TangentVector::size>
......
......@@ -5,7 +5,7 @@
#include <dune/common/fvector.hh>
#include <dune/ag-common/crossproduct.hh>
#include "rotation.hh"
#include "rigidbodymotion.hh"
/** \brief Make a straight rod from two given endpoints
......
#ifndef MAX_NORM_TRUST_REGION_HH
#define MAX_NORM_TRUST_REGION_HH
#include <vector>
#include <dune/solvers/boxconstraint.hh>
template <int blocksize>
class MaxNormTrustRegion
{
......
......@@ -7,6 +7,8 @@
#include <dune/istl/matrixindexset.hh>
#include <dune/istl/matrix.hh>
#include "rigidbodymotion.hh"
namespace Dune
{
......
......@@ -10,7 +10,7 @@
#include <dune/solvers/boxconstraint.hh>
#include <dune/solvers/norms/h1seminorm.hh>
#include <dune/solvers/solvers/solver.hh>
#include <dune/solvers/solvers/iterativesolver.hh>
#include "geodesicfeassembler.hh"
......
#ifndef ROD_REFINE_HH
#define ROD_REFINE_HH
#include <vector>
#include <map>
#include "rigidbodymotion.hh"
template <class GridType>
......
......@@ -2,6 +2,7 @@
#define ROD_WRITER_HH
#include <fstream>
#include <vector>
#include <dune/common/exceptions.hh>
#include <dune/istl/bvector.hh>
......
......@@ -4,7 +4,7 @@
#ifndef SVD_HH
#define SVD_HH
#include <math.h>
#include <cmath.h>
template <class T>
......@@ -19,10 +19,10 @@ template <class T>
T pythag(T a, T b)
{
T absa,absb;
absa=std::abs(a);
absb=std::abs(b);
absa=std::fabs(a);
absb=std::fabs(b);
if (absa > absb)
return absa*sqrt(1.0+SQR(absb/absa));
return absa*std::sqrt(1.0+SQR(absb/absa));
else
return (absb == 0.0 ? 0.0 : absb*sqrt(1.0+SQR(absa/absb)));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment