!This input file is specific to the two-material design problem !used in test.f90. However, all aspects of the GENERIC_GA module !variable, INDIVIDUAL_ATTRIBUTES, are demonstrated in this file. !Initializing of INDIVIDUAL_ATTRIBUTES is required for the GENERIC_GA !module to work. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! ! Specify the number of iterations for the test.f90 optimization loop: &OPTIMIZATION_LOOP iterations = 1250 / ! ! Note that convergence is not checked for in test.f90. The loop simply ! iterates the number of times specified by iterations. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Specify population sizes: &POPULATION_SIZES population_size = 1 subpopulation_size = 25 / ! The following two sections allow for specifcation of varying numbers ! of laminate chromosomes and varying numbers of geometry chromosomes. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Specify the number of laminate chromosomes in an individual: &INDIVIDUAL_SIZES individual_size_lam = 1 / ! ! The number of laminate chromosomes may be any positive integer. The ! following section must be repeated individual_size_lam times. ! ! Specify individual probabilities: &INDIVIDUAL_PROB prob_inter_ply_swap = 0 / ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Specifications for each laminate chromosome follow. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Laminate 1. ! ! This structure must be repeated individual_size_lam times. ! For the two-material problem, an individual contains only one ! laminate chromosome. For purposes of illustration, a second laminate ! specification follows this one. The second laminate will be read in ! and incorporated into INDIVIDUAL_ATTRIBUTES if individual_size_lam = 2. ! ! Specify laminate chromosome information: &LAMINATE_INFO lam_size = 20 empty_plies = .TRUE. crossover_type = 7 mutation_type = 2 / ! Specify laminate chromosome probabilities: &LAMINATE_PROB prob_crossover = 1.0 prob_mut_orientation = 0.05 prob_mut_material = 0.05 prob_ply_addition = 0.05 prob_ply_deletion = 0.1 prob_intra_ply_swap = .00 prob_permutation = 0.00 / ! Specify the alphabet used in this laminate's orientation genes: ! (NAMELIST input is not used for the orientation alphabet; the alphabet ! must therefore immediately follow the specification.) &PLY_ANGLES num_poss_orientations = 7 / 1 2 3 4 5 6 7 ! Specify the alphabet used in this laminate's material genes: ! (NAMELIST input is not used for the material alphabet; the alphabet ! must therefore immediately follow the specification.) &MATERIAL_TYPES num_materials = 2 / 1 2 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Laminate 2. ! ! This structure must be repeated individual_size_lam times. ! For the two-material problem, an individual contains only one ! laminate chromosome. For purposes of illustration, this laminate ! specification is included. The second laminate will be read in ! and incorporated into INDIVIDUAL_ATTRIBUTES if individual_size_lam = 2. ! ! Specify laminate chromosome information: &LAMINATE_INFO lam_size = 40 empty_plies = .FALSE. crossover_type = 3 mutation_type = 1 / ! Specify laminate chromosome probabilities: &LAMINATE_PROB prob_crossover = 1.00 prob_mut_orientation = 0.15 prob_mut_material = 0.05 prob_ply_addition = 0.10 prob_ply_deletion = 0.15 prob_intra_ply_swap = .05 prob_permutation = 0.05 / ! Specify the alphabet used in this laminate's orientation genes: ! (NAMELIST input is not used for the orientation alphabet; the alphabet ! must therefore immediately follow the specification.) &PLY_ANGLES num_poss_orientations = 5 / 2 3 4 5 6 ! Specify the alphabet used in this laminate's material genes: ! (NAMELIST input is not used for the material alphabet; the alphabet ! must therefore immediately follow the specification.) &MATERIAL_TYPES num_materials = 1 / 2 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Specify the number of geometry chromosomes in an individual: &INDIVIDUAL_SIZES individual_size_geom = 1 / ! ! The number of geometry chromosomes may be any positive integer. The ! following section must be repeated individual_size_geom times. ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! Specifications for each geometry chromosome follow. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Geometry Chromosome 1. ! ! This structure must be repeated individual_size_geom times. ! For the two-material problem, an individual contains only one ! geometry chromosome. For purposes of illustration, a second geometry ! specification follows this one. The second geometry specification ! will be read in and incorporated into ! INDIVIDUAL_ATTRIBUTES if individual_size_geom = 2. ! ! Specifiy the probabilities for this geometry chromosome: &GEOMETRY_PROB prob_crossover = 0.05 prob_mutation = 0.75 / ! ! Specify the number of genes in this geometry chromosome: ! (NAMELIST input is not used for the gene ranges; the gene ranges ! must therefore immediately follow the specification.) &GEOMETRY_CHROMO_SIZE geom_chromo_size = 2 / 36.00 36.00 30.00 30.00 ! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Geometry Chromosome 2: ! ! Specifiy the probabilities for this geometry chromosome: &GEOMETRY_PROB prob_crossover = 0.5 prob_mutation = 0.5 / ! ! Specify the number of genes in this geometry chromosome: ! (NAMELIST input is not used for the gene ranges; the gene ranges ! must therefore immediately follow the specification.) &GEOMETRY_CHROMO_SIZE geom_chromo_size = 2 / 3.00 4.00 2.0 3.0 ! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!