Class representing a rectangular grid mesh.
Definition Mesh.h:26
void setSeismicData()
Loads seismic data from the file specified in the model configuration.
const std::vector< int > & getSeismicNodeIndices()
Returns the list of seismic node indices.
void applySeismicVelocityMarkedSTLNodes(Mesh *mesh)
Applies seismic velocity to the marked seismic nodes using STL mesh.
const Eigen::Vector3d & getAcceleration()
Returns the seismic acceleration.
void markSeismicNodes(double epsilon, Mesh *mesh)
Marks the nodes that will receive seismic loading.
void disableSeismicAnalysis()
Disables seismic analysis.
void setSeismicAnalysis(const SeismicAnalysis &info)
Sets the seismic analysis configuration.
bool isSeismicNode(int nodeId)
Checks if a node is marked as seismic.
SeismicAnalysis & getSeismicAnalysis()
Provides access to the current seismic analysis parameters.
void updateSeismicVectors(const double currentTime, const double dt)
Updates the accumulated seismic velocity and acceleration based on the current time and time step.
SeismicData & getSeismicData()
Provides access to the loaded seismic data.
const Eigen::Vector3d & getAccumulatedVelocity()
Returns the accumulated seismic velocity.
Structure to hold seismic analysis information.
Definition Seismic.h:45
bool hasHeader
Definition Seismic.h:47
bool isActive
Definition Seismic.h:46
std::string filename
Definition Seismic.h:48
Stores seismic time series data.
Definition Seismic.h:27
std::vector< double > time
Definition Seismic.h:28
std::vector< Eigen::Vector3d > acceleration
Definition Seismic.h:29