refineable_periodic_load.cc File Reference

Classes

class  RefineablePeriodicLoadProblem< ELEMENT >
 Periodic loading problem. More...
 

Namespaces

 Global_Parameters
 Namespace for global parameters.
 

Functions

TimeHarmonicIsotropicElasticityTensor Global_Parameters::E (Nu)
 The elasticity tensor for the solid. More...
 
void Global_Parameters::exact_solution (const Vector< double > &x, Vector< double > &u)
 The exact solution for infinite depth case. More...
 
void Global_Parameters::periodic_traction (const double &time, const Vector< double > &x, const Vector< double > &n, Vector< double > &result)
 The traction function. More...
 
int main (int argc, char *argv[])
 Driver code for PeriodicLoad linearly elastic problem. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

Driver code for PeriodicLoad linearly elastic problem.

384 {
385  // Number of elements in x-direction
386  unsigned nx=2;
387 
388  // Number of elements in y-direction (for (approximately) square elements)
390 
391  // Set up doc info
392  DocInfo doc_info;
393 
394  // Set output directory
395  doc_info.set_directory("RESLT");
396 
397  // Set up problem
400 
401  // Run the simulation, allowing for up to 4 spatial adaptations
402  unsigned max_adapt=4;
403  problem.newton_solve(max_adapt);
404 
405  // Output the solution
406  problem.doc_solution(doc_info);
407 
408 } // end_of_main
Periodic loading problem.
Definition: refineable_periodic_load.cc:92
Definition: oomph_utilities.h:499
void set_directory(const std::string &directory)
Definition: oomph_utilities.cc:298
double Ly
Length of domain in y direction.
Definition: periodic_load.cc:58
double Lx
Length of domain in x direction.
Definition: periodic_load.cc:55
const unsigned nx
Definition: ConstraintElementsUnitTest.cpp:30
const unsigned ny
Definition: ConstraintElementsUnitTest.cpp:31
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References Global_Parameters::Lx, Global_Parameters::Ly, Mesh_Parameters::nx, Mesh_Parameters::ny, problem, and oomph::DocInfo::set_directory().