Commit 7c742112 authored by Cristiano Malossi's avatar Cristiano Malossi
Browse files

Applying astyle.

parent 1aff4a61
......@@ -126,7 +126,7 @@ public:
//@{
//! Constructor
explicit BCInterface0D() : bcInterface_Type(), M_data( new data_Type() ) {}
explicit BCInterface0D() : bcInterface_Type(), M_data ( new data_Type() ) {}
//! Destructor
virtual ~BCInterface0D() {}
......@@ -184,7 +184,7 @@ private:
//@{
template< class BCBaseType >
void addBcToHandler( BCBaseType& base );
void addBcToHandler ( BCBaseType& base );
//@}
......@@ -218,7 +218,7 @@ BCInterface0D< BcHandler, PhysicalSolverType >::insertBC()
this->M_vectorFunction.push_back ( factory.createFunctionParser ( M_data ) );
this->M_vectorFunction.back()->assignFunction ( base );
addBcToHandler( base );
addBcToHandler ( base );
return;
}
......@@ -237,7 +237,7 @@ BCInterface0D< BcHandler, PhysicalSolverType >::insertBC()
// ===================================================
template< class BcHandler, class PhysicalSolverType > template< class BCBaseType >
inline void
BCInterface0D< BcHandler, PhysicalSolverType >::addBcToHandler( BCBaseType& base )
BCInterface0D< BcHandler, PhysicalSolverType >::addBcToHandler ( BCBaseType& base )
{
if ( !this->M_handler.get() ) // If BCHandler has not been created yet, we do it now
{
......
......@@ -138,7 +138,7 @@ public:
//@{
//! Constructor
explicit BCInterface1D() : bcInterface_Type(), M_data( new data_Type() ) {}
explicit BCInterface1D() : bcInterface_Type(), M_data ( new data_Type() ) {}
//! Destructor
virtual ~BCInterface1D() {}
......
......@@ -88,9 +88,9 @@ BCInterfaceFunctionParser< BCHandler, OseenSolver< RegionMesh< LinearTetra > > >
* COMPONENT '1 3' (x,y) | 2 2 functionID
*/
#ifdef HAVE_LIFEV_DEBUG
#ifdef HAVE_LIFEV_DEBUG
debugStream ( 5021 ) << "BCInterfaceFunction::setData arguments: " << M_parser->countSubstring ( "," ) << "\n";
#endif
#endif
// Note: the map ID is used only for 3D handler.
if ( M_parser->countSubstring ( "," ) )
......@@ -110,7 +110,9 @@ BCInterfaceFunctionParser< BCHandler, OseenSolver< RegionMesh< LinearTetra > > >
}
}
else
{
std::cerr << "!!! ERROR: BCInterface wrong data cast !!!" << std::endl;
}
}
template< >
......@@ -141,9 +143,9 @@ BCInterfaceFunctionParser< BCHandler, OseenSolverShapeDerivative< RegionMesh< Li
* COMPONENT '1 3' (x,y) | 2 2 functionID
*/
#ifdef HAVE_LIFEV_DEBUG
#ifdef HAVE_LIFEV_DEBUG
debugStream ( 5021 ) << "BCInterfaceFunction::setData arguments: " << M_parser->countSubstring ( "," ) << "\n";
#endif
#endif
// Note: the map ID is used only for 3D handler.
if ( M_parser->countSubstring ( "," ) )
......@@ -163,7 +165,9 @@ BCInterfaceFunctionParser< BCHandler, OseenSolverShapeDerivative< RegionMesh< Li
}
}
else
{
std::cerr << "!!! ERROR: BCInterface wrong data cast !!!" << std::endl;
}
}
} // Namespace LifeV
......@@ -81,9 +81,9 @@ BCInterfaceFunctionParser< BCHandler, FSIOperator >::setData ( const boost::shar
* COMPONENT '1 3' (x,y) | 2 2 functionID
*/
#ifdef HAVE_LIFEV_DEBUG
#ifdef HAVE_LIFEV_DEBUG
debugStream ( 5021 ) << "BCInterfaceFunction::setData arguments: " << M_parser->countSubstring ( "," ) << "\n";
#endif
#endif
// Note: the map ID is used only for 3D handler.
if ( M_parser->countSubstring ( "," ) )
......@@ -103,7 +103,9 @@ BCInterfaceFunctionParser< BCHandler, FSIOperator >::setData ( const boost::shar
}
}
else
{
std::cerr << "!!! ERROR: BCInterface wrong data cast !!!" << std::endl;
}
}
} // Namespace LifeV
......@@ -134,7 +134,7 @@ public:
/*!
* @param boundaryID boundary ID
*/
void boundaryID( const ID& boundaryID)
void boundaryID ( const ID& boundaryID)
{
M_boundaryID = boundaryID;
}
......
......@@ -196,7 +196,7 @@ BCInterfaceFunctionParserFile< BcHandlerType, PhysicalSolverType >::setData ( co
#endif
// Create a true copy
dataPtr_Type dataCopy ( new data_Type( *data ) );
dataPtr_Type dataCopy ( new data_Type ( *data ) );
std::vector< std::string > stringsVector;
boost::split ( stringsVector, dataCopy->baseString(), boost::is_any_of ( "[" ) );
......
......@@ -295,7 +295,7 @@ MultiscaleModelWindkessel0D::setupGlobalData ( const std::string& fileName )
{
M_pressureRight = M_globalData->fluidVenousPressure();
}
M_data->setVenousPressure( M_pressureRight );
M_data->setVenousPressure ( M_pressureRight );
}
void
......
......@@ -134,7 +134,7 @@ public:
/*!
* @param venous pressure of the fluid.
*/
void setVenousPressure( const Real& venousPressure )
void setVenousPressure ( const Real& venousPressure )
{
M_venousPressure = venousPressure;
}
......
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