Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 46 of file CalcVWIplusPressure.cpp.

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

47 {
48  try
49  {
50  VortexWaveInteraction vwi(argc,argv);
51 
52  vwi.ExecuteWave();
53  vwi.CalcNonLinearWaveForce();
54  return 1;
55  }
56 
57  catch (const std::runtime_error&)
58  {
59  return 1;
60  }
61 
62  catch (const std::string& eStr)
63  {
64  cout << "Error: " << eStr << endl;
65  }
66 }