Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Fix warnings of cppcheck (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Blom committed Apr 13, 2016
1 parent 0701c24 commit ce146ca
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ namespace tubeflow
int timeOrder
)
:
TubeFlowLinearizedSolidSolver( N, nu, rho, h, L, dt, G, E0, r0, T, timeOrder )
TubeFlowLinearizedSolidSolver( N, nu, rho, h, L, dt, G, E0, r0, T, timeOrder ),
k( 0 )
{}

SDCTubeFlowBDFLinearizedSolidSolver::~SDCTubeFlowBDFLinearizedSolidSolver()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ namespace tubeflow
scalar T
)
:
TubeFlowExplicitLinearSolidSolver( N, nu, rho, h, L, dt, G, E0, r0, p0, T )
TubeFlowExplicitLinearSolidSolver( N, nu, rho, h, L, dt, G, E0, r0, p0, T ),
k( 0 )
{}

SDCTubeFlowExplicitLinearSolidSolver::~SDCTubeFlowExplicitLinearSolidSolver()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ namespace tubeflow
scalar T
)
:
TubeFlowLinearizedSolidSolver( N, nu, rho, h, L, dt, G, E0, r0, T )
TubeFlowLinearizedSolidSolver( N, nu, rho, h, L, dt, G, E0, r0, T ),
k( 0 )
{}

SDCTubeFlowLinearizedSolidSolver::~SDCTubeFlowLinearizedSolidSolver()
Expand Down
5 changes: 0 additions & 5 deletions src/tests/testsuite-sdc/test_sdc.C
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,6 @@ TEST( SDCSourceTermTest, SDC )

TEST( CosTest, SDC )
{
std::string rule = "gauss-lobatto";

// rule = "uniform";
// rule = "clenshaw-curtis";
int nbNodes = 3;
scalar tol = 1.0e-9;

Expand Down Expand Up @@ -398,7 +394,6 @@ TEST( CosTest, SDC )

TEST( OscillatorTest, SDC )
{
std::string rule = "gauss-lobatto";
int nbNodes = 3;
scalar tol = 1.0e-11;

Expand Down
2 changes: 1 addition & 1 deletion wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build:
export OPENMPI_BIN_DIR=$OPENMPI_DIR/bin
export FOAM_INST_DIR=`pwd`
sed -i s/"CC = g++ -m64"/"CC = mpicxx -m64"/g foam-extend-3.2/wmake/rules/linux64Gcc/c++
sed -i s/"CC = g++ -m64"/"CC = mpicxx -m64 -DEIGEN_INITIALIZE_MATRICES_BY_NAN"/g foam-extend-3.2/wmake/rules/linux64Gcc/c++
sed -i s/"c++DBUG = -ggdb3 -DFULLDEBUG"/"c++DBUG = -g -DFULLDEBUG -DEIGEN_INITIALIZE_MATRICES_BY_NAN --coverage -fprofile-arcs -ftest-coverage"/g foam-extend-3.2/wmake/rules/linux64Gcc/c++Debug
cd foam-extend-3.2
Expand Down

0 comments on commit ce146ca

Please sign in to comment.