# Path: sucemfem/Consts.py
# Z0 = mu0*c0                              


import sys
import numpy as N
import os
import dolfin as dol
import postproc_eigres
from dolfin import dot, curl, inner, dx
from scipy.sparse.linalg.eigen.arpack import speigs
from sucemfem.Consts import eps0, mu0, c0
from material_properties import MaterialProperties
## Copyright (C) 2011 Stellenbosch University
##
## This file is part of SUCEM.
##
## SUCEM is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## SUCEM is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with SUCEM. If not, see <http://www.gnu.org/licenses/>. 
##
## Contact: cemagga@gmail.com 
# Authors:
# Neilen Marais <nmarais@gmail.com>
from __future__ import division

sys.path.append('../../')



# Test for PETSc and SLEPc
if not dol.has_la_backend("PETSc"):

# Path: sucemfem/Consts.py
# Z0 = mu0*c0                              


# Path: sandbox/eig/eig_materials.py
import sys
import numpy as N
import os
import dolfin as dol
import postproc_eigres
from dolfin import dot, curl, inner, dx
from scipy.sparse.linalg.eigen.arpack import speigs
from sucemfem.Consts import eps0, mu0, c0
from material_properties import MaterialProperties

## Copyright (C) 2011 Stellenbosch University
##
## This file is part of SUCEM.
##
## SUCEM is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
##
## SUCEM is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with SUCEM. If not, see <http://www.gnu.org/licenses/>. 
##
## Contact: cemagga@gmail.com 
# Authors:
# Neilen Marais <nmarais@gmail.com>
from __future__ import division

sys.path.append('../../')



# Test for PETSc and SLEPc
if not dol.has_la_backend("PETSc"):

    print "DOLFIN has not been configured with PETSc. Exiting."