89 std::string error_message =
90 "Doesn't make sense to use an SpineMesh with\n";
92 "SolidElements so specifying update_all_solid_nodes=true\n";
93 error_message +=
"doesn't make sense either\n";
178 for (
unsigned long i = 0;
i < n_spine;
i++)
180 this->
Spine_pt[
i]->spine_height_pt()->set_time_stepper(
195 for (
unsigned long i = 0;
i < n_spine;
i++)
212 for (
unsigned long i = 0;
i < n_spine;
i++)
279 <<
"does not equal the number of spines in the mesh "
GeneralisedTimestepper used to store the arclength derivatives and pervious solutions required in con...
void dump(std::ostream &dump_file) const
Dump the data object to a file.
void read(std::ifstream &restart_file)
Read data object from a file.
double size() const
Calculate the size of the element (length, area, volume,...) in Eulerian computational coordinates....
void describe_dofs(std::ostream &out, const std::string ¤t_string) const
Function to describe the dofs of the element. The ostream specifies the output stream to which the de...
Vector< Node * > Node_pt
Vector of pointers to nodes.
virtual void read(std::ifstream &restart_file)
Read solution from restart file.
virtual void dump(std::ofstream &dump_file, const bool &use_old_ordering=true) const
Dump the data in the mesh into a file for restart.
AuxNodeUpdateFctPt Aux_node_update_fct_pt
Pointer to auxiliary update function – this can be used to update any nodal values following the upda...
An OomphLibError object which should be thrown when an run-time error is encountered....
void set_consistent_pinned_spine_values_for_continuation(ContinuationStorageScheme *const &continuation_stepper_pt)
Set any pinned spine "history" values to be consistent for continuation problems.
void read(std::ifstream &restart_file)
Overload the read function so that the spine data is read from the restart file.
void dump(std::ofstream &dump_file) const
Overload the dump function so that the spine data is dumped.
Vector< Spine * > Spine_pt
A Spine mesh contains a Vector of pointers to spines.
Spine *& spine_pt(const unsigned long &i)
Return the i-th spine in the mesh.
bool does_pointer_correspond_to_spine_data(double *const ¶meter_pt)
Check whether the pointer parameter_pt addresses data stored in the spines.
unsigned long nspine() const
Return the number of spines in the mesh.
void describe_spine_dofs(std::ostream &out, const std::string ¤t_string) const
Function to describe the dofs of the Spine. The ostream specifies the output stream to which the desc...
void set_spine_time_stepper(TimeStepper *const &time_stepper_pt, const bool &preserve_existing_data)
Set the time stepper forthe spine data that is stored in the mesh.
virtual void spine_node_update(SpineNode *spine_node_pt)=0
Update function for given spine node – this must be implemented by all specific SpineMeshes.
void node_update(const bool &update_all_solid_nodes=false)
Update function to update all nodes of mesh [Doesn't make sense to use this mesh with SolidElements a...
virtual ~SpineMesh()
Destructor to clean up the memory allocated to the spines.
unsigned long assign_global_spine_eqn_numbers(Vector< double * > &Dof_pt)
Assign spines to Spine_pt vector of element.
Class for nodes that live on spines. The assumption is that each Node lies at a fixed fraction on a s...
SpineMesh * Spine_mesh_pt
Pointer to SpineMesh that this node is a part of. (The mesh implements the node update function(s))
void node_update(const bool &update_all_time_levels_for_new_node=false)
Overload thet node update function, call the update function in the Node's SpineMesh.
Data *& spine_height_pt()
Access function to Data object that stores the spine height.
TAdvectionDiffusionReactionElement<NREAGENT,DIM,NNODE_1D> elements are isoparametric triangular DIM-d...
Base class for time-stepping schemes. Timestepper provides an approximation of the temporal derivativ...
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).