v0.13.0
Public Member Functions | Public Attributes | List of all members
StdRDOperators::BlockData Struct Reference

#include <users_modules/softmech/chemo_mech/src/rd_stdOperators.hpp>

Public Member Functions

 BlockData ()
 

Public Attributes

int block_id
 
MatrixDouble coef
 
VectorDouble rate
 
Range block_ents
 
double B0
 

Detailed Description

Definition at line 32 of file rd_stdOperators.hpp.

Constructor & Destructor Documentation

◆ BlockData()

StdRDOperators::BlockData::BlockData ( )

Definition at line 41 of file rd_stdOperators.hpp.

41  : B0(2e-3) {
42  coef.resize(3, 3, false);
43  rate.resize(3, false);
44  coef.clear();
45  rate.clear();
46  coef(0, 0) = 1.0;
47  coef(0, 1) = 0.0;
48  coef(0, 2) = 0.0;
49  coef(1, 0) = 0.0;
50  coef(1, 1) = 1.0;
51  coef(1, 2) = 0.0;
52  coef(2, 0) = 0.0;
53  coef(2, 1) = 0.0;
54  coef(2, 2) = 1.0;
55 
56  for (int i = 0; i < 3; ++i) {
57  rate[i] = 1.0;
58  }
59  }
FTensor::Index< 'i', 3 > i

Member Data Documentation

◆ B0

double StdRDOperators::BlockData::B0

Definition at line 39 of file rd_stdOperators.hpp.

◆ block_ents

Range StdRDOperators::BlockData::block_ents

Definition at line 37 of file rd_stdOperators.hpp.

◆ block_id

int StdRDOperators::BlockData::block_id

Definition at line 33 of file rd_stdOperators.hpp.

◆ coef

MatrixDouble StdRDOperators::BlockData::coef

Definition at line 34 of file rd_stdOperators.hpp.

◆ rate

VectorDouble StdRDOperators::BlockData::rate

Definition at line 35 of file rd_stdOperators.hpp.


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