621 unsigned Nx1=50, Nx2=50;
626 ofstream trace(
"trace.dat");
636 for(
unsigned i=0;
i<6;
i++)
648 unsigned n_dof =
problem.ndof();
650 for(
unsigned n=0;
n<n_dof;
n++)
655 unsigned n_node=
problem.mesh_pt()->nnode();
656 for(
unsigned n=0;
n<n_node;
n++)
659 double x = nod_pt->
x(0);
672 for(
unsigned n=0;
n<n_dof;
n++)
684 std::cout <<
"Pitchfork detected at " <<
Re << std::endl;
685 std::cout <<
"The slack parameter is " <<
problem.dof(2*n_dof+1) << std::endl;
int i
Definition: BiCGSTAB_step_by_step.cpp:9
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
Definition: bifurcation_tracking/pitchfork.cc:467
double interpolated_f(const Vector< double > &s, const unsigned &i)
FE interpolated values of the arguments.
Definition: bifurcation_tracking/pitchfork.cc:433
void set_value(const unsigned &i, const double &value_)
Definition: nodes.h:271
bool is_pinned(const unsigned &i) const
Test whether the i-th variable is pinned (1: true; 0: false).
Definition: nodes.h:417
Definition: double_vector.h:58
Definition: linear_algebra_distribution.h:64
double & x(const unsigned &i)
Return the i-th nodal coordinate.
Definition: nodes.h:1060
RealScalar s
Definition: level1_cplx_impl.h:130
Global variables.
Definition: TwenteMeshGluing.cpp:60
double Re
Reynolds number.
Definition: fibre.cc:55
list x
Definition: plotDoE.py:28
void symm(int size=Size, int othersize=OtherSize)
Definition: product_symm.cpp:13
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213