MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
Seismic.h File Reference
#include "Mesh/Mesh.h"
#include <Eigen/Dense>
#include <vector>
#include <string>
Include dependency graph for Seismic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SeismicData
 Stores seismic time series data. More...
 
struct  SeismicAnalysis
 Structure to hold seismic analysis information. More...
 

Namespaces

namespace  Seismic
 

Functions

void Seismic::setSeismicData ()
 Loads seismic data from the file specified in the model configuration.
 
SeismicDataSeismic::getSeismicData ()
 Provides access to the loaded seismic data.
 
SeismicAnalysisSeismic::getSeismicAnalysis ()
 Provides access to the current seismic analysis parameters.
 
void Seismic::setSeismicAnalysis (const SeismicAnalysis &info)
 Sets the seismic analysis configuration.
 
void Seismic::applySeismicVelocityMarkedSTLNodes (Mesh *mesh)
 Applies seismic velocity to the marked seismic nodes using STL mesh.
 
void Seismic::updateSeismicVectors (const double currentTime, const double dt)
 Updates the accumulated seismic velocity and acceleration based on the current time and time step.
 
void Seismic::markSeismicNodes (double epsilon, Mesh *mesh)
 Marks the nodes that will receive seismic loading.
 
const std::vector< int > & Seismic::getSeismicNodeIndices ()
 Returns the list of seismic node indices.
 
bool Seismic::isSeismicNode (int nodeId)
 Checks if a node is marked as seismic.
 
const Eigen::Vector3d & Seismic::getAccumulatedVelocity ()
 Returns the accumulated seismic velocity.
 
const Eigen::Vector3d & Seismic::getAcceleration ()
 Returns the seismic acceleration.
 
void Seismic::disableSeismicAnalysis ()
 Disables seismic analysis.