ModuleMetadata Struct ReferenceΒΆ

adc_cpp: pops::runtime::program::ModuleMetadata Struct Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::runtime::program::ModuleMetadata Struct Reference

The GeneratedModule descriptor read from a problem.so. More...

#include <module_metadata.hpp>

+ Collaboration diagram for pops::runtime::program::ModuleMetadata:

Public Member Functions

const OperatorMetadatafind (const std::string &name) const
 The operator with this name, or nullptr if none.
 

Public Attributes

bool present = false
 
std::vector< OperatorMetadataoperators
 
std::vector< std::string > state_spaces
 
std::vector< std::string > field_spaces
 

Detailed Description

The GeneratedModule descriptor read from a problem.so.

present is false when the .so exports no module descriptor (a pre-Spec-2 .so) – callers then skip module introspection / validation.

Member Function Documentation

◆ find()

const OperatorMetadata * pops::runtime::program::ModuleMetadata::find ( const std::string &  name) const
inline

The operator with this name, or nullptr if none.

+ Here is the caller graph for this function:

Member Data Documentation

◆ field_spaces

std::vector<std::string> pops::runtime::program::ModuleMetadata::field_spaces

◆ operators

std::vector<OperatorMetadata> pops::runtime::program::ModuleMetadata::operators

◆ present

bool pops::runtime::program::ModuleMetadata::present = false

◆ state_spaces

std::vector<std::string> pops::runtime::program::ModuleMetadata::state_spaces

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