svMultiPhysics
Loading...
Searching...
No Matches
ArtificialNeuralNetMaterial Class Reference

Public Member Functions

void uCANN_h0 (const double x, const int kf, double &f, double &df, double &ddf) const
 0th layer output of CANN for activation func kf, input x
void uCANN_h1 (const double x, const int kf, const double W, double &f, double &df, double &ddf) const
 1st layer output of CANN for activation func kf, input x, weight W
void uCANN_h2 (const double x, const int kf, const double W, double &f, double &df, double &ddf) const
 2nd layer output of CANN for activation func kf, input x, weight W
void uCANN (const double xInv, const int kInv, const int kf0, const int kf1, const int kf2, const double W0, const double W1, const double W2, double &psi, double(&dpsi)[9], double(&ddpsi)[9]) const
 Updates psi and its derivatives.
void evaluate (const double aInv[9], double &psi, double(&dpsi)[9], double(&ddpsi)[9]) const
 function to build psi and dpsidI1 to 9
template<size_t nsd>
void computeInvariantsAndDerivatives (const Matrix< nsd > &C, const Eigen::Ref< const Eigen::Matrix< double, nsd, Eigen::Dynamic > > &fl, int nfd, double J2d, double J4d, const Matrix< nsd > &Ci, const Matrix< nsd > &Idm, Matrix< nsd > &N1, double &psi, double(&Inv)[9], std::array< Matrix< nsd >, 9 > &dInv, std::array< Tensor< nsd >, 9 > &ddInv) const

Public Attributes

Vector< int > invariant_indices
Array< int > activation_functions
Array< double > weights
int num_rows

Member Function Documentation

◆ evaluate()

void ArtificialNeuralNetMaterial::evaluate ( const double aInv[9],
double & psi,
double(&) dpsi[9],
double(&) ddpsi[9] ) const

function to build psi and dpsidI1 to 9

◆ uCANN()

void ArtificialNeuralNetMaterial::uCANN ( const double xInv,
const int kInv,
const int kf0,
const int kf1,
const int kf2,
const double W0,
const double W1,
const double W2,
double & psi,
double(&) dpsi[9],
double(&) ddpsi[9] ) const

Updates psi and its derivatives.

◆ uCANN_h0()

void ArtificialNeuralNetMaterial::uCANN_h0 ( const double x,
const int kf,
double & f,
double & df,
double & ddf ) const

0th layer output of CANN for activation func kf, input x

◆ uCANN_h1()

void ArtificialNeuralNetMaterial::uCANN_h1 ( const double x,
const int kf,
const double W,
double & f,
double & df,
double & ddf ) const

1st layer output of CANN for activation func kf, input x, weight W

◆ uCANN_h2()

void ArtificialNeuralNetMaterial::uCANN_h2 ( const double x,
const int kf,
const double W,
double & f,
double & df,
double & ddf ) const

2nd layer output of CANN for activation func kf, input x, weight W


The documentation for this class was generated from the following files: