The finite element method using deal.II - 2021/2022
step-40.cc File Reference
Include dependency graph for step-40.cc:

Go to the source code of this file.

Classes

class  Step40::LaplaceProblem< dim >
 

Namespaces

 LA
 
 Step40
 

Functions

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

Function Documentation

◆ main()

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

Definition at line 380 of file step-40.cc.

381 {
382  try
383  {
384  using namespace dealii;
385  using namespace Step40;
386 
387  Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
388 
389  LaplaceProblem<2> laplace_problem_2d;
390  laplace_problem_2d.run();
391  }
392  catch (std::exception &exc)
393  {
394  std::cerr << std::endl
395  << std::endl
396  << "----------------------------------------------------"
397  << std::endl;
398  std::cerr << "Exception on processing: " << std::endl
399  << exc.what() << std::endl
400  << "Aborting!" << std::endl
401  << "----------------------------------------------------"
402  << std::endl;
403 
404  return 1;
405  }
406  catch (...)
407  {
408  std::cerr << std::endl
409  << std::endl
410  << "----------------------------------------------------"
411  << std::endl;
412  std::cerr << "Unknown exception!" << std::endl
413  << "Aborting!" << std::endl
414  << "----------------------------------------------------"
415  << std::endl;
416  return 1;
417  }
418 
419  return 0;
420 }
dealii
Step40::LaplaceProblem
Definition: step-40.cc:77
Step40::LaplaceProblem::run
void run()
Definition: step-40.cc:329
Step40
Definition: step-40.cc:71
Utilities::MPI::MPI_InitFinalize