OGS
Properties.h File Reference

Detailed Description

Definition of the class Properties that implements a container of properties.

Definition in file Properties.h.

#include <cstdlib>
#include <string>
#include <map>
#include "Location.h"
#include "PropertyVector.h"
#include "Properties-impl.h"
Include dependency graph for Properties.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MeshLib::Properties
 Property manager on mesh items. Class Properties manages scalar, vector or matrix properties. For instance in groundwater flow porosity is a scalar property and permeabilty can be stored as a tensor property. Properties are assigned to mesh items, i.e. Node or Element objects. The createNewPropertyVector() method first creates a PropertyVector of template type T (scalar, vector or matrix). This class stores the PropertyVector, accessible by a combination of the name and the type of the mesh item (Node or Element). More...
 

Namespaces

namespace  MeshLib
 

Functions

template<typename Function >
void MeshLib::applyToPropertyVectors (Properties const &properties, Function f)
 
constexpr std::string_view MeshLib::getBulkIDString (MeshItemType mesh_item_type)