v0.13.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CacheParams Struct Referenceabstract

#include <users_modules/multifield_plasticity/src/BasicFeTools.hpp>

Inheritance diagram for CacheParams:
[legend]
Collaboration diagram for CacheParams:
[legend]

Public Member Functions

 CacheParams ()
 
virtual MoFEMErrorCode scaleParameters ()=0
 
template<typename T1 , typename T2 >
int getClosestRollerID (Tensor1< T1, 3 > &t_coords, Tensor1< T2, 3 > &t_disp)
 

Public Attributes

double young_modulus
 
double young_modulus_inv
 
double poisson
 
double density
 
double sigmaY
 
double cn_pl
 
double H
 
double C1_k
 
double Q_inf
 
double b_iso
 
double visH
 
double scale_constraint
 
MatrixDouble mtD
 
double cn_cont
 
double rollers_stop_time
 

Static Public Attributes

static vector< doublegravity = vector<double>({0,0,0})
 
static double spring_stiffness = 0
 
static int closest_roller_id = 0
 
static double delta = std::numeric_limits<double>::epsilon()
 
static Tensor1< double, 3 > omega
 
static Tensor2< double, 3, 3 > Omega
 
static Tensor4< double, 3, 3, 3, 3 > Is
 
static boost::ptr_vector< RigidBodyDatarollerDataVec
 
static RigidBodyDataclosest_roller
 

Detailed Description

Definition at line 18 of file BasicFeTools.hpp.

Constructor & Destructor Documentation

◆ CacheParams()

CacheParams::CacheParams ( )
inline

Definition at line 54 of file BasicFeTools.hpp.

56 sigmaY(1e9), cn_pl(1), H(0), C1_k(0), Q_inf(0), b_iso(0), visH(0),
57 cn_cont(1. / young_modulus), /*spring_stiffness(0),
58 closest_roller_id(0),*/
60 mtD.resize(36, 1);
61 }
double cn_cont
double poisson
double young_modulus
double scale_constraint
double density
double young_modulus_inv
double rollers_stop_time
MatrixDouble mtD

Member Function Documentation

◆ getClosestRollerID()

template<typename T1 , typename T2 >
int CacheParams::getClosestRollerID ( Tensor1< T1, 3 > &  t_coords,
Tensor1< T2, 3 > &  t_disp 
)
inline

Definition at line 66 of file BasicFeTools.hpp.

66 {
67
68 std::vector<double> gaps;
70 for (auto &roller : rollerDataVec) {
71 auto t_normal = roller.getNormal(t_coords, t_disp);
72 double dist = roller.getGap(t_coords);
73 gaps.push_back(dist);
74 }
75
76 auto it = std::min_element(gaps.begin(), gaps.end());
77 auto nb = distance(gaps.begin(), it);
78
79 return nb;
80 };
static Index< 'i', 3 > i
Definition: single.cpp:4
static boost::ptr_vector< RigidBodyData > rollerDataVec

◆ scaleParameters()

virtual MoFEMErrorCode CacheParams::scaleParameters ( )
pure virtual

Implemented in BlockParamData.

Member Data Documentation

◆ b_iso

double CacheParams::b_iso

Definition at line 31 of file BasicFeTools.hpp.

◆ C1_k

double CacheParams::C1_k

Definition at line 29 of file BasicFeTools.hpp.

◆ closest_roller

RigidBodyData * CacheParams::closest_roller
static

Definition at line 52 of file BasicFeTools.hpp.

◆ closest_roller_id

int CacheParams::closest_roller_id = 0
static

Definition at line 45 of file BasicFeTools.hpp.

◆ cn_cont

double CacheParams::cn_cont

Definition at line 38 of file BasicFeTools.hpp.

◆ cn_pl

double CacheParams::cn_pl

Definition at line 26 of file BasicFeTools.hpp.

◆ delta

double CacheParams::delta = std::numeric_limits<double>::epsilon()
static

Definition at line 46 of file BasicFeTools.hpp.

◆ density

double CacheParams::density

Definition at line 23 of file BasicFeTools.hpp.

◆ gravity

vector< double > CacheParams::gravity = vector<double>({0,0,0})
static

Definition at line 42 of file BasicFeTools.hpp.

◆ H

double CacheParams::H

Definition at line 28 of file BasicFeTools.hpp.

◆ Is

Tensor4< double, 3, 3, 3, 3 > CacheParams::Is
static

Definition at line 49 of file BasicFeTools.hpp.

◆ mtD

MatrixDouble CacheParams::mtD

Definition at line 35 of file BasicFeTools.hpp.

◆ omega

Tensor1< double, 3 > CacheParams::omega
static

Definition at line 47 of file BasicFeTools.hpp.

◆ Omega

Tensor2< double, 3, 3 > CacheParams::Omega
static

Definition at line 48 of file BasicFeTools.hpp.

◆ poisson

double CacheParams::poisson

Definition at line 22 of file BasicFeTools.hpp.

◆ Q_inf

double CacheParams::Q_inf

Definition at line 30 of file BasicFeTools.hpp.

◆ rollerDataVec

boost::ptr_vector< RigidBodyData > CacheParams::rollerDataVec
static

Definition at line 51 of file BasicFeTools.hpp.

◆ rollers_stop_time

double CacheParams::rollers_stop_time

Definition at line 39 of file BasicFeTools.hpp.

◆ scale_constraint

double CacheParams::scale_constraint

Definition at line 33 of file BasicFeTools.hpp.

◆ sigmaY

double CacheParams::sigmaY

Definition at line 25 of file BasicFeTools.hpp.

◆ spring_stiffness

double CacheParams::spring_stiffness = 0
static

Definition at line 43 of file BasicFeTools.hpp.

◆ visH

double CacheParams::visH

Definition at line 32 of file BasicFeTools.hpp.

◆ young_modulus

double CacheParams::young_modulus

Definition at line 20 of file BasicFeTools.hpp.

◆ young_modulus_inv

double CacheParams::young_modulus_inv

Definition at line 21 of file BasicFeTools.hpp.


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