# Path: sucemfem/Testing/Paths.py
# def get_module_path(modfile):
# def get_module_path_filename(filename, __file__):
# def get_module_path_file(filename, __file__, mode='r'):
# 
# Path: sucemfem/Consts.py
# Z0 = mu0*c0                              
# 
# Path: sucemfem/PostProcessing/power_flux.py
# class SurfaceFlux(object):
# class VariationalSurfaceFlux(object):
#     def __init__(self, function_space):
#     def set_dofs(self, dofs):
#     def set_k0(self,k0):
#     def _get_mur_function(self):
#     def set_mur_function(self, mur_function):
#     def _get_form(self):
#     def calc_flux(self):
#     def __init__(self, function_space):
#     def set_dofs(self, dofs):
#     def set_k0(self,k0):
#     def set_epsr_function(self, epsr_function):
#     def set_mur_function(self, mur_function):
#     def calc_flux(self):
#     def _get_mur_function(self):
#     def _get_epsr_function(self):


import unittest
import os
import pickle
import numpy as np
import dolfin
from sucemfem.Testing import Paths
from sucemfem.Consts import c0
from sucemfem.PostProcessing import power_flux
## 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


# Module under test


class test_SurfaceFlux(unittest.TestCase):
    data_dir = 'data'

# Path: sucemfem/Testing/Paths.py
# def get_module_path(modfile):
# def get_module_path_filename(filename, __file__):
# def get_module_path_file(filename, __file__, mode='r'):
# 
# Path: sucemfem/Consts.py
# Z0 = mu0*c0                              
# 
# Path: sucemfem/PostProcessing/power_flux.py
# class SurfaceFlux(object):
# class VariationalSurfaceFlux(object):
#     def __init__(self, function_space):
#     def set_dofs(self, dofs):
#     def set_k0(self,k0):
#     def _get_mur_function(self):
#     def set_mur_function(self, mur_function):
#     def _get_form(self):
#     def calc_flux(self):
#     def __init__(self, function_space):
#     def set_dofs(self, dofs):
#     def set_k0(self,k0):
#     def set_epsr_function(self, epsr_function):
#     def set_mur_function(self, mur_function):
#     def calc_flux(self):
#     def _get_mur_function(self):
#     def _get_epsr_function(self):


# Path: sucemfem/PostProcessing/tests/test_power_flux.py
import unittest
import os
import pickle
import numpy as np
import dolfin
from sucemfem.Testing import Paths
from sucemfem.Consts import c0
from sucemfem.PostProcessing import power_flux

## 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


# Module under test


class test_SurfaceFlux(unittest.TestCase):
    data_dir = 'data'

    test_data_file = 'power_flux_reference_dofs_f-1000000000.000000_o-2_s-0.074948_l-0.100000_h-0.166667.pickle'