Ground motion

class xc.GroundMotion

Bases: xc_base.CommandEntity

getAccel((GroundMotion)arg1, (float)arg2) float :

Returns acceleration at time t.

C++ signature :

double getAccel(XC::GroundMotion {lvalue},double)

getDisp((GroundMotion)arg1, (float)arg2) float :

Returns displacement at time t.

C++ signature :

double getDisp(XC::GroundMotion {lvalue},double)

getDispVelAccel((GroundMotion)arg1, (float)arg2) Vector :

Returns displacement, velocity and acceleration at time t.

C++ signature :

XC::Vector getDispVelAccel(XC::GroundMotion {lvalue},double)

getDuration((GroundMotion)arg1) float :

Returns motion’s duration.

C++ signature :

double getDuration(XC::GroundMotion {lvalue})

getPeakAccel((GroundMotion)arg1) float :

Returns motion’s peak acceleration

C++ signature :

double getPeakAccel(XC::GroundMotion {lvalue})

getPeakDisp((GroundMotion)arg1) float :

Returns motion’s peak displacement.

C++ signature :

double getPeakDisp(XC::GroundMotion {lvalue})

getPeakVel((GroundMotion)arg1) float :

Returns motion’s peak velocity.

C++ signature :

double getPeakVel(XC::GroundMotion {lvalue})

getVel((GroundMotion)arg1, (float)arg2) float :

Returns velocity at time t.

C++ signature :

double getVel(XC::GroundMotion {lvalue},double)

class xc.MotionHistory

Bases: xc_base.CommandEntity

property accel

Get/set the history of accelerations.

property delta

Integration step size.

property disp

Get/set the history of displacements.

getNumberOfDataPoints((MotionHistory)arg1) int :

Returns the number of data points.

C++ signature :

unsigned long getNumberOfDataPoints(XC::MotionHistory {lvalue})

setIntegrator((MotionHistory)arg1, (str)arg2) None :

Assing the type of integrator to compute velocities from accelerations and displacements from velocities.

C++ signature :

void setIntegrator(XC::MotionHistory {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)

property vel

Get/set the history of velocities.

class xc.GroundMotionRecord

Bases: xc.GroundMotion

property history

Ground motion history.

class xc.InterpolatedGroundMotion

Bases: xc.GroundMotion

class xc.DqGroundMotions

Bases: xc_base.CommandEntity