unstructured_two_d_act_inhibit.cc File Reference

Classes

class  RefineableActivatorInhibitorProblem< ELEMENT >
 

Namespaces

 GlobalVariables
 

Functions

void GlobalVariables::activator_inhibitor_reaction (const Vector< double > &C, Vector< double > &R)
 
void GlobalVariables::activator_inhibitor_reaction_derivative (const Vector< double > &C, DenseMatrix< double > &dRdC)
 Derivative of simple reaction kinetics above. More...
 
int main ()
 Driver code for 2D ActivatorInhibitor problem. More...
 

Variables

Vector< doubleGlobalVariables::Tau (2, 1.0)
 The vector of timescales. More...
 
Vector< doubleGlobalVariables::D (2, 1.0)
 The vector of diffusion coefficients. More...
 

Function Documentation

◆ main()

int main ( )

Driver code for 2D ActivatorInhibitor problem.

414 {
415  //Diffusive length-scale
416  double epsilon = 0.05;
417  //Set the control parameters
418  GlobalVariables::Tau[1] = 0.2;
420  GlobalVariables::A = -0.4;
421 
422  //Set the (largeish) timestep
423  double dt = 0.25;
424 
425  //Construct the problem
428 
429  //Timestep it
430  problem.timestep(dt,2);
431 }
Definition: two_d_act_inhibit_adapt.cc:83
AdvectionDiffusionReaction upgraded to become projectable.
Definition: advection_diffusion_reaction_elements.h:877
Vector< double > D(2, 1.0)
The vector of diffusion coefficients.
double A
Bifurcation (loss) parameter.
Definition: one_d_act_inhibit.cc:52
Vector< double > Tau(2, 1.0)
The vector of timescales.
double epsilon
Definition: osc_ring_sarah_asymptotics.h:43
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References GlobalVariables::A, GlobalVariables::D, oomph::SarahBL::epsilon, problem, and GlobalVariables::Tau.