Wrapper type to define all about a honeycomb structure
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(hex_orientation), | public | :: | orientation |
armchair or zigzag |
|||
real(kind=8), | public | :: | size | = | 1d0 |
lattice parameter |
|
real(kind=8), | public, | dimension(2) | :: | origin | = | [0d0, 0d0] |
call layout%print
Pretty print of hex coordinates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(unit_cell), | intent(in) | :: | C | |||
integer, | intent(in), | optional | :: | unit |
default = $stdout |