MPI application
The FETI method uses MPI for the communication between subdomains.
#include <mpi.h>
int main(
int argc,
char** argv)
{
MPI_Init(&argc, &argv);
MPI_Finalize();
}
Implementation
const int interpolationTypeId =
structure.InterpolationTypeCreate(eShapeType::QUAD2D);
structure.InterpolationTypeAdd(interpolationTypeId, eDof::COORDINATES, eTypeOrder::EQUIDISTANT1);
structure.InterpolationTypeAdd(interpolationTypeId, eDof::DISPLACEMENTS, eTypeOrder::EQUIDISTANT1);
structure.ImportMeshJson(meshFile,interpolationTypeId);
Assembly of the connectivity matrix
alt text