BACKGROUND
the relationship between genetic diversity and population size offers a number of tantalizing insights into demographic influences on evolution  <cit> .
while life history characteristics of species tend to make the effective population size  of a species much lower than the actual census size  <cit> , neutral theory  <cit>  predicts a proportional relationship between genetic diversity and ne  <cit> .
research has shown many cases in which ne as estimated from genetic markers is several orders of magnitude lower than would be predicted based on census size  and a species' reproductive traits  <cit> , and it has been suggested that extremely high variance in reproductive success  or genome-wide selective sweeps  <cit>  may be causal mechanisms.
here, using the results of pringle and colleagues  <cit>  and a simple numerical model, we quantify ne for populations whose dispersal is subject to persistent directional flow and find a complementary mechanism for the reduction of ne.
we do this in a linear domain, such as a benthic population in a stream or a coastline, though the results can be easily generalized to different geometries.
we find that physical drift in the ocean or in a stream supplements genetic drift as a mechanism for losing genetic diversity, and thus asymmetric dispersal – where larvae are more likely to settle to one side of their parent then another – will reduce ne in a given species domain.
this mechanism for the reduction of ne will be shown to be distinct from sweepstakes models.
in the sweepstakes models, ne is reduced by variability in reproductive success between individuals in the same region.
in contrast, physical drift will be shown to reduce ne by creating differential reproductive success between individuals in different regions.
previous work  has shown that in a linked series of populations that exchange differing numbers of migrants, the "downstream" sink population  lost endemic alleles and eventually acquired the allele structure of the upstream population.
these results suggest that the ne of the entire group of populations would tend to that of only the upstream population, given sufficiently large and asymmetric migration.
while their work treated this effect in discrete demes, we examine a continuously distributed species along a coast or river in which there is no a priori partition into separate populations – a pattern that closely resembles many marine and freshwater systems.
in addition, we assume that local density dependent effects limit the population and that there is no significant immigration from outside of the population being considered.
we first find the region of the species domain in which the species is maintained by propagules released in that region, and not by migration from elsewhere.
then we show that it is the population of this region that acts as a source of allelic diversity and defines ne for the species over its entire domain.
by identifying allelic retention as a spatially defined component of coastal diversity, this work has implications for the design of marine reserves.
while genetic diversity has typically not been considered in the placement or size of marine reserves  <cit> , there are clear associations between local genetic diversity and a population's resilience to stress and environmental change  <cit> .
an estimate of ne in an advective environment
in order to determine ne, it is necessary to divide the populations into source and sink regions.
to do so, we define a "retentive population" as a demographically stable group of individuals that can persist without immigration from outside its domain.
this definition is equivalent to that of booke  <cit>  as discussed in  <cit> .
in coastal oceans, and other nearly one-dimensional systems such as rivers, pringle and wares  <cit>  showed that a population and any alleles it contains could persist within a region if
log > l2adv/
where nallele is the mean number of a given allele  in the offspring that recruit and successfully reach reproductive age per gene copy per adult per lifetime, considering the effects of density dependence on reproductive success.
if an allele is neutral, nallele is equivalent to mean lifetime reproductive success per adult  <cit> .
ladv is the average distance a successfully recruiting larva is moved downstream from its parent before recruiting, and ldiff is the standard deviation of that distance for all successful recruiting larvae an adult releases.
these criteria assume that kurtosis of the dispersal kernel is close to that of a gaussian; for other kernels, a correction has been developed .
allelic diversity persists within this retentive population, as the population is not supported by migration from elsewhere.
we define the concept of allelic "persistence" relative to the expectation for the rate at which neutral alleles are lost or go to fixation in a finite randomly mating population  <cit> ; with time, all allelic diversity may be transient.
alleles are considered "persistent" in a given population if they are expected to be lost or go to fixation at the rate predicted for a neutral gene in a population of that size  <cit> .
as will be seen below, alleles in an advective domain that originate outside of a "retentive population" will be lost more rapidly than the neutral prediction, and will go to fixation far less often.
with advection an entire species domain cannot be a retentive population, for the criteria in equation  above cannot be met throughout the species range if ladv is not zero.
at demographic equilibrium, each adult will  generate one surviving offspring and thus one copy each for each copy of an allele it carries – thus the average of nallele over the species range is  <dig> for neutral alleles, which does not satisfy equation .
retention of some allelic diversity occurs because the reproductive success per adult is not evenly distributed spatially, and so in some places is great enough to satisfy eq.
<dig>  <cit> .
one location where enhanced reproductive success must occur is the upstream edge of the model domain, for there can be no subsidy of this region by immigration from farther upstream.
byers and pringle  <cit>  note that if the successful reproduction at the upstream edge of the domain, and therefore nallele for a neutral allele, is greater than that needed to satisfy eq.
, the population will increase at that point.
this suggests that the population at the upstream edge will increase until, due to density dependent effects, the average of nallele over the upstream retention zone is reduced until it just satisfies eq.
.
at the upstream edge of the domain there will be a region where eq.
is satisfied, and novel allelic diversity can be retained.
since most larvae are transported downstream a mean distance ladv, this upstream region also supplies migrants to downstream regions.
thus, the upstream edge is a retentive population where alleles will only change in frequency due to stochastic drift in allele frequency and the accompanying probability of fixation.
the size and census population of the region of enhanced reproductive success, and thus ne, will depend on the nature of the spatial variation in habitat quality, ladv and ldiff.
here we examine the case in which the habitat is spatially uniform downstream of the upstream edge of the habitat.
the mean transport will move an average propagule nladv downstream of its parents after n generations, while the stochastic component of transport will move the propagule a standard deviation of n <dig> ldiff around that point  <cit> .
these two distances are equal after n = l2diff/l2adv generations.
substituting this expression into either of the distances defined above gives the distance lreten = l2diff/ladv, suggesting lreten is the fundamental length scale of this system, and is the distance over which the effects of mean and stochastic propagule transport are balanced.
this suggestion is confirmed with dimensional analysis  <cit>  by noting that "generation" is a discrete time-like dimension, and that the relations nladv and n <dig> ldiff suggest underlying parameters with units of velocity  and diffusivity .
from these, only a single dimensionally consistent length scale can be formed, and it is lreten.
multiplying this distance by the carrying capacity per unit length of the environment  provides a scaling for ne comparable to that of  <cit> :
ne = hdensl2diff/ladv,
and the numerical modeling described below confirms the appropriateness of this scale.
can be satisfied even when the population is close to its carrying capacity.
when this is not true, the population is marginal at this location  <cit> , and the estimate of ne will be further reduced).
we expect this estimate of ne to be reduced relative to standard drift expectations by increasing mean propagule transport , and that this effect is diminished by increased stochastic transport .
since ladv and ldiff are significantly smaller than species ranges for most coastal species  <cit> , this value of ne should be much less than the census population size of the entire domain or metapopulation .
downstream of the retentive population that defines ne, nallele will not satisfy  – and alleles are not retained – if ladv is non-zero.
allelic diversity in downstream regions will be set by the allelic composition of migrants from upstream.
so, in an advective environment the evolution of allelic diversity in the entire population will be governed by the allelic diversity in the retentive population, and the ne for the entire population should approach the census population of the retentive population given by eq.
.
however, heterogeneity in abiotic  as well as biotic  factors that result in an interruption or severe reduction of larval transport from upstream may lead to the formation of additional retention zones within a species' geographic range that harbor additional diversity  <cit> .
as descendants of adults in the retentive populations drift downstream in large species domains, they may acquire additional allelic diversity through mutation.
it will be argued below that for most realistic population and dispersal parameters this latter effect is small.
methods &
RESULTS
to test these ideas, we use a simple numerical model, similar to those used by pringle and colleagues  <cit> .
in our model, a haploid semelparous individual produces a fixed number of larvae that disperse on average a distance ladv downstream, with standard deviation of ldiff with a gaussian dispersal kernel  <cit>  or with laplace's distribution.
density dependence exists because if more than one propagule recruits to the same location, one is randomly chosen to survive.
the model domain is finite, and any propagules that leave the domain die.
the results shown below are computed in a model with a low population carrying capacity per unit length , due to limited computational resources.
however, the validity of these results is not sensitive to the magnitude of this parameter.
to illustrate how advection reduces genetic diversity in a population, two domains are initialized with five different alleles each in different parts of the domain in the numerical model .
in one domain, mean transport of larvae ladv is zero; in the other it is  <dig> km/generation to the right.
in both, the stochastic component of larval transport ldiff is  <dig> km/generation.
in the case with no mean larval transport, all genetic diversity is retained.
however, when there is mean larval transport, only the upstream allele persists and the other alleles are lost downstream, for only the upstream allele begins in the retentive region that lies within lreten =  <dig> km of the upstream edge of the domain.
a second numerical experiment illustrates how the presence of directional larval dispersal changes the spatial structure of the population system.
in these model runs, ldiff is fixed to  <dig> km and ladv is varied from  <dig> to  <dig> km.
there is a mutation rate μ = 10- <dig> such that larvae randomly carry a new allele with this frequency .
in these model runs, nallele is uniform in the interior and small near the edges when ladv is zero, but as ladv increases, nallele becomes largest near the upstream edge of the species domain, and is one in the interior of the model domain .
examining nallele divided by the value that just satisfies eq.
, we find that nallele just satisfies eq.
in the retention zone that lies within lreten from the upstream edge of the domain, and does not elsewhere.
in the model, time to fixation or extinction of all novel alleles is tracked as a function of their origin.
as discussed above, enhanced reproductive success within a distance lreten from the upstream edge allows novel alleles to persist longer in the upstream retentive population, for a time appropriate to ne as given by eq.
, while those in downstream regions are lost much more quickly .
the region in which novel alleles are retained, and the density of these upstream regions, decreases in size as ladv increases , as predicted in the expression for lreten.
to determine ne as a function of ladv and ldiff, we calculate the inbreeding effective population size ne  <cit>  given the mean lifetime of a novel allele in the system.
we initialize the model with two alleles, each randomly distributed and each comprising 50% of the population.
the neutral time to fixation in such a model will be  <dig>  ne  <cit> , and so we estimate ne from the average fixation time of  <dig> model runs.
in figure  <dig>  we run the model in three domains of sizes ldomain =  <dig>   <dig> ×  <dig>  and  <dig>  ×  <dig> km.
in each domain, we fix ldiff to  <dig> km, and vary ladv from  <dig> to 110km, and compare the estimated ne from  to the estimation from fixation time in an upstream region of the model lreten in size.
once there is fixation in this upstream region, the allele fixes rapidly in the rest of the species domain in approximately ldomain/ladv generations.
when the size of the domain is less than lreten in extent, ne is limited to the population census size .
thus when ladv is small, ne is nearly equal to the census population of the entire population, though somewhat smaller due to loss of larvae from the edges of the domain caused by stochastic larval transport.
when the domain size is greater than lreten, eq.
captures the variability of ne with ladv very well, capturing the several order of magnitude decline in ne with increasing ladv.
as mentioned above, the estimate of ne from  is, for most values of ladv, very much smaller than – and not dependent upon – the census population size.
when the model is re-run with laplace's dispersal kernel, the results shown in figure  <dig> remain unchanged , suggesting that these results are not very sensitive to the kurtosis of the dispersal kernel.
discussion
the concept of "effective population size" is typically used as a numerical trait of a population more than as a descriptor of biological reality  <cit> .
but ne is intended to reflect the number of individuals that contribute to the evolutionary potential of a species  <cit> ; in advective environments, we have shown that this contribution is driven mostly by a small upstream portion of a species geographic range.
given selective neutrality of the genes being studied in a standard population genetics survey, it is generally assumed that the number of successful offspring an individual will have is independent of its genotypic state or geographic location  <cit> .
other results have suggested that for some species, habitat may be structured by varying quality that will determine the distribution of offspring numbers  <cit> , i.e.
a "nest-site" model  <cit> .
in these cases, however, it is typically assumed that location itself  is not heritable.
in the case of populations under mean advection, however, the upstream retention zone will represent a heritable component of reproductive success for any larvae spawned there because a small fraction of these larvae retain their parents' geographic reproductive advantage.
the attention given to estimating ne in natural populations has recently been focused on a number of demographic causes for reduced ne/n ratios  <cit> .
here we show a significant environmental interaction that can strongly affect diversity in continuously distributed species.
while overall allelic diversity in the species' domain will likely include a large number of potentially transient alleles that form in downstream regions at a rate  <dig> neμ , in an advective environment most of these are more quickly lost due to advection  than to stochastic genetic drift .
the retention of diversity is thus going to be related to the size of demographically stable and retentive populations such as the upstream edge of the domain, a size that is specific to a species' reproductive and larval dispersal traits.
as ladv increases, this source region becomes smaller, and with uniform density of individuals reduces ne concomitantly.
thus, different species with distinct larval dispersal traits can have distinct ne/n ratios in the same region, all else being equal.
this mechanism does not hinge on the reproductive "sweepstakes" between individuals at the same location – instead, it is an effect of the differential reproductive success of individuals from different regions, and the effects of mean larval transport.
mean larval transport, ladv, can change from generation to generation  <cit> , and therefore the size of the retention region can vary from generation to generation.
this will produce a fluctuating ne from generation to generation, and years of especially strong mean advection could reduce net diversity.
thus ne can be reduced not only by year-to-year variation in reproductive success, but also by inter-annual changes in the physical environment that affect larval dispersal.
a growing body of literature attempts to link patterns of genetic diversity with patterns of biodiversity, for the purposes of elucidating the mechanisms underlying broad-scale biogeographic structure and for conservation-focused predictions  <cit> .
however, in strongly advective environments the link between population genetic structure and community structure may be tenuous because what appears to be panmixia – extensive, range-wide gene flow – may instead represent an extended source-sink metacommunity  <cit> .
our predictions suggest that in populations whose dispersal is subject to strong advection  ne will be more disassociated from actual census size than for populations less affected by advection.
to test this prediction, one might imagine comparing species with very different dispersal strategies, or comparing the same or similar species in two locations with different dispersal conditions.
however, while classical population genetics predicts elevated diversity across populations of low-dispersal species, recent isotropic descriptions of metapopulation structure  <cit>  show that due to unequal contribution of some populations to subsequent generations, limited dispersal can actually reduce ne.
metapopulation structure in general may bias the measurement of ne and gene flow measures  <cit> , and foltz  <cit>  suggests a strong role of purifying selection and/or local adaptation in limiting diversity in dispersal-limited species.
altogether, these factors may confound comparisons of ne/n ratios among distantly related taxa; thus it may be more appropriate to make intraspecific or sister-taxon comparisons, in which closely-related equilibrium  populations exist on a "strong-advection" coast and a "weak-advection" coast.
such a comparison can be made for species with pelagic larvae that are distributed on both the pacific coast of the baja california peninsula  and in the semi-enclosed gulf of california .
our work would predict higher diversity in the weak advection gulf of california region; given six appropriate studies, four support this hypothesis  <cit> , one is equivocal but at least some population samples in the gulf have higher diversity  <cit> , and in one case the gulf sister species is apparently less diverse  <cit> .
CONCLUSIONS
overall, some of the lowest ne/n ratios observed are for species with broad dispersal potential in regions where ocean currents would be expected to generate a large ladv  <cit> .
while a species' fecundity may be associated with dispersal potential in marine organisms  <cit> , fecundity alone is not predictive of ne/n  <cit>  – suggesting that other factors, including advection, may be involved in the relationship between ne and actual census size.
in the end, any mechanism that increases the variance in reproductive success among individuals, whether due to stochastic, biological, or spatial processes, will reduce genetic variation in a species  <cit> .
here we argue that one of many processes that must be considered when analyzing the genetic diversity of coastal species is the interaction between a species and its dispersal.
dispersal must be considered in the persistent discussion of ne/n ratios  if there is to be a better empirical understanding of how variation is maintained in natural populations, and for management and conservation questions  <cit> .
our work explicitly defines the size of domain that will be evolutionarily important and is relevant to marine reserve design, in that if a reserve is larger than this region of size lreten it will also be protecting 'sink' regions; if it is smaller than this length, reserve size will be a limiting factor on total genetic diversity.
authors' contributions
this work was developed as equal-authorship collaboration between jpw, who conceived of the study and drafted the manuscript, and jmp who developed the numerical simulations and scalings and coordinated the results, and helped to draft the manuscript.
all authors read and approved the final manuscript.

 the relationship between genetic diversity and population size offers a number of tantalizing insights into demographic influences on evolution. while life history characteristics of species tend to make the effective population size of a species much lower than the actual census size, neutral theory predicts a proportional relationship between genetic diversity and ne. research has shown many cases in which ne as estimated from genetic markers is several orders of magnitude lower than would be predicted based on census size and a species' reproductive traits, and it has been suggested that extremely high variance in reproductive success or genome-wide selective sweeps may be causal mechanisms. here, using the results of pringle and colleagues and a simple numerical model, we quantify ne for populations whose dispersal is subject to persistent directional flow and find a complementary mechanism for the reduction of ne. we do this in a linear domain, such as a benthic population in a stream or a coastline, though the results can be easily generalized to different geometries. we find that physical drift in the ocean or in a stream supplements genetic drift as a mechanism for losing genetic diversity, and thus asymmetric dispersal – where larvae are more likely to settle to one side of their parent then another – will reduce ne in a given species domain. this mechanism for the reduction of ne will be shown to be distinct from sweepstakes models. in the sweepstakes models, ne is reduced by variability in reproductive success between individuals in the same region. in contrast, physical drift will be shown to reduce ne by creating differential reproductive success between individuals in different regions. previous work has shown that in a linked series of populations that exchange differing numbers of migrants, the "downstream" sink population lost endemic alleles and eventually acquired the allele structure of the upstream population. these results suggest that the ne of the entire group of populations would tend to that of only the upstream population, given sufficiently large and asymmetric migration. while their work treated this effect in discrete demes, we examine a continuously distributed species along a coast or river in which there is no a priori partition into separate populations – a pattern that closely resembles many marine and freshwater systems. in addition, we assume that local density dependent effects limit the population and that there is no significant immigration from outside of the population being considered. we first find the region of the species domain in which the species is maintained by propagules released in that region, and not by migration from elsewhere. then we show that it is the population of this region that acts as a source of allelic diversity and defines ne for the species over its entire domain. by identifying allelic retention as a spatially defined component of coastal diversity, this work has implications for the design of marine reserves. while genetic diversity has typically not been considered in the placement or size of marine reserves, there are clear associations between local genetic diversity and a population's resilience to stress and environmental change. an estimate of ne in an advective environment in order to determine ne, it is necessary to divide the populations into source and sink regions. to do so, we define a "retentive population" as a demographically stable group of individuals that can persist without immigration from outside its domain. this definition is equivalent to that of booke as discussed in. in coastal oceans, and other nearly one-dimensional systems such as rivers, pringle and wares showed that a population and any alleles it contains could persist within a region if log > l2adv/ where nallele is the mean number of a given allele in the offspring that recruit and successfully reach reproductive age per gene copy per adult per lifetime, considering the effects of density dependence on reproductive success. if an allele is neutral, nallele is equivalent to mean lifetime reproductive success per adult. ladv is the average distance a successfully recruiting larva is moved downstream from its parent before recruiting, and ldiff is the standard deviation of that distance for all successful recruiting larvae an adult releases. these criteria assume that kurtosis of the dispersal kernel is close to that of a gaussian; for other kernels, a correction has been developed. allelic diversity persists within this retentive population, as the population is not supported by migration from elsewhere. we define the concept of allelic "persistence" relative to the expectation for the rate at which neutral alleles are lost or go to fixation in a finite randomly mating population; with time, all allelic diversity may be transient. alleles are considered "persistent" in a given population if they are expected to be lost or go to fixation at the rate predicted for a neutral gene in a population of that size. as will be seen below, alleles in an advective domain that originate outside of a "retentive population" will be lost more rapidly than the neutral prediction, and will go to fixation far less often. with advection an entire species domain cannot be a retentive population, for the criteria in equation above cannot be met throughout the species range if ladv is not zero. at demographic equilibrium, each adult will generate one surviving offspring and thus one copy each for each copy of an allele it carries – thus the average of nallele over the species range is for neutral alleles, which does not satisfy equation. retention of some allelic diversity occurs because the reproductive success per adult is not evenly distributed spatially, and so in some places is great enough to satisfy eq.. one location where enhanced reproductive success must occur is the upstream edge of the model domain, for there can be no subsidy of this region by immigration from farther upstream. byers and pringle note that if the successful reproduction at the upstream edge of the domain, and therefore nallele for a neutral allele, is greater than that needed to satisfy eq., the population will increase at that point. this suggests that the population at the upstream edge will increase until, due to density dependent effects, the average of nallele over the upstream retention zone is reduced until it just satisfies eq.. at the upstream edge of the domain there will be a region where eq. is satisfied, and novel allelic diversity can be retained. since most larvae are transported downstream a mean distance ladv, this upstream region also supplies migrants to downstream regions. thus, the upstream edge is a retentive population where alleles will only change in frequency due to stochastic drift in allele frequency and the accompanying probability of fixation. the size and census population of the region of enhanced reproductive success, and thus ne, will depend on the nature of the spatial variation in habitat quality, ladv and ldiff. here we examine the case in which the habitat is spatially uniform downstream of the upstream edge of the habitat. the mean transport will move an average propagule nladv downstream of its parents after n generations, while the stochastic component of transport will move the propagule a standard deviation of n ldiff around that point. these two distances are equal after n = l2diff/l2adv generations. substituting this expression into either of the distances defined above gives the distance lreten = l2diff/ladv, suggesting lreten is the fundamental length scale of this system, and is the distance over which the effects of mean and stochastic propagule transport are balanced. this suggestion is confirmed with dimensional analysis by noting that "generation" is a discrete time-like dimension, and that the relations nladv and n ldiff suggest underlying parameters with units of velocity and diffusivity. from these, only a single dimensionally consistent length scale can be formed, and it is lreten. multiplying this distance by the carrying capacity per unit length of the environment provides a scaling for ne comparable to that of: ne = hdensl2diff/ladv, and the numerical modeling described below confirms the appropriateness of this scale. can be satisfied even when the population is close to its carrying capacity. when this is not true, the population is marginal at this location, and the estimate of ne will be further reduced). we expect this estimate of ne to be reduced relative to standard drift expectations by increasing mean propagule transport, and that this effect is diminished by increased stochastic transport. since ladv and ldiff are significantly smaller than species ranges for most coastal species, this value of ne should be much less than the census population size of the entire domain or metapopulation. downstream of the retentive population that defines ne, nallele will not satisfy – and alleles are not retained – if ladv is non-zero. allelic diversity in downstream regions will be set by the allelic composition of migrants from upstream. so, in an advective environment the evolution of allelic diversity in the entire population will be governed by the allelic diversity in the retentive population, and the ne for the entire population should approach the census population of the retentive population given by eq.. however, heterogeneity in abiotic as well as biotic factors that result in an interruption or severe reduction of larval transport from upstream may lead to the formation of additional retention zones within a species' geographic range that harbor additional diversity. as descendants of adults in the retentive populations drift downstream in large species domains, they may acquire additional allelic diversity through mutation. it will be argued below that for most realistic population and dispersal parameters this latter effect is small. methods &  to test these ideas, we use a simple numerical model, similar to those used by pringle and colleagues. in our model, a haploid semelparous individual produces a fixed number of larvae that disperse on average a distance ladv downstream, with standard deviation of ldiff with a gaussian dispersal kernel or with laplace's distribution. density dependence exists because if more than one propagule recruits to the same location, one is randomly chosen to survive. the model domain is finite, and any propagules that leave the domain die. the results shown below are computed in a model with a low population carrying capacity per unit length, due to limited computational resources. however, the validity of these results is not sensitive to the magnitude of this parameter. to illustrate how advection reduces genetic diversity in a population, two domains are initialized with five different alleles each in different parts of the domain in the numerical model. in one domain, mean transport of larvae ladv is zero; in the other it is km/generation to the right. in both, the stochastic component of larval transport ldiff is km/generation. in the case with no mean larval transport, all genetic diversity is retained. however, when there is mean larval transport, only the upstream allele persists and the other alleles are lost downstream, for only the upstream allele begins in the retentive region that lies within lreten = km of the upstream edge of the domain. a second numerical experiment illustrates how the presence of directional larval dispersal changes the spatial structure of the population system. in these model runs, ldiff is fixed to km and ladv is varied from to km. there is a mutation rate μ = 10- such that larvae randomly carry a new allele with this frequency. in these model runs, nallele is uniform in the interior and small near the edges when ladv is zero, but as ladv increases, nallele becomes largest near the upstream edge of the species domain, and is one in the interior of the model domain. examining nallele divided by the value that just satisfies eq., we find that nallele just satisfies eq. in the retention zone that lies within lreten from the upstream edge of the domain, and does not elsewhere. in the model, time to fixation or extinction of all novel alleles is tracked as a function of their origin. as discussed above, enhanced reproductive success within a distance lreten from the upstream edge allows novel alleles to persist longer in the upstream retentive population, for a time appropriate to ne as given by eq., while those in downstream regions are lost much more quickly. the region in which novel alleles are retained, and the density of these upstream regions, decreases in size as ladv increases, as predicted in the expression for lreten. to determine ne as a function of ladv and ldiff, we calculate the inbreeding effective population size ne given the mean lifetime of a novel allele in the system. we initialize the model with two alleles, each randomly distributed and each comprising 50% of the population. the neutral time to fixation in such a model will be ne, and so we estimate ne from the average fixation time of model runs. in figure we run the model in three domains of sizes ldomain = × and × km. in each domain, we fix ldiff to km, and vary ladv from to 110km, and compare the estimated ne from to the estimation from fixation time in an upstream region of the model lreten in size. once there is fixation in this upstream region, the allele fixes rapidly in the rest of the species domain in approximately ldomain/ladv generations. when the size of the domain is less than lreten in extent, ne is limited to the population census size. thus when ladv is small, ne is nearly equal to the census population of the entire population, though somewhat smaller due to loss of larvae from the edges of the domain caused by stochastic larval transport. when the domain size is greater than lreten, eq. captures the variability of ne with ladv very well, capturing the several order of magnitude decline in ne with increasing ladv. as mentioned above, the estimate of ne from is, for most values of ladv, very much smaller than – and not dependent upon – the census population size. when the model is re-run with laplace's dispersal kernel, the results shown in figure remain unchanged, suggesting that these results are not very sensitive to the kurtosis of the dispersal kernel. discussion the concept of "effective population size" is typically used as a numerical trait of a population more than as a descriptor of biological reality. but ne is intended to reflect the number of individuals that contribute to the evolutionary potential of a species; in advective environments, we have shown that this contribution is driven mostly by a small upstream portion of a species geographic range. given selective neutrality of the genes being studied in a standard population genetics survey, it is generally assumed that the number of successful offspring an individual will have is independent of its genotypic state or geographic location. other results have suggested that for some species, habitat may be structured by varying quality that will determine the distribution of offspring numbers, i.e. a "nest-site" model. in these cases, however, it is typically assumed that location itself is not heritable. in the case of populations under mean advection, however, the upstream retention zone will represent a heritable component of reproductive success for any larvae spawned there because a small fraction of these larvae retain their parents' geographic reproductive advantage. the attention given to estimating ne in natural populations has recently been focused on a number of demographic causes for reduced ne/n ratios. here we show a significant environmental interaction that can strongly affect diversity in continuously distributed species. while overall allelic diversity in the species' domain will likely include a large number of potentially transient alleles that form in downstream regions at a rate neμ, in an advective environment most of these are more quickly lost due to advection than to stochastic genetic drift. the retention of diversity is thus going to be related to the size of demographically stable and retentive populations such as the upstream edge of the domain, a size that is specific to a species' reproductive and larval dispersal traits. as ladv increases, this source region becomes smaller, and with uniform density of individuals reduces ne concomitantly. thus, different species with distinct larval dispersal traits can have distinct ne/n ratios in the same region, all else being equal. this mechanism does not hinge on the reproductive "sweepstakes" between individuals at the same location – instead, it is an effect of the differential reproductive success of individuals from different regions, and the effects of mean larval transport. mean larval transport, ladv, can change from generation to generation, and therefore the size of the retention region can vary from generation to generation. this will produce a fluctuating ne from generation to generation, and years of especially strong mean advection could reduce net diversity. thus ne can be reduced not only by year-to-year variation in reproductive success, but also by inter-annual changes in the physical environment that affect larval dispersal. a growing body of literature attempts to link patterns of genetic diversity with patterns of biodiversity, for the purposes of elucidating the mechanisms underlying broad-scale biogeographic structure and for conservation-focused predictions. however, in strongly advective environments the link between population genetic structure and community structure may be tenuous because what appears to be panmixia – extensive, range-wide gene flow – may instead represent an extended source-sink metacommunity. our predictions suggest that in populations whose dispersal is subject to strong advection ne will be more disassociated from actual census size than for populations less affected by advection. to test this prediction, one might imagine comparing species with very different dispersal strategies, or comparing the same or similar species in two locations with different dispersal conditions. however, while classical population genetics predicts elevated diversity across populations of low-dispersal species, recent isotropic descriptions of metapopulation structure show that due to unequal contribution of some populations to subsequent generations, limited dispersal can actually reduce ne. metapopulation structure in general may bias the measurement of ne and gene flow measures, and foltz suggests a strong role of purifying selection and/or local adaptation in limiting diversity in dispersal-limited species. altogether, these factors may confound comparisons of ne/n ratios among distantly related taxa; thus it may be more appropriate to make intraspecific or sister-taxon comparisons, in which closely-related equilibrium populations exist on a "strong-advection" coast and a "weak-advection" coast. such a comparison can be made for species with pelagic larvae that are distributed on both the pacific coast of the baja california peninsula and in the semi-enclosed gulf of california. our work would predict higher diversity in the weak advection gulf of california region; given six appropriate studies, four support this hypothesis, one is equivocal but at least some population samples in the gulf have higher diversity, and in one case the gulf sister species is apparently less diverse.  overall, some of the lowest ne/n ratios observed are for species with broad dispersal potential in regions where ocean currents would be expected to generate a large ladv. while a species' fecundity may be associated with dispersal potential in marine organisms, fecundity alone is not predictive of ne/n – suggesting that other factors, including advection, may be involved in the relationship between ne and actual census size. in the end, any mechanism that increases the variance in reproductive success among individuals, whether due to stochastic, biological, or spatial processes, will reduce genetic variation in a species. here we argue that one of many processes that must be considered when analyzing the genetic diversity of coastal species is the interaction between a species and its dispersal. dispersal must be considered in the persistent discussion of ne/n ratios if there is to be a better empirical understanding of how variation is maintained in natural populations, and for management and conservation questions. our work explicitly defines the size of domain that will be evolutionarily important and is relevant to marine reserve design, in that if a reserve is larger than this region of size lreten it will also be protecting'sink' regions; if it is smaller than this length, reserve size will be a limiting factor on total genetic diversity. authors' contributions this work was developed as equal-authorship collaboration between jpw, who conceived of the study and drafted the manuscript, and jmp who developed the numerical simulations and scalings and coordinated the results, and helped to draft the manuscript. all authors read and approved the final manuscript. 
as advection increases, effective population size becomes decoupled from census size as the persistence of novel genetic lineages is restricted to those that arise in a small upstream portion of the species domain. we describe the spatial extent of the species domain in which novel allelic diversity will be retained, thus determining how large an appropriately placed marine reserve must be to allow the persistence of endemic allelic diversity. genetic estimates of effective population size often generate surprising results, including dramatically low ratios of effective population size to census size. here we show that in advective environments such as oceans and rivers, the mean asymmetric transport of passively dispersed reproductive propagules will act to limit the effective population size in species with a drifting developmental stage.
 genetic estimates of effective population size often generate surprising results, including dramatically low ratios of effective population size to census size. this is particularly true for many marine species, and this effect has been associated with hypotheses of "sweepstakes" reproduction and selective hitchhiking.  here we show that in advective environments such as oceans and rivers, the mean asymmetric transport of passively dispersed reproductive propagules will act to limit the effective population size in species with a drifting developmental stage. as advection increases, effective population size becomes decoupled from census size as the persistence of novel genetic lineages is restricted to those that arise in a small upstream portion of the species domain.  this result leads to predictions about the maintenance of diversity in advective systems, and complements the "sweepstakes" hypothesis and other hypotheses proposed to explain cases of low allelic diversity in species with high fecundity. we describe the spatial extent of the species domain in which novel allelic diversity will be retained, thus determining how large an appropriately placed marine reserve must be to allow the persistence of endemic allelic diversity. 