Example codes
and tutorials
The (Not-so) Quick Guide
List of tutorials/demo codes
Single-Physics Problems
Poisson
Adaptivity illustrated for Poisson
Advection-Diffusion
Unsteady heat equation
Linear wave equation
The Young-Laplace equation
Navier-Stokes
Free-surface Navier-Stokes
Axisymmetric Navier-Stokes
Solid mechanics
Beam structures
Shell structures
Multi-physics Problems
Fluid-structure interaction
Boussinesq convection
Steady thermoelasticity
Methods-based example codes and tutorials
Mesh generation
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
How to write a new element
How to write a new refineable element
Default nonlinear solvers -- the sequence of action functions
...
Documentation
FE theory and top-down discussion of the data structure
The (Not-so) Quick Guide
Comprehensive bottom-up discussion of the data structure
List of available structured and unstructured meshes
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
Coding conventions and C++ style
Creating documentation
Optimisation - robustness vs. "raw speed"
Linear vs. nonlinear problems
Storing shape functions
Changing the default "full" integration scheme
Disabling the ALE formulation of unsteady equations
C vs. C++ output
Different sparse assembly techniques and the STL memory pool
Publications
Publications
Talks
Journal publications
Theses
Picture show
Download
Copyright
Download/installation instructions
Download page
FAQ & Contact
FAQ
Change log
Bugs and other known problems
Completeness of the library & our "To-Do List"
Contact the developers
Get involved

 


Beta release!

Please note that the library has not been "officially" released. While we continue to work on the documentation, these web pages are likely to contain broken links and documents in draft form. Please send an email to

oomph-lib AT maths DOT man DOT ac DOT uk

if you wish to be informed of the library's "official" release.

oomph::TimeStepper Class Reference

#include <timesteppers.h>

Inheritance diagram for oomph::TimeStepper:

oomph::BDF< NSTEPS > oomph::Newmark< NSTEPS > oomph::Steady< NSTEPS > oomph::NewmarkBDF< NSTEPS > List of all members.

Detailed Description

Base class for time-stepping schemes. Timestepper provides an approximation of the temporal derivatives of Data such that the i-th derivative of the j-th value in Data is represented as.

 unsigned n_value=data_pt->nvalue();
 Vector<double> time_derivative(n_value);
 for (unsigned j=0;j<n_value;j++)
  {
  time_derivative[j]=0.0;
  for (unsigned t=0;t<ntstorage();t++)
   {
    time_derivative[j] += data_pt->value(t,j)*weight(i,t);
   }
  }
where the time index t is such that

TimeSteppers can evaluate all derivatives up to their order().

The first nprev_values() `history values' represent the values at the previous timesteps. For BDF schemes, nprev_values() = ntstorage()-1 , i.e. all `history values' represent previous values. For Newmark<NSTEPS>, only the first NSTEPS `history values' represent previous values (NSTEPS=1 gives the normal Newmark scheme).

Definition at line 202 of file timesteppers.h.


Public Member Functions

 TimeStepper (const unsigned &tstorage, const unsigned &max_deriv)
 Constructor. Pass the amount of storage required by timestepper (present value + history values) and the order of highest time-derivative.
 TimeStepper ()
 Broken empty constructor.
 TimeStepper (const TimeStepper &)
 Broken copy constructor.
void operator= (const TimeStepper &)
 Broken assignment operator.
virtual ~TimeStepper ()
 Empty virtual destructor --- no memory is allocated in this class.
unsigned highest_derivative () const
 Highest order derivative that the scheme can compute.
virtual unsigned order ()
 Actual order (accuracy) of the scheme.
double & time ()
 Return current value of continous time.
virtual unsigned ndt ()=0
 Number of timestep increments that are required by the scheme.
virtual unsigned nprev_values ()=0
 Number of previous values available: 0 for static, 1 for BDF<1>,...
virtual void set_weights ()=0
 Function to set the weights for present timestep (don't need to pass present timestep or previous timesteps as they are available via Time_pt).
void make_steady ()
 Function to make the time stepper temporarily steady. This is trivially achieved by setting all the weights to zero.
bool is_steady ()
 Flag to indicate if a timestepper has been made steady (possibly temporarily to switch off time-dependence).
virtual void undo_make_steady ()=0
 Pure virtual function to reset the is_steady status of a specific TimeStepper to its default and to re-assign the weights.
std::string type ()
 Return string that indicates the type of the timestepper (e.g. "BDF", "Newmark", etc.).
void time_derivative (const unsigned &i, Data *const &data_pt, Vector< double > &deriv)
 Evaluate i-th derivative of all values in Data and return in Vector deriv[].
double time_derivative (const unsigned &i, Data *const &data_pt, const unsigned &j)
 Evaluate i-th derivative of j-th value in Data.
void time_derivative (const unsigned &i, Node *const &node_pt, Vector< double > &deriv)
 Evaluate i-th derivative of all values in Node and return in Vector deriv[]. Note the use of the nodal_value() function so that hanging nodes are taken into account.
double time_derivative (const unsigned &i, Node *const &node_pt, const unsigned &j)
 Evaluate i-th derivative of j-th value in Node. Note the explicit use of nodal_value() so that hanging nodes are properly evaluated.
Time *const & time_pt () const
 Access function for the pointer to time (const version).
Time *& time_pt ()
 Access function for the pointer to time.
virtual double weight (const unsigned &i, const unsigned &j) const
 Access function for j-th weight for the i-th derivative.
unsigned ntstorage () const
 Return the number of doubles required to represent history (one for steady).
virtual void assign_initial_values_impulsive (Data *const &data_pt)=0
 Initialise the time-history for the Data values corresponding to an impulsive start.
virtual void assign_initial_positions_impulsive (Node *const &node_pt)=0
 Initialiset the positions for the node corresponding to an impulsive start.
virtual void shift_time_values (Data *const &data_pt)=0
 This function advances the Data's time history so that we can move on to the next timestep.
virtual void shift_time_positions (Node *const &node_pt)=0
 This function advances the time history of the positions at a node. The default should be OK, but would need to be overloaded.
bool adaptive_flag ()
 Function to indicate whether the scheme is adaptive (false by default).
virtual void set_predictor_weights ()
 Set the weights for the predictor previous timestep (currently empty -- overwrite for specific scheme).
virtual void calculate_predicted_values (Data *const &data_pt)
 Do the predictor step for data stored in a Data object (currently empty -- overwrite for specific scheme).
virtual void calculate_predicted_positions (Node *const &node_pt)
 Do the predictor step for the positions at a node (currently empty --- overwrite for a specific scheme).
virtual void set_error_weights ()
 Set the weights for the error computation, (currently empty -- overwrite for specific scheme).
virtual double temporal_error_in_position (Node *const &node_pt, const unsigned &i)
virtual double temporal_error_in_value (Data *const &data_pt, const unsigned &i)

Protected Attributes

TimeTime_pt
 Pointer to discrete time storage scheme.
DenseMatrix< double > Weight
 Storage for the weights associated with the timestepper.
std::string Type
 String that indicates the type of the timestepper (e.g. "BDF", "Newmark", etc.).
bool Adaptive_Flag
 Boolean variable to indicate whether the timestepping scheme can be adaptive.
bool Is_steady
 Bool to indicate if the timestepper is steady, i.e. its time-derivatives evaluate to zero. This status may be achieved temporarily by calling make_steady(). It's reset to the appropriate default by the pure virtual function undo_make_steady() implemented in all specific TimeSteppers.

Constructor & Destructor Documentation

oomph::TimeStepper::TimeStepper ( const unsigned &  tstorage,
const unsigned &  max_deriv 
) [inline]

Constructor. Pass the amount of storage required by timestepper (present value + history values) and the order of highest time-derivative.

Definition at line 232 of file timesteppers.h.

References oomph::DenseMatrix< T >::resize(), and Weight.

oomph::TimeStepper::TimeStepper (  )  [inline]

Broken empty constructor.

Definition at line 255 of file timesteppers.h.

References OOMPH_EXCEPTION_LOCATION.

oomph::TimeStepper::TimeStepper ( const TimeStepper  )  [inline]

Broken copy constructor.

Definition at line 263 of file timesteppers.h.

References oomph::BrokenCopy::broken_copy().

virtual oomph::TimeStepper::~TimeStepper (  )  [inline, virtual]

Empty virtual destructor --- no memory is allocated in this class.

Definition at line 275 of file timesteppers.h.


Member Function Documentation

bool oomph::TimeStepper::adaptive_flag (  )  [inline]

Function to indicate whether the scheme is adaptive (false by default).

Definition at line 440 of file timesteppers.h.

References Adaptive_Flag.

Referenced by oomph::BDF< NSTEPS >::assign_initial_positions_impulsive(), oomph::BDF< NSTEPS >::assign_initial_values_impulsive(), oomph::BDF< NSTEPS >::calculate_predicted_positions(), oomph::BDF< NSTEPS >::calculate_predicted_values(), oomph::BDF< NSTEPS >::set_error_weights(), oomph::BDF< NSTEPS >::set_predictor_weights(), oomph::BDF< NSTEPS >::set_weights(), oomph::BDF< NSTEPS >::shift_time_positions(), oomph::BDF< NSTEPS >::shift_time_values(), oomph::BDF< NSTEPS >::temporal_error_in_position(), and oomph::BDF< NSTEPS >::temporal_error_in_value().

virtual void oomph::TimeStepper::assign_initial_positions_impulsive ( Node *const &  node_pt  )  [pure virtual]

Initialiset the positions for the node corresponding to an impulsive start.

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

virtual void oomph::TimeStepper::assign_initial_values_impulsive ( Data *const &  data_pt  )  [pure virtual]

Initialise the time-history for the Data values corresponding to an impulsive start.

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

Referenced by oomph::Circle::Circle().

virtual void oomph::TimeStepper::calculate_predicted_positions ( Node *const &  node_pt  )  [inline, virtual]

Do the predictor step for the positions at a node (currently empty --- overwrite for a specific scheme).

Reimplemented in oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::BDF< NSTEPS >.

Definition at line 452 of file timesteppers.h.

virtual void oomph::TimeStepper::calculate_predicted_values ( Data *const &  data_pt  )  [inline, virtual]

Do the predictor step for data stored in a Data object (currently empty -- overwrite for specific scheme).

Reimplemented in oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::BDF< NSTEPS >.

Definition at line 448 of file timesteppers.h.

unsigned oomph::TimeStepper::highest_derivative (  )  const [inline]

Highest order derivative that the scheme can compute.

Definition at line 278 of file timesteppers.h.

References oomph::DenseMatrix< T >::nrow(), and Weight.

Referenced by oomph::Steady< 0 >::set_weights().

bool oomph::TimeStepper::is_steady (  )  [inline]

Flag to indicate if a timestepper has been made steady (possibly temporarily to switch off time-dependence).

Definition at line 316 of file timesteppers.h.

References Is_steady.

Referenced by oomph::LinearWaveEquations< DIM >::d2u_dt2_lin_wave(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::dc_dt_adv_diff_react(), oomph::Node::dposition_dt(), oomph::Node::dposition_gen_dt(), oomph::AdvectionDiffusionEquations< DIM >::du_dt_adv_diff(), oomph::AxisymmetricNavierStokesEquations::du_dt_axi_nst(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::du_dt_cons_adv_diff(), oomph::NavierStokesEquations< DIM >::du_dt_nst(), oomph::UnsteadyHeatEquations< DIM >::du_dt_ust_heat(), oomph::WomersleyEquations< DIM >::du_dt_womersley(), oomph::Node::dx_dt(), and oomph::Node::dx_gen_dt().

void oomph::TimeStepper::make_steady (  )  [inline]

Function to make the time stepper temporarily steady. This is trivially achieved by setting all the weights to zero.

Definition at line 300 of file timesteppers.h.

References Is_steady, oomph::DenseMatrix< T >::nrow(), ntstorage(), and Weight.

Referenced by oomph::Problem::explicit_timestep(), oomph::Problem::solve_eigenproblem(), oomph::Problem::steady_newton_solve(), and oomph::SegregatableFSIProblem::steady_segregated_solve().

virtual unsigned oomph::TimeStepper::ndt (  )  [pure virtual]

Number of timestep increments that are required by the scheme.

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

Referenced by oomph::Problem::add_time_stepper_pt().

virtual unsigned oomph::TimeStepper::nprev_values (  )  [pure virtual]

Number of previous values available: 0 for static, 1 for BDF<1>,...

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

Referenced by oomph::AlgebraicFSIDrivenCavityMesh< ELEMENT >::algebraic_node_update(), oomph::AlgebraicCollapsibleChannelMesh< ELEMENT >::algebraic_node_update(), oomph::FiniteElement::get_x(), oomph::MacroElementNodeUpdateNode::node_update(), oomph::AlgebraicNode::node_update(), oomph::AlgebraicRefineableQuarterTubeMesh< ELEMENT >::node_update_central_region(), oomph::AlgebraicRefineableQuarterCircleSectorMesh< ELEMENT >::node_update_in_central_box(), oomph::AlgebraicRefineableQuarterCircleSectorMesh< ELEMENT >::node_update_in_lower_right_box(), oomph::AlgebraicRefineableQuarterCircleSectorMesh< ELEMENT >::node_update_in_upper_left_box(), oomph::AlgebraicRefineableQuarterTubeMesh< ELEMENT >::node_update_lower_right_region(), oomph::AlgebraicRefineableQuarterTubeMesh< ELEMENT >::node_update_upper_left_region(), oomph::PseudoBucklingRing::position(), and oomph::PseudoBucklingRing::PseudoBucklingRing().

unsigned oomph::TimeStepper::ntstorage (  )  const [inline]

Return the number of doubles required to represent history (one for steady).

Definition at line 420 of file timesteppers.h.

References oomph::DenseMatrix< T >::ncol(), and Weight.

Referenced by oomph::BDF< NSTEPS >::assign_initial_data_values(), oomph::Steady< 0 >::assign_initial_data_values(), oomph::RefineableSolidQElement< 2 >::build(), oomph::Node::copy(), oomph::LinearWaveEquations< DIM >::d2u_dt2_lin_wave(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::dc_dt_adv_diff_react(), oomph::Node::dposition_dt(), oomph::Node::dposition_gen_dt(), oomph::AdvectionDiffusionEquations< DIM >::du_dt_adv_diff(), oomph::AxisymmetricNavierStokesEquations::du_dt_axi_nst(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::du_dt_cons_adv_diff(), oomph::NavierStokesEquations< DIM >::du_dt_nst(), oomph::UnsteadyHeatEquations< DIM >::du_dt_ust_heat(), oomph::WomersleyEquations< DIM >::du_dt_womersley(), oomph::Node::dump(), oomph::Node::dx_dt(), oomph::Node::dx_gen_dt(), oomph::SolidFiniteElement::fill_in_jacobian_for_newmark_accel(), make_steady(), oomph::Node::Node(), oomph::Data::ntstorage(), oomph::Node::read(), oomph::RefineableQSpectralElement< 2 >::rebuild_from_sons(), oomph::RefineableQSpectralElement< 3 >::rebuild_from_sons(), oomph::BDF< NSTEPS >::shift_time_positions(), oomph::Newmark< NSTEPS >::shift_time_positions(), time_derivative(), and oomph::Node::x_gen_range_check().

void oomph::TimeStepper::operator= ( const TimeStepper  )  [inline]

Broken assignment operator.

Definition at line 269 of file timesteppers.h.

References oomph::BrokenCopy::broken_assign().

virtual unsigned oomph::TimeStepper::order (  )  [inline, virtual]

Actual order (accuracy) of the scheme.

Reimplemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

Definition at line 282 of file timesteppers.h.

virtual void oomph::TimeStepper::set_error_weights (  )  [inline, virtual]

Set the weights for the error computation, (currently empty -- overwrite for specific scheme).

Reimplemented in oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::BDF< NSTEPS >.

Definition at line 456 of file timesteppers.h.

virtual void oomph::TimeStepper::set_predictor_weights (  )  [inline, virtual]

Set the weights for the predictor previous timestep (currently empty -- overwrite for specific scheme).

Reimplemented in oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::BDF< NSTEPS >.

Definition at line 444 of file timesteppers.h.

virtual void oomph::TimeStepper::set_weights (  )  [pure virtual]

Function to set the weights for present timestep (don't need to pass present timestep or previous timesteps as they are available via Time_pt).

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::NewmarkBDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::Steady< 0 >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::NewmarkBDF< NSTEPS >, oomph::NewmarkBDF< NSTEPS >, and oomph::NewmarkBDF< NSTEPS >.

Referenced by oomph::Problem::adaptive_unsteady_newton_solve().

virtual void oomph::TimeStepper::shift_time_positions ( Node *const &  node_pt  )  [pure virtual]

This function advances the time history of the positions at a node. The default should be OK, but would need to be overloaded.

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

virtual void oomph::TimeStepper::shift_time_values ( Data *const &  data_pt  )  [pure virtual]

This function advances the Data's time history so that we can move on to the next timestep.

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

virtual double oomph::TimeStepper::temporal_error_in_position ( Node *const &  node_pt,
const unsigned &  i 
) [inline, virtual]

Compute the error in the position i at a node zero here -- overwrite for specific scheme.

Reimplemented in oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::BDF< NSTEPS >.

Definition at line 460 of file timesteppers.h.

virtual double oomph::TimeStepper::temporal_error_in_value ( Data *const &  data_pt,
const unsigned &  i 
) [inline, virtual]

Compute the error in the value i in a Data structure zero here -- overwrite for specific scheme.

Reimplemented in oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::BDF< NSTEPS >.

Definition at line 466 of file timesteppers.h.

double& oomph::TimeStepper::time (  )  [inline]

Return current value of continous time.

Definition at line 285 of file timesteppers.h.

References oomph::Time::time(), and Time_pt.

Referenced by oomph::BDF< NSTEPS >::assign_initial_data_values(), oomph::Steady< 0 >::assign_initial_data_values(), and oomph::Newmark< NSTEPS >::assign_initial_data_values().

double oomph::TimeStepper::time_derivative ( const unsigned &  i,
Node *const &  node_pt,
const unsigned &  j 
) [inline]

Evaluate i-th derivative of j-th value in Node. Note the explicit use of nodal_value() so that hanging nodes are properly evaluated.

Definition at line 393 of file timesteppers.h.

References ntstorage(), oomph::Node::value(), and weight().

void oomph::TimeStepper::time_derivative ( const unsigned &  i,
Node *const &  node_pt,
Vector< double > &  deriv 
) [inline]

Evaluate i-th derivative of all values in Node and return in Vector deriv[]. Note the use of the nodal_value() function so that hanging nodes are taken into account.

Definition at line 370 of file timesteppers.h.

References ntstorage(), oomph::Data::nvalue(), oomph::Node::value(), and weight().

double oomph::TimeStepper::time_derivative ( const unsigned &  i,
Data *const &  data_pt,
const unsigned &  j 
) [inline]

Evaluate i-th derivative of j-th value in Data.

Definition at line 353 of file timesteppers.h.

References ntstorage(), oomph::Data::value(), and Weight.

void oomph::TimeStepper::time_derivative ( const unsigned &  i,
Data *const &  data_pt,
Vector< double > &  deriv 
) [inline]

Evaluate i-th derivative of all values in Data and return in Vector deriv[].

Definition at line 332 of file timesteppers.h.

References ntstorage(), oomph::Data::nvalue(), oomph::Data::value(), and Weight.

Referenced by oomph::BDF< NSTEPS >::shift_time_values(), and oomph::Newmark< NSTEPS >::shift_time_values().

Time*& oomph::TimeStepper::time_pt (  )  [inline]

Access function for the pointer to time.

Definition at line 412 of file timesteppers.h.

References Time_pt.

Time* const& oomph::TimeStepper::time_pt (  )  const [inline]

Access function for the pointer to time (const version).

Definition at line 409 of file timesteppers.h.

References Time_pt.

Referenced by oomph::PseudoBucklingRing::accel(), oomph::Problem::add_time_stepper_pt(), oomph::PseudoBucklingRing::position(), oomph::SolidICProblem::set_newmark_initial_condition_consistently(), oomph::SolidICProblem::set_newmark_initial_condition_directly(), oomph::SolidICProblem::set_static_initial_condition(), and oomph::PseudoBucklingRing::veloc().

std::string oomph::TimeStepper::type (  )  [inline]

Return string that indicates the type of the timestepper (e.g. "BDF", "Newmark", etc.).

Definition at line 328 of file timesteppers.h.

References Type.

Referenced by oomph::SolidFiniteElement::fill_in_jacobian_for_newmark_accel().

virtual void oomph::TimeStepper::undo_make_steady (  )  [pure virtual]

Pure virtual function to reset the is_steady status of a specific TimeStepper to its default and to re-assign the weights.

Implemented in oomph::Steady< NSTEPS >, oomph::Newmark< NSTEPS >, oomph::BDF< NSTEPS >, and oomph::Steady< 0 >.

virtual double oomph::TimeStepper::weight ( const unsigned &  i,
const unsigned &  j 
) const [inline, virtual]

Access function for j-th weight for the i-th derivative.

Reimplemented in oomph::Steady< NSTEPS >, and oomph::Steady< 0 >.

Definition at line 415 of file timesteppers.h.

References Weight.

Referenced by oomph::LinearWaveEquations< DIM >::d2u_dt2_lin_wave(), oomph::AdvectionDiffusionReactionEquations< NREAGENT, DIM >::dc_dt_adv_diff_react(), oomph::Node::dposition_dt(), oomph::Node::dposition_gen_dt(), oomph::AdvectionDiffusionEquations< DIM >::du_dt_adv_diff(), oomph::AxisymmetricNavierStokesEquations::du_dt_axi_nst(), oomph::GeneralisedAdvectionDiffusionEquations< DIM >::du_dt_cons_adv_diff(), oomph::NavierStokesEquations< DIM >::du_dt_nst(), oomph::UnsteadyHeatEquations< DIM >::du_dt_ust_heat(), oomph::WomersleyEquations< DIM >::du_dt_womersley(), oomph::Node::dx_dt(), oomph::Node::dx_gen_dt(), oomph::PVDEquations< DIM >::fill_in_generic_contribution_to_residuals_pvd(), oomph::RefineablePVDEquations< DIM >::fill_in_generic_contribution_to_residuals_pvd(), oomph::RefineableAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_adv_diff(), oomph::RefineableAdvectionDiffusionReactionEquations< NREAGENT, DIM >::fill_in_generic_residual_contribution_adv_diff_react(), oomph::RefineableAxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::AxisymmetricNavierStokesEquations::fill_in_generic_residual_contribution_axi_nst(), oomph::RefineableGeneralisedAdvectionDiffusionEquations< DIM >::fill_in_generic_residual_contribution_cons_adv_diff(), oomph::RefineableLinearWaveEquations< DIM >::fill_in_generic_residual_contribution_lin_wave(), oomph::RefineableNavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::NavierStokesEquations< DIM >::fill_in_generic_residual_contribution_nst(), oomph::PVDEquationsWithPressure< DIM >::fill_in_generic_residual_contribution_pvd_with_pressure(), oomph::RefineablePVDEquationsWithPressure< DIM >::fill_in_generic_residual_contribution_pvd_with_pressure(), oomph::RefineableUnsteadyHeatEquations< DIM >::fill_in_generic_residual_contribution_ust_heat(), oomph::SolidFiniteElement::fill_in_jacobian_for_newmark_accel(), oomph::NavierStokesEquations< DIM >::get_dresidual_dnodal_coordinates(), oomph::Newmark< NSTEPS >::shift_time_positions(), and time_derivative().


Member Data Documentation

bool oomph::TimeStepper::Adaptive_Flag [protected]

Boolean variable to indicate whether the timestepping scheme can be adaptive.

Definition at line 218 of file timesteppers.h.

Referenced by adaptive_flag(), and oomph::BDF< NSTEPS >::BDF().

bool oomph::TimeStepper::Is_steady [protected]

Bool to indicate if the timestepper is steady, i.e. its time-derivatives evaluate to zero. This status may be achieved temporarily by calling make_steady(). It's reset to the appropriate default by the pure virtual function undo_make_steady() implemented in all specific TimeSteppers.

Definition at line 225 of file timesteppers.h.

Referenced by is_steady(), make_steady(), oomph::Steady< 0 >::Steady(), oomph::BDF< NSTEPS >::undo_make_steady(), oomph::Newmark< NSTEPS >::undo_make_steady(), and oomph::Steady< 0 >::undo_make_steady().

Time* oomph::TimeStepper::Time_pt [protected]

Pointer to discrete time storage scheme.

Definition at line 207 of file timesteppers.h.

Referenced by oomph::BDF< NSTEPS >::assign_initial_data_values(), oomph::Steady< 0 >::assign_initial_data_values(), oomph::Newmark< NSTEPS >::assign_initial_data_values(), oomph::BDF< NSTEPS >::set_error_weights(), oomph::BDF< NSTEPS >::set_predictor_weights(), oomph::NewmarkBDF< NSTEPS >::set_weights(), oomph::Newmark< NSTEPS >::set_weights(), oomph::BDF< NSTEPS >::set_weights(), time(), and time_pt().

std::string oomph::TimeStepper::Type [protected]

String that indicates the type of the timestepper (e.g. "BDF", "Newmark", etc.).

Definition at line 214 of file timesteppers.h.

Referenced by oomph::BDF< NSTEPS >::BDF(), oomph::Newmark< NSTEPS >::Newmark(), oomph::NewmarkBDF< NSTEPS >::NewmarkBDF(), oomph::Steady< 0 >::Steady(), and type().

DenseMatrix<double> oomph::TimeStepper::Weight [protected]

Storage for the weights associated with the timestepper.

Definition at line 210 of file timesteppers.h.

Referenced by oomph::Newmark< NSTEPS >::assign_initial_data_values(), oomph::Newmark< NSTEPS >::assign_initial_data_values_stage2(), oomph::BDF< NSTEPS >::BDF(), highest_derivative(), make_steady(), ntstorage(), oomph::Steady< 0 >::set_weights(), oomph::NewmarkBDF< NSTEPS >::set_weights(), oomph::Newmark< NSTEPS >::set_weights(), oomph::BDF< NSTEPS >::set_weights(), oomph::BDF< NSTEPS >::shift_time_positions(), time_derivative(), TimeStepper(), and weight().


The documentation for this class was generated from the following file:
Generated on Mon Aug 10 11:26:09 2009 by  doxygen 1.4.7