Skip to content
Snippets Groups Projects
Commit ad39f5c1 authored by Gauthier Becker's avatar Gauthier Becker
Browse files

mpi in progress

non linear fracture in progress
fix bug if slepc is not installed
parent 9bd3ac3e
No related branches found
No related tags found
No related merge requests found
......@@ -35,13 +35,14 @@ class eigenSolver{
};
#else
#include "linearSystemPETSc.h"
class eigenSolver{
private:
std::vector<std::complex<double> > _dummy;
public:
eigenSolver(dofManager<double> *manager, std::string A,
std::string B="", bool hermitian=false){}
eigenSolver(linearSystemPETSc<double> *A,linearSystemPETSc<double>* B = NULL, bool hermitian=false){}
bool solve(int numEigenValues=0, std::string which="")
{
Msg::Error("Eigen solver requires SLEPc");
......
......@@ -67,6 +67,10 @@ class groupOfElements {
return _elements.size();
}
size_t vsize() const {
return _vertices.size();
}
// FIXME : NOT VERY ELEGANT !!!
bool find (MElement *e) const // if same parent but different physicals return true ?!
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment