Defines data structures for Stencil in swSim. More...
#include "include/Stencil.hpp"
Public Member Functions | |
Stencil (swSim::Model &model, swSim::SWMesh &localMesh, MPI_Comm l_mpi_comm, swSim::Segmentation &lSeg) | |
Create the Stencil. More... | |
~Stencil () | |
Destroy the Stencil. More... | |
void | Print (int rank) |
Print info about the Stencil. More... | |
Public Attributes | |
std::vector< swSim::DenseVector > | V |
Velocity State vector. More... | |
std::vector< swSim::DenseVector > | S |
Stress State vector. More... | |
std::vector< swSim::SparseMatrix > | AStoV |
Transition matrix from Stress to Velocity. More... | |
std::vector< swSim::SparseMatrix > | AVtoS |
Transition matrix from Velocity to Stress. More... | |
swSim::SparseMatrix | AinvRhoBar |
Inverse of Average density for each node More... | |
swSim::SparseMatrix | AForceDispersion |
1/8 connectivity matrix for each cell to connected nodes More... | |
std::vector< swSim::DriveVector > | U |
Drive Vector for the model More... | |
swSim::Stencil::Stencil | ( | swSim::Model & | model, |
swSim::SWMesh & | localMesh, | ||
MPI_Comm | l_mpi_comm, | ||
swSim::Segmentation & | lSeg | ||
) |
Create the Stencil.
swSim::Stencil::~Stencil | ( | ) |
Destroy the Stencil.
void swSim::Stencil::Print | ( | int | rank | ) |
Print info about the Stencil.
std::vector<swSim::DenseVector> swSim::Stencil::V |
Velocity State vector.
std::vector<swSim::DenseVector> swSim::Stencil::S |
Stress State vector.
std::vector<swSim::SparseMatrix> swSim::Stencil::AStoV |
Transition matrix from Stress to Velocity.
std::vector<swSim::SparseMatrix> swSim::Stencil::AVtoS |
Transition matrix from Velocity to Stress.
swSim::SparseMatrix swSim::Stencil::AinvRhoBar |
Inverse of Average density for each node
swSim::SparseMatrix swSim::Stencil::AForceDispersion |
1/8 connectivity matrix for each cell to connected nodes
std::vector<swSim::DriveVector> swSim::Stencil::U |
Drive Vector for the model