| inst | |
| include | |
| common | |
| data_object.hpp | Sets up a data class to create a generic data object with up to five dimensions. The class contains internal vector for data elements and uncertainty values |
| def.hpp | Platform macros and the core FIMS logging system |
| fims_math.hpp | A collection of mathematical functions used in FIMS |
| fims_vector.hpp | Establishes the FIMS Vector class |
| information.hpp | Code to store all objects that are created in FIMS because FIMS uses integer representation. Code loops over all model components and sets them up based on unique identifiers |
| model.hpp | : Loops over model components and returns the negative log-likelihood function |
| model_object.hpp | Definition of the FIMSObject structure |
| distributions | |
| functors | |
| density_components_base.hpp | Declares the DensityComponentBase class, which is the base class for all distribution functors |
| lognormal_lpdf.hpp | Implements the LogNormalLPDF distribution functor used by FIMS to evaluate observation-level and total log-likelihood contributions under a lognormal error model for data, priors, and random effects |
| multinomial_lpmf.hpp | Implements the MultinomialLPMF distribution functor used by FIMS to evaluate the observation-level and total log-likelihood contributions under a multinomial error model for data, priors, and random effects |
| normal_lpdf.hpp | Implements the NormalLPDF distribution functor used by FIMS to evaluate observation-level and total log-likelihood contributions under a normal error model for data, priors, and random effects |
| distributions.hpp | This distributions module includes any .hpp files within the subfolders so that only this file needs to included in the model.hpp file |
| interface | |
| rcpp | |
| rcpp_objects | |
| rcpp_data.hpp | The Rcpp interface to declare different types of data, e.g., age-composition and index data. Allows for the use of methods::new() in R |
| rcpp_distribution.hpp | The Rcpp interface to declare different distributions, e.g., normal and log normal. Allows for the use of methods::new() in R |
| rcpp_fleet.hpp | The Rcpp interface to declare fleets. Allows for the use of methods::new() in R |
| rcpp_growth.hpp | The Rcpp interface to declare different types of growth, e.g., empirical weight-at-age data. Allows for the use of methods::new() in R |
| rcpp_interface_base.hpp | The Rcpp interface to declare objects that are used ubiquitously throughout the Rcpp interface, e.g., Variables and VariableVectors |
| rcpp_math.hpp | The Rcpp interface to declare different mathematical functions that are written in C++ but can be used within R |
| rcpp_maturity.hpp | The Rcpp interface to declare different maturity options, e.g., logistic. Allows for the use of methods::new() in R |
| rcpp_models.hpp | The Rcpp interface to declare different types of models. Allows for the use of methods::new() in R |
| rcpp_natural_mortality.hpp | The Rcpp interface to declare different types of natural mortality. Allows for the use of methods::new() in R |
| rcpp_population.hpp | The Rcpp interface to declare different types of populations. Allows for the use of methods::new() in R |
| rcpp_recruitment.hpp | The Rcpp interface to declare different types of recruitment, e.g., Beverton–Holt stock–recruitment relationship. Allows for the use of methods::new() in R |
| rcpp_selectivity.hpp | The Rcpp interface to declare different types of selectivity, e.g., logistic and double logistic. Allows for the use of methods::new() in R |
| rcpp_shared_primitive.hpp | Code to create shared pointers to allow for the wrapper functions in R to work correctly so the live objects do not go out of scope |
| fims_modules.hpp | |
| rcpp_include.hpp | The single place FIMS includes Rcpp. Include this header instead of <Rcpp.h> so that every translation unit sees the same Rcpp configuration |
| rcpp_interface.hpp | The Rcpp interface to declare things |
| TMB | |
| config.h | |
| init_tmb.hpp | An interface to dynamically load the functions |
| TMB.h | Include this file to extract declarations only |
| interface.hpp | An interface to the modeling platforms, e.g., TMB |
| models | |
| functors | |
| catch_at_age.hpp | Code to specify the catch-at-age model |
| fishery_model_base.hpp | Defines the base class for all fishery models within the FIMS framework |
| fisheries_models.hpp | Includes any .hpp files within the subfolders so that only this file needs to included in include statements to use all functions within this folder |
| population_dynamics | |
| age_to_length_conversion | |
| functors | |
| base.hpp | Declares the AgeToLengthConversionBase class which is the base class for all age-length key functors |
| derived.hpp | Declares the AgeToLengthConversionDerived class, which implements AgeToLengthConversionBase by mapping prepared population age-to-size distributions onto fleet observation bins |
| fixed.hpp | Declares the AgeToLengthConversionFixed class, which implements AgeToLengthConversionBase using a fleet's fixed age-to-length conversion matrix |
| runtime.hpp | Shared runtime helpers for constructing and validating fleet age-to-length conversions |
| fleet | |
| fleet.hpp | Declare the fleet functor class which is the base class for all fleet functors |
| growth | |
| functors | |
| ewaa.hpp | Defines the EWAAGrowth class, which inherits from the GrowthBase class |
| growth_base.hpp | Declares the GrowthBase class which is the base class for all growth functors |
| vonb_schnute.hpp | Defines the VonBertalanffySchnuteGrowth class, which inherits from the GrowthBase class |
| growth.hpp | Includes any .hpp files within the subfolders so that only this file needs to included in include statements to use all functions within this folder |
| growth_model.hpp | Concrete growth model implementation (Phase 1) |
| growth_model_adapter.hpp | Adapts product-style growth models to the GrowthBase interface used by caa |
| growth_model_base.hpp | Declares the GrowthModelBase interface. This is the growth module boundary that downstream code consumes, not the curve functors |
| growth_products.hpp | Declares the GrowthProducts struct holding growth "products" that downstream population dynamics code consumes (year, age, sex) |
| maturity | |
| functors | |
| logistic.hpp | Defines the LogisticMaturity class, which inherits from the MaturityBase class |
| maturity_base.hpp | Declares the MaturityBase class which is the base class for all maturity functors |
| maturity.hpp | Includes any .hpp files within the subfolders so that only this file needs to included in include statements to use all functions within this folder |
| population | |
| population.hpp | Defines the Population class and its fields and methods |
| subpopulation.hpp | Defines the Subpopulation class and its fields and methods |
| recruitment | |
| functors | |
| log_devs.hpp | Incorporates error using the log recruitment deviations approach |
| log_r.hpp | Incorporates error using the log recruitment approach |
| recruitment_base.hpp | Serves as the parent class where recruitment functions are called |
| sr_beverton_holt.hpp | Calls the Beverton–Holt stock–recruitment function from fims_math and does the calculation |
| recruitment.hpp | Includes any .hpp files within the subfolders so that only this file needs to included in include statements to use all functions within this folder |
| selectivity | |
| functors | |
| age_specific.hpp | Declares the AgeSpecificSelectivity class which age-based selectivity |
| double_logistic.hpp | Declares the DoubleLogisticSelectivity class which implements the logistic function from fims_math in the selectivity module |
| logistic.hpp | Declares the LogisticSelectivity class which implements the logistic function from fims_math in the selectivity module |
| selectivity_base.hpp | Declares the SelectivityBase class which is the base class for all selectivity functors |
| selectivity.hpp | Includes any .hpp files within the subfolders so that only this file needs to included in include statements to use all functions within this folder |
| size | |
| functors | |
| size_bin_mapping.hpp | Defines helpers for mapping population biological size bins to fleet observation bins |
| size_grid_builder.hpp | Defines helpers for constructing population-level biological size grids |
| growth_derived_size_provider.hpp | Defines a size provider that reads mean growth outputs and prepares population-level size probabilities on the biological size grid |
| size_distribution_provider_base.hpp | Defines the SizeDistributionProviderBase interface for prepared population-level size products |
| size_grid.hpp | Defines the SizeGrid container for population-level biological size support |
| size_products.hpp | Defines the SizeProducts container for cached population-level size outputs on the biological size grid |
| utilities | |
| fims_json.hpp | A simple JSON parsing and generation library |
| src | |
| data_object.cpp | Implementation of the FIMSLog class and LogEntry struct |
| def.cpp | Implementation of definitions and static members for the FIMSLog class |
| distributions.cpp | Implementation of probability distribution functions for the FIMS framework |
| fims_json.cpp | Implementation of the JsonParser class for parsing and handling JSON data in the FIMS framework |
| fims_math.cpp | Implementation of mathematical functions for the FIMS framework |
| fims_modules.cpp | Implementation of module registration functions for the FIMS framework |
| fims_vector.cpp | Implementation of vector operations for the FIMS framework |
| fisheries_models.cpp | Implementation of fishery models for the FIMS framework |
| fleet.cpp | Implementation of the Fleet class for the FIMS framework |
| growth.cpp | Implementation of the Growth class for the FIMS framework |
| information.cpp | Implementation of the Information class for the FIMS framework |
| interface.cpp | Implementation of the FIMS interface, including module registration and core functionality |
| maturity.cpp | Implementation of the Maturity class for the FIMS framework |
| model.cpp | Implementation of the Model class for the FIMS framework |
| population.cpp | Implementation of the Population class for the FIMS framework |
| rcpp_data.cpp | Implementation of Rcpp data interfaces for the FIMS framework |
| rcpp_distribution.cpp | Implementation of Rcpp distribution interfaces for the FIMS framework |
| rcpp_fleet.cpp | Implementation of Rcpp fleet interfaces for the FIMS framework |
| rcpp_functions.cpp | Implementation of Rcpp function interfaces for the FIMS framework |
| rcpp_growth.cpp | Implementation of Rcpp growth interfaces for the FIMS framework |
| rcpp_interface_base.cpp | Implementation of the base class for Rcpp interfaces in the FIMS framework |
| rcpp_maturity.cpp | Implementation of Rcpp maturity interfaces for the FIMS framework |
| rcpp_models.cpp | Implementation of Rcpp fishery model interfaces for the FIMS framework |
| rcpp_natural_mortality.cpp | Implementation of Rcpp natural mortality interfaces for the FIMS framework |
| rcpp_population.cpp | Implementation of Rcpp population interfaces for the FIMS framework |
| rcpp_recruitment.cpp | Implementation of Rcpp recruitment interfaces for the FIMS framework |
| rcpp_selectivity.cpp | Implementation of Rcpp selectivity interfaces for the FIMS framework |
| rcpp_shared_primitive.cpp | Implementation of Rcpp shared primitive interfaces for the FIMS framework |
| rcpp_variable.cpp | Implementation of Rcpp variable interfaces for the FIMS framework |
| recruitment.cpp | Implementation of Rcpp recruitment interfaces for the FIMS framework |
| selectivity.cpp | Implementation of Rcpp selectivity interfaces for the FIMS framework |
| TMB.cpp | Implementation of TMB interfaces for the FIMS framework |