ASPECT
Enumerations | Functions
aspect::MaterialModel::Rheology::ViscosityAveraging Namespace Reference

Enumerations

enum  Kind { isostress, isostrain }
 

Functions

ViscosityAveraging::Kind parse (const std::string &parameter_name, const ParameterHandler &prm)
 

Detailed Description

A namespace for selecting how to average the viscosity over multiple chemical compositions.

Current options are: 'isostress': Reuss (harmonic) averaging of viscosities. 'isostrain': Voigt (arithmetic) averaging of viscosities.

Enumeration Type Documentation

§ Kind

Enumerator
isostress 
isostrain 

Definition at line 51 of file composite_visco_plastic.h.

Function Documentation

§ parse()

ViscosityAveraging::Kind aspect::MaterialModel::Rheology::ViscosityAveraging::parse ( const std::string &  parameter_name,
const ParameterHandler &  prm 
)

Read the viscosity averaging scheme from the parameter file using the parameter name given in parameter_name and return the enum that corresponds to this operation.