functors.hpp
Go to the documentation of this file.
509 void setBackendConditionalDependency(str, str, str, str, void(*)(functor*, module_functor_common*)); 512 void setBackendConditionalDependencySingular(str, str, str, str, void(*)(functor*, module_functor_common*)); 518 void setModelConditionalDependencySingular(str, str, void(*)(functor*, module_functor_common*)); 884 class backend_functor<TYPE(*)(ARGS...), TYPE, ARGS...> : public backend_functor_common<TYPE(*)(ARGS...), TYPE, ARGS...> 903 class backend_functor<void(*)(ARGS...), void, ARGS...> : public backend_functor_common<void(*)(ARGS...), void, ARGS...> 928 backend_functor(typename variadic_ptr<TYPE,ARGS...>::type, str, str, str, str, str, str, Models::ModelFunctorClaw&); 954 backend_functor(typename variadic_ptr<void,ARGS...>::type, str, str, str, str, str, str, Models::ModelFunctorClaw&); 1007 primary_model_functor(void (*)(ModelParameters &), str, str, str, str, Models::ModelFunctorClaw&);
str myVersion Internal storage of the version of the module or backend to which the function belongs. Definition: functors.hpp:328 void leaving_multithreaded_region(module_functor_common &functor) Definition: functors_with_signals.cpp:92 bool iCanManageLoops Flag indicating whether this function can manage a loop over other functions. Definition: functors.hpp:624 std::map< sspair, void(*)(functor *)> backendreq_map Map from (backend requirement-type pairs) to (pointers to templated void functions that set backend r... Definition: functors.hpp:700 std::map< str, str > backendreq_types Map from backend requirements to their required types. Definition: functors.hpp:690 bool point_exception_raised A flag indicating whether or not this functor has invalidated the current point. Definition: functors.hpp:600 std::map< str, std::set< str > > required_classloading_backends Map from required classloading backends to their versions. Definition: functors.hpp:709 Backend functor class for functions with result type TYPE and argumentlist ARGS. Definition: functors.hpp:833 str myCapability Internal storage of exactly what the function calculates. Definition: functors.hpp:322 Functors specific to primary ModelParameters objects. Definition: functors.hpp:1001 const str myTimingLabel String label, used to label functor timing data for printer system. Definition: functors.hpp:337 A safe pointer that throws an informative error if you try to dereference it when nullified... Definition: util_types.hpp:167 str myOrigin Internal storage of the name of the module or backend to which the function belongs. Definition: functors.hpp:326 Header for logging classes. Actual module functor type for all but TYPE=void. Definition: functors.hpp:745 void setSubCap(const str &key, const TYPE val) Set a sub-capability (subcap)for the functor directly (for use in standalone executables). Definition: functors.hpp:282 void entering_multithreaded_region() Definition: functors.hpp:737 General small utility classes, typedefs, etc. std::map< str, str > myConditionalDependencies Map of conditional dependencies to their types. Definition: functors.hpp:667 bool myLoopIsDone Flag indicating whether this function is ready to finish its loop (only relevant if iCanManageLoops =... Definition: functors.hpp:627 std::map< str, std::set< sspair > > myForcedMatches Map from tags to sets of matching (backend requirement-type pairs) that are forced to use the same ba... Definition: functors.hpp:706 str myPurpose Purpose of the function (relevant for output and next-to-output functors) Definition: functors.hpp:330 Logging access header for GAMBIT. std::set< sspair > myBackendReqs Set of all backend requirement-type string pairs. Definition: functors.hpp:655 std::map< sspair, str > backendreq_groups Map from backend requirements to their designated groups. Definition: functors.hpp:693 std::vector< functor * > myNestedFunctorList Vector of functors that have been set up to run nested within this one. Definition: functors.hpp:640 str mySafeVersion Internal storage of the 'safe' version of the version (for use in namespaces, variable names... Definition: functors.hpp:851 str myType Internal storage of the type of what the function calculates. Definition: functors.hpp:324 std::map< sspair, std::set< str > > backendreq_tagmap Map from backend requirements to their rule tags. Definition: functors.hpp:696 bool myTimingPrintFlag Flag to select whether or not the timing data for this function's execution should be printed;... Definition: functors.hpp:585 std::map< sspair, void(*)(functor *, module_functor_common *)> dependency_map Map from (dependency-type pairs) to (pointers to templated void functions that set dependency functor... Definition: functors.hpp:683 Declarations for the YAML options class. std::set< sspair > myDependees List of all capability,type pairs of functors downstream of this one in the dependency tree... Definition: functors.hpp:361 bool myPrintFlag Flag to select whether or not the results of this functor should be sent to the printer object... Definition: functors.hpp:789 TYPE operator()(VARARGS &&... varargs) Operation (execute function and return value) Definition: functors.hpp:935 std::map< sspair, functor * > dependency_functor_map Map from (dependency-type pairs) to pointers to functors used to resolve them that set dependency fun... Definition: functors.hpp:687 std::map< str, std::set< str > > modelGroups Map from model group names to group contents. Definition: functors.hpp:370 std::set< sspair > myResolvableBackendReqs Set of all backend requirement-type string pairs currently available for resolution. Definition: functors.hpp:658 Functor derived class for module functions. Definition: functors.hpp:399 General small utility functions. Models object that performs initialisation and checking operations on a primary_model_functor list... Definition: models.hpp:55 A safe pointer designed to point at an array, and return the entry in that array corresponding to the... Definition: util_types.hpp:222 double pInvalidation Probability that functors invalidates point in model parameter space. Definition: functors.hpp:612 void leaving_multithreaded_region() Definition: functors.hpp:738 std::map< str, bool > activeModelFlags Map from known models to flags indicating if they are activated or not (known = allowed, in allowed groups or conditions for conditional dependencies) Definition: functors.hpp:679 const str myLabel String label, used to label functor results for printer system. Definition: functors.hpp:335 std::set< sspair > myDependencies Vector of dependency-type string pairs. Definition: functors.hpp:664 std::map< sspair, std::set< sspair > > permitted_map Map from (backend requirement-type pairs) to (set of permitted {backend-version} pairs) ... Definition: functors.hpp:703 long long * myCurrentIteration Pointer to counters for iterations of nested functor loop. Definition: functors.hpp:643 Logging::LogMaster & logger() Function to retrieve a reference to the Gambit global log object. Definition: logger.cpp:95 std::vector< str > missing_backends Vector of required backends currently missing. Definition: functors.hpp:712 std::map< str, std::set< sspair > > myGroupedBackendReqs Set of backend requirement-type string pairs for specific backend groups. Definition: functors.hpp:661 void setOption(const str &key, const TYPE val) Set an option for the functor directly (for use in standalone executables). Definition: functors.hpp:269 std::map< std::vector< str >, std::set< sspair > > myBackendConditionalDependencies Map from (vector with 4 strings: backend req, type, backend, version) to (set of {conditional depende... Definition: functors.hpp:670 functor * myLoopManager Pointer to the functor that mangages the loop that this function runs inside of. Definition: functors.hpp:637 bool * already_printed_timing Has timing data already been sent to the printer? Definition: functors.hpp:621 std::map< str, std::set< sspair > > myModelConditionalBackendReqs Map from models to (set of {conditional backend requirement-type} pairs) Definition: functors.hpp:676 str myLoopManagerCapability Capability of a function that mangages a loop that this function can run inside of. Definition: functors.hpp:633 std::set< std::set< str > > allowedGroupCombos List of allowed model group combinations. Definition: functors.hpp:367 std::chrono::time_point< std::chrono::system_clock > * start Beginning and end timing points. Definition: functors.hpp:597 virtual void setInUse(bool) Set the inUse flag (must be overridden in derived class to have any effect). Definition: functors.hpp:130 Definition: model_parameters.hpp:53 bool iRunNested Flag indicating whether this function can run nested in a loop over functions. Definition: functors.hpp:630 str myLoopManagerType Capability of a function that mangages a loop that this function can run inside of. Definition: functors.hpp:635 Class for holding model parameters. std::set< str > myGroups Internal list of backend groups that this functor's requirements fall into. Definition: functors.hpp:649 std::map< str, str > chosenReqsFromGroups Map from groups to backend reqs, indicating which backend req has been activated for which backend gr... Definition: functors.hpp:652 invalid_point_exception raised_point_exception An exception raised because this functor has invalidated the current point. Definition: functors.hpp:603 int myVertexID Internal storage of the vertex ID number used by the printer system to identify functors. Definition: functors.hpp:348 int myStatus Status: -4 = required backend absent (backend ini functions) -3 = required classes absent -2 = functi... Definition: functors.hpp:346 const int globlMaxThreads Maximum number of OpenMP threads this MPI process is permitted to launch in total. Definition: functors.hpp:646 const Models::ModelFunctorClaw * myClaw Bound model functor claw, for checking relationships between models. Definition: functors.hpp:332 void entering_multithreaded_region(module_functor_common &functor) Definition: functors_with_signals.cpp:76 int myTimingVertexID ID assigned by printers to the timing data output stream. Definition: functors.hpp:350 bool inUse Flag indicating if this backend functor is actually in use in a given scan. Definition: functors.hpp:854 std::map< str, std::set< sspair > > myModelConditionalDependencies Map from models to (set of {conditional dependency-type} pairs) Definition: functors.hpp:673 Options mySubCaps Internal storage of function sub-capabilities, as a YAML node. Definition: functors.hpp:358 |