Skip to content
Snippets Groups Projects
Commit 7f3b651c authored by Vít Hanousek's avatar Vít Hanousek
Browse files

Odstranení Debug Messagů

parent db3d7c20
No related branches found
No related tags found
No related merge requests found
......@@ -153,25 +153,10 @@ operator()( const PreimageFunction& u,
{
static_assert( EntityType::entityDimensions == 2, "Wrong mesh entity dimensions." );
static_assert( PreimageFunction::getEntitiesDimensions() == 2, "Wrong preimage function" );
// std::cerr << "Lin Diff op:" <<__LINE__ << std::endl<< std::flush;
const typename EntityType::template NeighbourEntities< 2 >& neighbourEntities = entity.getNeighbourEntities();
// std::cerr << "Lin Diff op:" <<__LINE__ << std::endl<< std::flush;
const RealType& hxSquareInverse = entity.getMesh().template getSpaceStepsProducts< -2, 0 >();
// std::cerr << "Lin Diff op:" <<__LINE__ << std::endl<< std::flush;
const RealType& hySquareInverse = entity.getMesh().template getSpaceStepsProducts< 0, -2 >();
// std::cerr << "Lin Diff op:" <<__LINE__ << std::endl<< std::flush;
//int stop;
//std::cin >> stop;
/* std::cerr << "Lin Diff indexes:" <<__LINE__ << "\t"
<< neighbourEntities.template getEntityIndex< -1, 0 >()<<"\t"
<< neighbourEntities.template getEntityIndex< 1, 0 >()<<"\t"
<<neighbourEntities.template getEntityIndex< 0, -1 >()<<"\t"
<<neighbourEntities.template getEntityIndex< 0, 1 >()<<"\t"
<<std::endl<< std::flush;*/
//std::cin >> stop;
return ( u[ neighbourEntities.template getEntityIndex< -1, 0 >() ]
+ u[ neighbourEntities.template getEntityIndex< 1, 0 >() ] ) * hxSquareInverse +
( u[ neighbourEntities.template getEntityIndex< 0, -1 >() ]
......
......@@ -240,10 +240,7 @@ void Euler< Problem > :: computeNewTimeLevel( DofVectorPointer& u,
localResidue /= tau * ( RealType ) size;
std::cout << time << " " << tau << std:: endl;
localResidue /= tau * ( RealType ) size;
MPIAllreduce( localResidue, currentResidue, 1, MPI_SUM, this->solver_comm );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment