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().

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