Operator calculate right hand side vector.
More...
#include <users_modules/basic_finite_elements/cohesive_interface/src/CohesiveInterfaceElement.hpp>
Operator calculate right hand side vector.
Definition at line 431 of file CohesiveInterfaceElement.hpp.
◆ OpRhs()
CohesiveElement::CohesiveInterfaceElement::OpRhs::OpRhs |
( |
const std::string |
field_name, |
|
|
CommonData & |
common_data, |
|
|
PhysicalEquation & |
physical_eqations |
|
) |
| |
|
inline |
◆ doWork()
MoFEMErrorCode CohesiveElement::CohesiveInterfaceElement::OpRhs::doWork |
( |
int |
side, |
|
|
EntityType |
type, |
|
|
EntitiesFieldData::EntData & |
data |
|
) |
| |
|
inline |
Definition at line 440 of file CohesiveInterfaceElement.hpp.
444 int nb_dofs = data.getIndices().size();
451 int nb_gauss_pts = data.getN().size1();
452 for(
int gg = 0;gg<nb_gauss_pts;gg++) {
454 double w = getGaussPts()(2,gg)*cblas_dnrm2(3,&getNormalsAtGaussPtsF3()(gg,0),1)*0.5;
455 for(
int nn = 0;nn<nb_dofs/3;nn++) {
456 for(
int dd = 0;
dd<3;
dd++) {
462 data.getIndices().size(),&data.getIndices()[0],&
Nf[0],ADD_VALUES);
CHKERRG(
ierr);
463 }
catch (
const std::exception& ex) {
464 std::ostringstream ss;
465 ss <<
"throw in method: " << ex.what() << std::endl;
466 SETERRQ(PETSC_COMM_SELF,1,ss.str().c_str());
◆ commonData
CommonData& CohesiveElement::CohesiveInterfaceElement::OpRhs::commonData |
◆ Nf
VectorDouble CohesiveElement::CohesiveInterfaceElement::OpRhs::Nf |
◆ physicalEqations
PhysicalEquation& CohesiveElement::CohesiveInterfaceElement::OpRhs::physicalEqations |
◆ traction
VectorDouble CohesiveElement::CohesiveInterfaceElement::OpRhs::traction |
The documentation for this struct was generated from the following file:
const Tensor2_symmetric_Expr< const ddTensor0< T, Dim, i, j >, typename promote< T, double >::V, Dim, i, j > dd(const Tensor0< T * > &a, const Index< i, Dim > index1, const Index< j, Dim > index2, const Tensor1< int, Dim > &d_ijk, const Tensor1< double, Dim > &d_xyz)