PRISMS-PF Manual
Loading...
Searching...
No Matches
field_attributes.h File Reference
#include <deal.II/base/exceptions.h>
#include <prismspf/core/type_enums.h>
#include <prismspf/core/types.h>
#include <prismspf/config.h>
#include <map>
#include <string>
#include <vector>
Include dependency graph for field_attributes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FieldAttributes
 Structure to hold the attributes of a field. This includes things like the name, rank, and nucleation information.. More...
 

Functions

std::map< std::string, Types::Indexfield_index_map (const std::vector< FieldAttributes > &fields)
 Make a map that maps field names to field indices.
 
std::map< std::string, FieldAttributesfield_map (const std::vector< FieldAttributes > &fields)
 Make a map that maps field names to field attributes.
 

Function Documentation

◆ field_index_map()

std::map< std::string, Types::Index > field_index_map ( const std::vector< FieldAttributes > &  fields)
inline

Make a map that maps field names to field indices.

◆ field_map()

std::map< std::string, FieldAttributes > field_map ( const std::vector< FieldAttributes > &  fields)
inline

Make a map that maps field names to field attributes.