Public Member Functions | Private Attributes | List of all members
oomph::SolidInitialCondition Class Reference

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

GeomObjectGeom_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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SolidInitialCondition() [1/2]

oomph::SolidInitialCondition::SolidInitialCondition ( GeomObject geom_object_pt)
inline

Constructor: Pass geometric object; initialise time deriv to 0.

Definition at line 3499 of file elements.h.

◆ SolidInitialCondition() [2/2]

oomph::SolidInitialCondition::SolidInitialCondition ( const SolidInitialCondition )
delete

Broken copy constructor.

Member Function Documentation

◆ geom_object_pt()

GeomObject*& oomph::SolidInitialCondition::geom_object_pt ( )
inline

◆ ic_time_deriv()

unsigned& oomph::SolidInitialCondition::ic_time_deriv ( )
inline

◆ operator=()

void oomph::SolidInitialCondition::operator= ( const SolidInitialCondition )
delete

Broken assignment operator.

Member Data Documentation

◆ Geom_object_pt

GeomObject* oomph::SolidInitialCondition::Geom_object_pt
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().

◆ IC_time_deriv

unsigned oomph::SolidInitialCondition::IC_time_deriv
private

Which time derivative (0,1,2) are we currently assigning.

Definition at line 3529 of file elements.h.

Referenced by ic_time_deriv().


The documentation for this class was generated from the following file: