mpi/distribution/clamped_shell/clamped_shell_with_arclength_cont.cc File Reference
#include <iostream>
#include <fstream>
#include <cmath>
#include <typeinfo>
#include <algorithm>
#include <cstdio>
#include "generic.h"
#include "shell.h"
#include "meshes/rectangular_quadmesh.h"

Classes

class  ShellMesh< ELEMENT >
 
class  ShellProblem< ELEMENT >
 

Namespaces

 Global_Physical_Variables
 Global variables.
 

Functions

doubleGlobal_Physical_Variables::external_pressure ()
 Access function to value of external pressure. More...
 
void Global_Physical_Variables::press_load (const Vector< double > &xi, const Vector< double > &x, const Vector< double > &N, Vector< double > &load)
 Load function: Perturbation pressure to force non-axisymmetric deformation. More...
 
int main (int argc, char *argv[])
 Driver. More...
 

Variables

double Global_Physical_Variables::Prescribed_y = 1.0
 Prescribed position of control point. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

Driver.

734 {
735 #ifdef OOMPH_HAS_MPI
736  MPI_Helpers::init(argc,argv);
737 #endif
738  {
739  //SuperLUSolver::Suppress_incorrect_rhs_distribution_warning_in_resolve=true;;
740 
741  //Length of domain
742  double L = 10.0;
743  double L_phi=0.5*MathematicalConstants::Pi;
744 
745  //Set up the problem
747  problem(5,5,L,L_phi);
748 
749  //Let's just be crazy and distribut it
750 #ifdef OOMPH_HAS_MPI
751  //Set up a dummy partition
752  unsigned n_element = problem.mesh_pt()->nelement();
753  Vector<unsigned> element_partition(n_element);
754  for(unsigned e=0;e<n_element/2;e++) {element_partition[e]=0;}
755  for(unsigned e=n_element/2;e<n_element;e++) {element_partition[e]=1;}
756 
757  DocInfo mesh_doc_info;
758  bool report_stats=true;
759  mesh_doc_info.set_directory("RESLT_MESH");
760  problem.distribute(element_partition,mesh_doc_info,report_stats);
761  problem.check_halo_schemes(mesh_doc_info);
762 #endif
763 
764  //Solve the problem
765  problem.solve();
766  }
767 #ifdef OOMPH_HAS_MPI
768  MPI_Helpers::finalize();
769 #endif
770 }
Array< double, 1, 3 > e(1./3., 0.5, 2.)
MatrixXd L
Definition: LLT_example.cpp:6
Definition: mpi/distribution/clamped_shell/clamped_shell_with_arclength_cont.cc:316
Definition: oomph_utilities.h:499
void set_directory(const std::string &directory)
Definition: oomph_utilities.cc:298
double Pi
Definition: two_d_biharmonic.cc:235
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References e(), L, BiharmonicTestFunctions2::Pi, problem, and oomph::DocInfo::set_directory().