boundary_types.f90 Source File


Files dependent on this one

sourcefile~~boundary_types.f90~~AfferentGraph sourcefile~boundary_types.f90 boundary_types.f90 sourcefile~plume_boundary.f90 plume_boundary.F90 sourcefile~plume_boundary.f90->sourcefile~boundary_types.f90 sourcefile~glacier_boundary.f90 glacier_boundary.F90 sourcefile~glacier_boundary.f90->sourcefile~boundary_types.f90 sourcefile~finite_difference_block.f90 finite_difference_block.F90 sourcefile~finite_difference_block.f90->sourcefile~boundary_types.f90 sourcefile~asymmetric_plume.f90 asymmetric_plume.F90 sourcefile~asymmetric_plume.f90->sourcefile~boundary_types.f90 sourcefile~asymmetric_plume.f90->sourcefile~plume_boundary.f90 sourcefile~simple_plume.f90 simple_plume.F90 sourcefile~asymmetric_plume.f90->sourcefile~simple_plume.f90 sourcefile~upstream_plume.f90 upstream_plume.F90 sourcefile~asymmetric_plume.f90->sourcefile~upstream_plume.f90 sourcefile~ice_shelf.f90 ice_shelf.F90 sourcefile~ice_shelf.f90->sourcefile~boundary_types.f90 sourcefile~ice_shelf.f90->sourcefile~glacier_boundary.f90 sourcefile~dallaston2015_glacier.f90 dallaston2015_glacier.F90 sourcefile~ice_shelf.f90->sourcefile~dallaston2015_glacier.f90 sourcefile~jacobian_block.f90 jacobian_block.F90 sourcefile~ice_shelf.f90->sourcefile~jacobian_block.f90 sourcefile~simple_plume.f90->sourcefile~boundary_types.f90 sourcefile~simple_plume.f90->sourcefile~plume_boundary.f90 sourcefile~static_plume.f90 static_plume.F90 sourcefile~static_plume.f90->sourcefile~boundary_types.f90 sourcefile~static_plume.f90->sourcefile~plume_boundary.f90 sourcefile~static_plume.f90->sourcefile~simple_plume.f90 sourcefile~static_plume.f90->sourcefile~upstream_plume.f90 sourcefile~dallaston2015_seasonal.f90 dallaston2015_seasonal.F90 sourcefile~dallaston2015_seasonal.f90->sourcefile~boundary_types.f90 sourcefile~dallaston2015_seasonal.f90->sourcefile~plume_boundary.f90 sourcefile~dallaston2015_glacier.f90->sourcefile~boundary_types.f90 sourcefile~dallaston2015_glacier.f90->sourcefile~glacier_boundary.f90 sourcefile~upstream_plume.f90->sourcefile~boundary_types.f90 sourcefile~upstream_plume.f90->sourcefile~plume_boundary.f90 sourcefile~seasonal_glacier.f90 seasonal_glacier.F90 sourcefile~seasonal_glacier.f90->sourcefile~boundary_types.f90 sourcefile~seasonal_glacier.f90->sourcefile~glacier_boundary.f90 sourcefile~jacobian_block.f90->sourcefile~boundary_types.f90 sourcefile~plume.f90 plume.F90 sourcefile~plume.f90->sourcefile~boundary_types.f90 sourcefile~plume.f90->sourcefile~plume_boundary.f90 sourcefile~plume.f90->sourcefile~simple_plume.f90 sourcefile~plume.f90->sourcefile~upstream_plume.f90 sourcefile~preconditioner.f90 preconditioner.F90 sourcefile~preconditioner.f90->sourcefile~jacobian_block.f90 sourcefile~ice_sheet.f90 ice_sheet.F90 sourcefile~ice_sheet.f90->sourcefile~jacobian_block.f90

Contents

Source Code


Source Code

!
!  boundary_types.f90
!  This file is part of ISOFT.
!  
!  Copyright 2017 Chris MacMackin <cmacmackin@gmail.com>
!  
!  This program 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 2 of the License, or
!  (at your option) any later version.
!  
!  This program 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 this program; if not, write to the Free Software
!  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
!  MA 02110-1301, USA.
!  

module boundary_types_mod
  !* Author: Christopher MacMackin
  !  Date: January 2017
  !  License: GPLv3
  !
  ! Provides parameters which can be used to represent different types
  ! of boundary conditions.
  !
  implicit none
  private

  integer, parameter, public :: free_boundary = -1
    !! Indicates that the solution may take any value at the boundary.
  integer, parameter, public :: dirichlet = 0
    !! Indicates that the value of the solution at this boundary is
    !! prescribed.
  integer, parameter, public :: neumann = 1
    !! Indicates that the first derivative of the solution at this
    !! boundary is prescribed.
  integer, parameter, public :: cauchy = 5
    !! Indicates that the value of the solution and its first
    !! derivative are both prescribed at this boundary.
  integer, parameter, public :: robin = 6
    !! Indicates that the linear combination of the solution's value
    !! and first derivative is prescribed at this boundary.

end module boundary_types_mod