Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::app::DomainPresetRegistry Class Reference

Registry of pre-configured material domain workflow templates. More...

#include <DomainPresetRegistry.hpp>

Public Member Functions

 DomainPresetRegistry ()=delete

Static Public Member Functions

static auto getPresets () -> const std::vector< DomainPresetDefinition > &
 Retrieves all available domain preset templates.
static auto getPreset (DomainPresetId preset_id) -> const DomainPresetDefinition *
 Retrieves a specific preset by its identifier.
static auto applyPreset (DomainPresetId preset_id, ProgramOptions &options) -> bool
 Applies a domain preset configuration to the specified ProgramOptions.

Detailed Description

Registry of pre-configured material domain workflow templates.

Constructor & Destructor Documentation

◆ DomainPresetRegistry()

correlation::app::DomainPresetRegistry::DomainPresetRegistry ( )
delete

Member Function Documentation

◆ applyPreset()

auto correlation::app::DomainPresetRegistry::applyPreset ( DomainPresetId preset_id,
ProgramOptions & options )->bool
static

Applies a domain preset configuration to the specified ProgramOptions.

Parameters
[in]preset_idDomain preset identifier.
[in,out]optionsTarget program options to update.
Returns
True if preset was applied, false if identifier was invalid.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPreset()

auto correlation::app::DomainPresetRegistry::getPreset ( DomainPresetId preset_id) ->constDomainPresetDefinition *
staticnodiscard

Retrieves a specific preset by its identifier.

Parameters
[in]preset_idDomain preset identifier.
Returns
Pointer to definition if found, nullptr otherwise.
Here is the caller graph for this function:

◆ getPresets()

auto correlation::app::DomainPresetRegistry::getPresets ( ) ->conststd::vector< DomainPresetDefinition > &
staticnodiscard

Retrieves all available domain preset templates.

Returns
Constant reference to vector of domain preset definitions.
Here is the caller graph for this function:

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