SumSlipSingleStrengthHardening

Overview

This model sums the contributions of multiple SlipSingleStrengthHardening models together, i.e.

\bar{\tau} = \sum_{i=1}^{n_{model}}\tilde{\tau}_{i}+\tau_{0,i}+\tau_{nye,i}

Note then that all parts of each model are summed, even the static strengths.

This class will rename the internal variables of the individual hardening models to avoid overlap in the History object.

Class description

class SumSlipSingleStrengthHardening : public neml::SlipSingleHardening

Sum of individual SlipSingleStrenghHardening models (static strengths also summed)

Public Functions

SumSlipSingleStrengthHardening(ParameterSet &params)

Initialize with a list of models.

virtual std::vector<std::string> varnames() const

Report varnames.

virtual void set_varnames(std::vector<std::string> vars)

Set new varnames.

virtual void populate_hist(History &history) const

Request whatever history you will need.

virtual void init_hist(History &history) const

Setup history.

virtual History hist(const Symmetric &stress, const Orientation &Q, const History &history, Lattice &L, double T, const SlipRule &R, const History &fixed) const

The rate of the history.

virtual History d_hist_d_s(const Symmetric &stress, const Orientation &Q, const History &history, Lattice &L, double T, const SlipRule &R, const History &fixed) const

Derivative of the history wrt stress.

virtual History d_hist_d_h(const Symmetric &stress, const Orientation &Q, const History &history, Lattice &L, double T, const SlipRule &R, const History &fixed) const

Derivative of the history wrt the history.

virtual History d_hist_d_h_ext(const Symmetric &stress, const Orientation &Q, const History &history, Lattice &L, double T, const SlipRule &R, const History &fixed, std::vector<std::string> ext) const

Derivative of this history wrt the history, external variables.

virtual double hist_map(const History &history, double T, const History &fixed) const

The scalar map.

virtual History d_hist_map(const History &history, double T, const History &fixed) const

The derivative of the scalar map.

virtual bool use_nye() const

Whether this model uses the Nye tensor.

Public Static Functions

static std::string type()

String type for the object system.

static std::unique_ptr<NEMLObject> initialize(ParameterSet &params)

Initialize from a parameter set.

static ParameterSet parameters()

Default parameters.