Trilinos based (stochastic) FEM solvers
shinozukapp_layeredcomp_2d.hpp
Go to the documentation of this file.
1 /*
2 Brian Staber (brian.staber@gmail.com)
3 */
4 
5 #ifndef SHINOZUKAPP_LAYEREDCOMP_2D_HPP
6 #define SHINOZUKAPP_LAYEREDCOMP_2D_HPP
7 
8 #include "meshpp.hpp"
9 #include <boost/random/mersenne_twister.hpp>
10 #include <boost/random/uniform_real_distribution.hpp>
11 #include <boost/math/special_functions/erf.hpp>
12 #include <boost/random/normal_distribution.hpp>
13 #include <boost/math/special_functions/gamma.hpp>
14 #include <boost/math/special_functions/beta.hpp>
15 
17 {
18 public:
19 
20  int order;
21  double l1;
22  double l2;
23  double rotation = 0.0;
24  boost::random::mt19937 rng;
25  boost::random::uniform_real_distribution<> phi_;
26  boost::random::uniform_real_distribution<> psi_;
27  Epetra_Map * CellsMap;
28  Epetra_Vector * GaussianRF;
29 
30  shinozuka_layeredcomp_2d(int & nu);
31  shinozuka_layeredcomp_2d(int & nu, double & L1, double & L2);
33 
34  template<typename typearg>
35  double tau_beta(typearg & beta);
36  double s_tau(double & tau);
37 
38  void generator_gauss_points(Epetra_SerialDenseVector & v, mesh & Mesh, std::vector<int> & phase);
39  void generator_one_gauss_point(Epetra_SerialDenseVector & v, mesh & Mesh, std::vector<int> & phase, double & xi, double & eta, double & zeta);
40 
41  void icdf_gamma(Epetra_Vector & V, Epetra_Vector & G, double & alpha, double & beta);
42  void icdf_beta(Epetra_Vector & V, Epetra_Vector & B, double & tau1, double & tau2);
43 };
44 #endif
void generator_one_gauss_point(Epetra_SerialDenseVector &v, mesh &Mesh, std::vector< int > &phase, double &xi, double &eta, double &zeta)
void icdf_beta(Epetra_Vector &V, Epetra_Vector &B, double &tau1, double &tau2)
void generator_gauss_points(Epetra_SerialDenseVector &v, mesh &Mesh, std::vector< int > &phase)
Definition: meshpp.hpp:49
boost::random::uniform_real_distribution psi_
modelParameters beta
Definition: run_station15.m:10
void icdf_gamma(Epetra_Vector &V, Epetra_Vector &G, double &alpha, double &beta)
boost::random::uniform_real_distribution phi_
output eta
Definition: costFunction.m:33