Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
CalcVWIplusPressure.cpp File Reference
#include <VortexWaveInteraction/VortexWaveInteraction.h>
Include dependency graph for CalcVWIplusPressure.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 45 of file CalcVWIplusPressure.cpp.

References Nektar::VortexWaveInteraction::CalcNonLinearWaveForce(), and Nektar::VortexWaveInteraction::ExecuteWave().

{
try
{
VortexWaveInteraction vwi(argc,argv);
vwi.ExecuteWave();
vwi.CalcNonLinearWaveForce();
return 1;
}
catch (const std::runtime_error&)
{
return 1;
}
catch (const std::string& eStr)
{
cout << "Error: " << eStr << endl;
}
}