A class to specify the initial conditions for a solid body. Solid bodies are often discretised with Hermite-type elements, for which the assignment of the generalised nodal values is nontrivial since they represent derivatives w.r.t. to the local coordinates. A SolidInitialCondition object specifies initial position (i.e. shape), velocity and acceleration of the structure with a geometric object. An integer specifies which time-derivative derivative is currently assigned. See example codes for a demonstration of its use. More...
#include <elements.h>
Public Member Functions | |
SolidInitialCondition (GeomObject *geom_object_pt) | |
Constructor: Pass geometric object; initialise time deriv to 0. More... | |
SolidInitialCondition (const SolidInitialCondition &)=delete | |
Broken copy constructor. More... | |
void | operator= (const SolidInitialCondition &)=delete |
Broken assignment operator. More... | |
GeomObject *& | geom_object_pt () |
(Reference to) pointer to geom object that specifies the initial condition More... | |
unsigned & | ic_time_deriv () |
Which time derivative are we currently assigning? More... | |
Private Attributes | |
GeomObject * | Geom_object_pt |
Pointer to the GeomObject that specifies the initial condition (shape, veloc and accel) More... | |
unsigned | IC_time_deriv |
Which time derivative (0,1,2) are we currently assigning. More... | |
A class to specify the initial conditions for a solid body. Solid bodies are often discretised with Hermite-type elements, for which the assignment of the generalised nodal values is nontrivial since they represent derivatives w.r.t. to the local coordinates. A SolidInitialCondition object specifies initial position (i.e. shape), velocity and acceleration of the structure with a geometric object. An integer specifies which time-derivative derivative is currently assigned. See example codes for a demonstration of its use.
Definition at line 3495 of file elements.h.
|
inline |
Constructor: Pass geometric object; initialise time deriv to 0.
Definition at line 3499 of file elements.h.
|
delete |
Broken copy constructor.
|
inline |
(Reference to) pointer to geom object that specifies the initial condition
Definition at line 3511 of file elements.h.
References Geom_object_pt.
Referenced by oomph::SolidFiniteElement::fill_in_generic_jacobian_for_solid_ic(), oomph::SolidICProblem::set_newmark_initial_condition_consistently(), oomph::SolidICProblem::set_newmark_initial_condition_directly(), and oomph::SolidICProblem::set_static_initial_condition().
|
inline |
Which time derivative are we currently assigning?
Definition at line 3517 of file elements.h.
References IC_time_deriv.
Referenced by oomph::SolidFiniteElement::fill_in_generic_jacobian_for_solid_ic(), oomph::SolidICProblem::set_newmark_initial_condition_consistently(), oomph::SolidICProblem::set_newmark_initial_condition_directly(), and oomph::SolidICProblem::set_static_initial_condition().
|
delete |
Broken assignment operator.
|
private |
Pointer to the GeomObject that specifies the initial condition (shape, veloc and accel)
Definition at line 3526 of file elements.h.
Referenced by geom_object_pt().
|
private |
Which time derivative (0,1,2) are we currently assigning.
Definition at line 3529 of file elements.h.
Referenced by ic_time_deriv().