Commit 55a8d0a4 authored by passerini's avatar passerini
Browse files

removed useless explicit castings

parent 07d44f17
......@@ -974,7 +974,7 @@ updateSystem(const double alpha,
UInt eleID = M_uFESpace.fe().currentLocalId();
// Non linear term, Semi-implicit approach
// M_elvec contains the velocity values in the nodes
for ( UInt iNode = 0 ; iNode < ( UInt ) M_uFESpace.fe().nbNode ; iNode++ )
for ( UInt iNode = 0 ; iNode < M_uFESpace.fe().nbNode ; iNode++ )
{
UInt iloc = M_uFESpace.fe().patternFirst( iNode );
for ( UInt iComp = 0; iComp < nbCompU; ++iComp )
......
......@@ -410,7 +410,7 @@ OseenShapeDerivative<Mesh, SolverType>::updateLinearSystem( const matrix_type& /
M_elvec_du.zero();
M_elvec_dp.zero();
for ( UInt k = 0 ; k < ( UInt ) this->M_uFESpace.fe().nbNode ; k++ )
for ( UInt k = 0 ; k < this->M_uFESpace.fe().nbNode ; k++ )
{
UInt iloc = this->M_uFESpace.fe().patternFirst( k ); // iloc = k
......@@ -434,7 +434,7 @@ OseenShapeDerivative<Mesh, SolverType>::updateLinearSystem( const matrix_type& /
std::cout << M_dw_loc.vec() << std::endl;
std::cout << M_u_loc.vec() << std::endl;
*/
for ( UInt k = 0 ; k < ( UInt ) this->M_pFESpace.fe().nbNode ; k++ )
for ( UInt k = 0 ; k < this->M_pFESpace.fe().nbNode ; k++ )
{
UInt iloc = this->M_pFESpace.fe().patternFirst( k ); // iloc = k
UInt ig = this->M_pFESpace.dof().localToGlobal( i, iloc + 1 ) + nbCompU*this->dim_u();
......@@ -592,7 +592,7 @@ OseenShapeDerivative<Mesh, SolverType>::updateShapeDerivatives( matrix_type& M_m
elmat_du->zero();
for ( UInt k = 0 ; k < ( UInt ) this->M_uFESpace.fe().nbNode ; k++ )
for ( UInt k = 0 ; k < this->M_uFESpace.fe().nbNode ; k++ )
{
UInt iloc = this->M_uFESpace.fe().patternFirst( k ); // iloc = k
......@@ -619,7 +619,7 @@ OseenShapeDerivative<Mesh, SolverType>::updateShapeDerivatives( matrix_type& M_m
std::cout << M_dw_loc.vec() << std::endl;
std::cout << M_u_loc.vec() << std::endl;
*/
for ( UInt k = 0 ; k < ( UInt ) this->M_pFESpace.fe().nbNode ; k++ )
for ( UInt k = 0 ; k < this->M_pFESpace.fe().nbNode ; k++ )
{
UInt iloc = this->M_pFESpace.fe().patternFirst( k ); // iloc = k
UInt ig = this->M_pFESpace.dof().localToGlobal( i, iloc + 1 ) + nbCompU*this->dim_u();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment