Parallel PopGen Package
Sim_Model::F_mu_h_constant Struct Reference

functor: models parameter p as a constant across populations and over time More...

Public Member Functions

 F_mu_h_constant ()
 default constructor More...
 
 F_mu_h_constant (float p)
 constructor More...
 
__host__ __forceinline__ float operator() (const int population, const int generation) const
 Inbreeding/Mutation/Dominance operator, returns parameter p for a given population, generation More...
 

Public Attributes

float p
 parameter constant More...
 

Detailed Description

functor: models parameter p as a constant across populations and over time

Examples:
Example1-Speed, Example2-DaDi, and Example3-Compilation.

Definition at line 101 of file go_fish.cuh.

Constructor & Destructor Documentation

§ F_mu_h_constant() [1/2]

Sim_Model::F_mu_h_constant::F_mu_h_constant ( )
inline

default constructor

p = 0

Definition at line 181 of file template_inline_simulation_functors.cuh.

§ F_mu_h_constant() [2/2]

Sim_Model::F_mu_h_constant::F_mu_h_constant ( float  p)
inline

constructor

Definition at line 182 of file template_inline_simulation_functors.cuh.

Member Function Documentation

§ operator()()

__host__ __forceinline__ float Sim_Model::F_mu_h_constant::operator() ( const int  population,
const int  generation 
) const

Inbreeding/Mutation/Dominance operator, returns parameter p for a given population, generation

Definition at line 183 of file template_inline_simulation_functors.cuh.

Member Data Documentation

§ p

float Sim_Model::F_mu_h_constant::p

parameter constant

Definition at line 103 of file go_fish.cuh.


The documentation for this struct was generated from the following files: