Nektar++
Functions
CalcVWIplusPressure.cpp File Reference
#include <VortexWaveInteraction/VortexWaveInteraction.h>

Go to the source code of this file.

Functions

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

Function Documentation

◆ main()

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

Definition at line 44 of file CalcVWIplusPressure.cpp.

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

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