structopt.common.population.fitnesses

class structopt.common.population.fitnesses.Fitnesses(parameters)

Bases: object

Holds the parameters for each fitness module and defines a utility function to compute the fitnesses for each fitness module.

calculate_fitnesses(population)

Perform the fitness calculations on an entire population.

Args:
population (Population): the population to evaluate

(@parallel) Designed to run code that runs differently on different cores. The MPI functionality should be implemented inside these functions.

post_processing(fitnesses)
structopt.common.population.fitnesses.LAMMPS.fitness(population, parameters)

Perform the LAMMPS fitness calculation on an entire population.

Args:
population (Population): the population to evaluate

(@parallel) Designed to run code that runs differently on different cores. The MPI functionality should be implemented inside these functions.

structopt.common.population.fitnesses.FEMSIM.fitness(population, parameters)

Perform the FEMSIM fitness calculation on an entire population.

Args:
population (Population): the population to evaluate

(@root) Designed to run on the root node only.