///////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////// Ugly driver code – brutally loop over lots of mesh/element combinations and produce C/C++-style output.
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////
284 for(
unsigned i=0;
i<nelem;
i++)
295 string file_root=
"beam";
315 double xi_hi=2.0*
atan(1.0);
319 double fract_mid=0.5;
327 (curved_boundary_pt,xi_lo,fract_mid,xi_hi);
330 string file_root=
"adapt_solid_pvd_2";
343 (curved_boundary_pt,xi_lo,fract_mid,xi_hi);
346 string file_root=
"adapt_solid_pvd_3";
360 (curved_boundary_pt,xi_lo,fract_mid,xi_hi);
363 string file_root=
"adapt_solid_pvd_4";
377 curved_boundary_pt,xi_lo,fract_mid,xi_hi);
380 string file_root=
"adapt_solid_pvd_cp";
395 curved_boundary_pt,xi_lo,fract_mid,xi_hi);
398 string file_root=
"adapt_solid_pvd_p";
443 xi_hi[0]=L_up+
L+L_down;
444 xi_hi[1]=0.5*4.0*
atan(1.0);
454 (Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
458 string file_root=
"adapt_taylor_hood_3";
473 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
477 string file_root=
"adapt_crozier_raviart_3";
494 string file_root=
"taylor_hood_2";
510 string file_root=
"crozier_raviart_2";
526 string file_root=
"adapt_crozier_raviart_2";
543 string file_root=
"adapt_taylor_hood_2";
557 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
561 string file_root=
"poisson_3_2";
575 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
579 string file_root=
"poisson_3_3";
592 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
596 string file_root=
"poisson_3_4";
611 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
615 string file_root=
"adapt_poisson_3_2";
629 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
633 string file_root=
"adapt_poisson_3_3";
647 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
651 string file_root=
"adapt_poisson_3_4";
667 string file_root=
"poisson_1_2";
682 string file_root=
"poisson_1_3";
697 string file_root=
"poisson_1_4";
713 string file_root=
"poisson_2_2";
730 string file_root=
"poisson_2_3";
747 string file_root=
"poisson_2_4";
764 string file_root=
"adapt_poisson_2_2";
782 string file_root=
"adapt_poisson_2_3";
800 string file_root=
"adapt_poisson_2_4";
821 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
825 string file_root=
"unsteady_heat_3_2";
839 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
843 string file_root=
"unsteady_heat_3_3";
857 Wall_pt,xi_lo,frac_mid,xi_hi,nlayer,time_stepper_pt);
861 string file_root=
"unsteady_heat_3_4";
879 string file_root=
"unsteady_heat_1_2";
894 string file_root=
"unsteady_heat_1_3";
909 string file_root=
"unsteady_heat_1_4";
926 string file_root=
"unsteady_heat_2_2";
941 string file_root=
"unsteady_heat_2_3";
958 string file_root=
"unsteady_heat_2_4";
975 string file_root=
"adapt_unsteady_heat_2_2";
993 string file_root=
"adapt_unsteady_heat_2_3";
1011 string file_root=
"adapt_unsteady_heat_2_4";
int i
Definition: BiCGSTAB_step_by_step.cpp:9
MatrixXd L
Definition: LLT_example.cpp:6
void output_both_versions(const string &file_root, Mesh *mesh_pt, const unsigned &npts)
Global output function to compare C++ and C-style output routines.
Definition: c_style_output.cc:180
Definition: c_style_output.cc:76
Definition: mpi/distribution/hanging_node_reconciliation/hp_adaptive_driven_cavity.cc:63
Definition: geom_objects.h:644
Definition: geom_objects.h:1131
Definition: geom_objects.h:101
Definition: beam_elements.h:313
GeomObject *& undeformed_beam_pt()
Definition: beam_elements.h:253
GeneralisedElement *& element_pt(const unsigned long &e)
Return pointer to element e.
Definition: mesh.h:448
Definition: one_d_lagrangian_mesh.template.h:46
Definition: one_d_mesh.template.h:52
Definition: quarter_tube_mesh.template.h:65
Definition: refineable_solid_elements.h:826
Definition: refineable_solid_elements.h:436
Definition: refineable_unsteady_heat_elements.h:197
Definition: quarter_tube_mesh.template.h:162
Definition: simple_rectangular_quadmesh.template.h:58
Definition: geom_objects.h:452
Definition: timesteppers.h:231
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 atan(const bfloat16 &a)
Definition: BFloat16.h:636