| Copyright | (c) 2013-2015 2021 Jean-Luc JOULIN |
|---|---|
| License | Private |
| Maintainer | jean-luc-joulin@orange.fr |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell98 |
HsMesher.Types
Description
Les types de base de la bibliothèque.
Synopsis
- data MeshingMethod1D a b
- = (Eq a, Show a, Integral a, Eq b, Show b, RealFloat b) => NdivRegular a
- | (Eq a, Show a, Integral a, Eq b, Show b, RealFloat b) => NdivLinear a b
- | (Eq a, Show a, Integral a, Eq b, Show b, RealFloat b) => NdivDoubleLinear a b
- | (Eq b, Show b, RealFloat b) => SizeRegular b
- | (Eq b, Show b, RealFloat b) => SizeLinear b b
- | (Eq b, Show b, RealFloat b) => SizeDoubleLinear b b
- data MeshingResult1D b
- = (Eq b, Show b, RealFloat b) => Mesh1D [(b, b, b)]
- | (Eq b, Show b, RealFloat b) => CoincidentsPoints (b, b, b) (b, b, b)
- | (Eq b, Show b, RealFloat b) => PointsOnSameLine (b, b, b) (b, b, b) (b, b, b)
- | NegativeSizing
Documentation
Le type principal pour le maillage 1D est MeshingMethod1D qui contient
plusieurs constructeur adaptés a chaque méthode de maillage.
Le type permet d'être utilisé avec deux types:
data MeshingMethod1D a b #
Création du type MeshingMethod1D permettant de régler les différentes méthodes et options de maillage.
Constructors
| (Eq a, Show a, Integral a, Eq b, Show b, RealFloat b) => NdivRegular a | Nombre de divisions fixé et divisions régulieres |
| (Eq a, Show a, Integral a, Eq b, Show b, RealFloat b) => NdivLinear a b | Nombre de divisions fixé et progression linéaire des divisions dans un seul sens |
| (Eq a, Show a, Integral a, Eq b, Show b, RealFloat b) => NdivDoubleLinear a b | Nombre de divisions fixé et progression linéaire des divisions dans les deux sens |
| (Eq b, Show b, RealFloat b) => SizeRegular b | Taille de divisions fixé et divisions régulieres |
| (Eq b, Show b, RealFloat b) => SizeLinear b b | Taille de divisions fixé et progression linéaire des divisions dans un seul sens |
| (Eq b, Show b, RealFloat b) => SizeDoubleLinear b b | Taille de divisions fixé et progression linéaire des divisions dans les deux sens |
Instances
| Eq (MeshingMethod1D a b) # | |
Defined in HsMesher.Types Methods (==) :: MeshingMethod1D a b -> MeshingMethod1D a b -> Bool # (/=) :: MeshingMethod1D a b -> MeshingMethod1D a b -> Bool # | |
| Show (MeshingMethod1D a b) # | |
Defined in HsMesher.Types Methods showsPrec :: Int -> MeshingMethod1D a b -> ShowS # show :: MeshingMethod1D a b -> String # showList :: [MeshingMethod1D a b] -> ShowS # | |
data MeshingResult1D b #
Constructors
| (Eq b, Show b, RealFloat b) => Mesh1D [(b, b, b)] | |
| (Eq b, Show b, RealFloat b) => CoincidentsPoints (b, b, b) (b, b, b) | |
| (Eq b, Show b, RealFloat b) => PointsOnSameLine (b, b, b) (b, b, b) (b, b, b) | |
| NegativeSizing |
Instances
| Show (MeshingResult1D b) # | |
Defined in HsMesher.Types Methods showsPrec :: Int -> MeshingResult1D b -> ShowS # show :: MeshingResult1D b -> String # showList :: [MeshingResult1D b] -> ShowS # | |