Commit b9e68d2f authored by simone's avatar simone
Browse files

output of norm_inf instead of norm2 and transforming input to setStructureDispToHarmonicExtension

to (LifeV::Vector&)
parent 59d6488e
......@@ -165,7 +165,7 @@ DataNavierStokes( const GetPot& dfile ) :
M_stab_method = NSStabilization ( M_stabilization_list.value( dfile( "fluid/discretization/stabilization", "none") ) );
// IP needs boundary faces
bool ipfaces = ( M_stab_method == IP_STABILIZATION ) && (this->_mesh_faces != "all" ) ;
bool ipfaces = ( M_stab_method == IP_STABILIZATION ) && (this->meshFaces() != "all" ) ;
if ( ipfaces )
ERROR_MSG("ERROR: IP requires boundary faces. Put mesh_faces = all in data file." );
......
......@@ -92,9 +92,9 @@ void exactJacobian::evalResidual(Vector &_res,
M_dispStruct = this->M_solid->disp();
M_velo = this->M_solid->w();
std::cout << " ::: norm(disp ) = " << norm_2(_disp) << std::endl;
std::cout << " ::: norm(dispNew ) = " << norm_2(M_dispStruct) << std::endl;
std::cout << " ::: norm(velo ) = " << norm_2(M_velo) << std::endl;
std::cout << " ::: norm(disp ) = " << norm_inf(_disp) << std::endl;
std::cout << " ::: norm(dispNew ) = " << norm_inf(M_dispStruct) << std::endl;
std::cout << " ::: norm(velo ) = " << norm_inf(M_velo) << std::endl;
std::cout << "Max ResidualF = " << norm_inf(M_fluid->residual())
<< std::endl;
......@@ -128,7 +128,7 @@ void exactJacobian::setUpBC()
//
// Passing data from structure to the harmonic Extension: motion of the fluid domain
//
setStructureDispToHarmonicExtension(this->M_solid->disp());
setStructureDispToHarmonicExtension((LifeV::Vector&) this->M_solid->disp());
//========================================================================================
// Interface BOUNDARY CONDITIONS
//========================================================================================
......@@ -337,6 +337,7 @@ void my_matvecJacobianEJ(double *z, double *Jz, AZ_MATRIX* J, int proc_config[])
<< std::endl << std::endl;
}
//
// add steklovPoincare to factory
//
......
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