-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.f90
56 lines (45 loc) · 1.79 KB
/
main.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
! program to populate a grid with an established fuel map
!
! Author: Alexander Josephson (11/19)
! Last Modified: 4/23
!ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
! © 2022. Triad National Security, LLC. All rights reserved. This
! program was produced under U.S. Government contract 89233218CNA000001
! for Los Alamos National Laboratory (LANL), which is operated by Triad
! National Security, LLC for the U.S. Department of Energy/National
! Nuclear Security Administration. All rights in the program are
! reserved by Triad National Security, LLC, and the U.S. Department of
! Energy/National Nuclear Security Administration. The Government is
! granted for itself and others acting on its behalf a nonexclusive,
! paid-up, irrevocable worldwide license in this material to reproduce,
! prepare derivative works, distribute copies to the public, perform
! publicly and display publicly, and to permit others to do so.
!-----------------------------------------------------------------
program fuel_maps
use grid_variables
use io_variables
use infile_variables
!use species_variables
use fuels_create_variables!, only : ilitter!,command
implicit none
! Local Variables
!logical :: DUETexists
! Executable Code
print *,'===================================='
print *,' Running TREES to generate fuel '
print *,' files for FIRETEC or QUIC-Fire '
print *,'===================================='
!-----Initialize
call fuellist_input
call define_constant_variables
call define_grid_variables
!-----Fuel Read-in
if(ifuelin.eq.1) call grid_readin
!-----Establish fuels_create
call fuels_create
!-----Export data to binary files
call output_fuel
!-----Check for and run DUET
if (verbose.eq.1) call output_fuellist
end