Subversion Repositories slepc-dev

Compare Revisions

Ignore whitespace Rev 2539 → Rev 2540

/trunk/src/eps/examples/tests/output/test5_1_complex.out New file
0,0 → 1,28
eps type krylovschur
 
Reading matrix from binary file...
 
All requested eigenvalues computed up to the required tolerance:
6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i
 
eps type arnoldi
 
Reading matrix from binary file...
 
All requested eigenvalues computed up to the required tolerance:
6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i
 
eps type gd
 
Reading matrix from binary file...
 
All requested eigenvalues computed up to the required tolerance:
6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i
 
eps type jd
 
Reading matrix from binary file...
 
All requested eigenvalues computed up to the required tolerance:
6.91999-0.01011i, 5.79911-0.07099i, 5.45754+0.00133i, 4.67482-0.10141i
 
/trunk/src/eps/examples/tests/test5.c
36,6 → 36,7
const char *prefix,*scalar,*ints,*floats;
PetscViewer viewer;
PetscBool flg,symm;
PetscReal tol=1000*PETSC_MACHINE_EPSILON;
PetscErrorCode ierr;
 
SlepcInitialize(&argc,&argv,(char*)0,help);
79,6 → 80,7
ierr = EPSSetOperators(eps,A,PETSC_NULL);CHKERRQ(ierr);
if (symm) { ierr = EPSSetProblemType(eps,EPS_HEP);CHKERRQ(ierr); }
else { ierr = EPSSetProblemType(eps,EPS_NHEP);CHKERRQ(ierr); }
ierr = EPSSetTolerances(eps,tol,PETSC_DEFAULT);CHKERRQ(ierr);
ierr = EPSSetFromOptions(eps);CHKERRQ(ierr);
 
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
/trunk/src/eps/examples/tests/makefile
118,8 → 118,13
echo "eps type $$eps" >> test5_1.tmp; \
${MPIEXEC} -np 1 ./test5 -eps_type $$eps -eps_nev 4 -eps_terse >> test5_1.tmp 2>&1; \
done; \
if (${DIFF} output/test5_1.out test5_1.tmp) then true; \
else echo "Possible problem with test5_1, diffs above"; fi; \
if (${GREP} USE_COMPLEX ${PETSC_DIR}/${PETSC_ARCH}/include/petscconf.h > /dev/null 2>&1) then \
if (${DIFF} output/test5_1_complex.out test5_1.tmp) then true; \
else echo "Possible problem with test5_1, diffs above"; fi; \
else \
if (${DIFF} output/test5_1.out test5_1.tmp) then true; \
else echo "Possible problem with test5_1, diffs above"; fi; \
fi; \
${RM} -f test5_1.tmp
 
runtest5_blopex: