proteus  1.8.1
C/C++/Fortran libraries
Namespaces | Functions
partitioning.h File Reference
#include <iostream>
#include <valarray>
#include "mpi.h"
#include "hdf5.h"
#include "petsc.h"
#include "petscsys.h"
#include "mesh.h"
#include "meshio.h"
Include dependency graph for partitioning.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 proteus
 

Functions

size_t proteus::getPeakRSS ()
 
size_t proteus::getCurrentRSS ()
 
int proteus::enforceMemoryLimit (const MPI_Comm &PROTEUS_COMM_WORLD, int rank, double max_rss_gb, const char *msg)
 
int proteus::partitionElementsOriginal (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, int nElements_overlap)
 
int proteus::partitionNodes (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, int nNodes_overlap)
 
int proteus::partitionNodesFromTetgenFiles (const MPI_Comm &PROTEUS_COMM_WORLD, const char *filebase, int indexBase, Mesh &newMesh, int nNodes_overlap)
 
int proteus::partitionNodesFromTriangleFiles (const MPI_Comm &PROTEUS_COMM_WORLD, const char *filebase, int indexBase, Mesh &newMesh, int nNodes_overlap)
 
int proteus::partitionElements (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, int nElements_overlap)
 
int proteus::buildQuadraticSubdomain2GlobalMappings_1d (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, const int *elementOffsets_subdomain_owned, const int *nodeOffsets_subdomain_owned, const int *elementNumbering_subdomain2global, const int *nodeNumbering_subdomain2global, int &nDOF_all_processes, int &nDOF_subdomain, int &max_dof_neighbors, int *offsets_subdomain_owned, int *subdomain_l2g, int *subdomain2global, double *lagrangeNodesArray)
 
int proteus::buildQuadraticSubdomain2GlobalMappings_2d (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, const int *elementBoundaryOffsets_subdomain_owned, const int *nodeOffsets_subdomain_owned, const int *elementBoundaryNumbering_subdomain2global, const int *nodeNumbering_subdomain2global, int &nDOF_all_processes, int &nDOF_subdomain, int &max_dof_neighbors, int *offsets_subdomain_owned, int *subdomain_l2g, int *subdomain2global, double *lagrangeNodesArray)
 
int proteus::buildQuadraticSubdomain2GlobalMappings_3d (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, const int *edgeOffsets_subdomain_owned, const int *nodeOffsets_subdomain_owned, const int *edgeNumbering_subdomain2global, const int *nodeNumbering_subdomain2global, int &nDOF_all_processes, int &nDOF_subdomain, int &max_dof_neighbors, int *offsets_subdomain_owned, int *subdomain_l2g, int *subdomain2global, double *lagrangeNodesArray)
 
int proteus::buildQuadraticCubeSubdomain2GlobalMappings_3d (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, const int *edgeOffsets_subdomain_owned, const int *nodeOffsets_subdomain_owned, const int *edgeNumbering_subdomain2global, const int *nodeNumbering_subdomain2global, int &nDOF_all_processes, int &nDOF_subdomain, int &max_dof_neighbors, int *offsets_subdomain_owned, int *subdomain_l2g, int *subdomain2global, double *lagrangeNodesArray)
 
int proteus::buildDiscontinuousGalerkinSubdomain2GlobalMappings (const MPI_Comm &PROTEUS_COMM_WORLD, Mesh &mesh, const int *elementOffsets_subdomain_owned, const int *elementNumbering_subdomain2global, int nDOF_element, int &nDOF_all_processes, int &nDOF_subdomain, int &max_dof_neighbors, int *offsets_subdomain_owned, int *subdomain_l2g, int *subdomain2global)