v0.14.0
Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
SimpleContactProblem::CommonDataSimpleContact Struct Reference

#include <users_modules/mortar_contact/src/SimpleContact.hpp>

Inheritance diagram for SimpleContactProblem::CommonDataSimpleContact:
[legend]
Collaboration diagram for SimpleContactProblem::CommonDataSimpleContact:
[legend]

Public Types

enum  VecElements { ACTIVE = 0, TOTAL, LAST_ELEMENT }
 

Public Member Functions

 CommonDataSimpleContact (MoFEM::Interface &m_field)
 

Public Attributes

boost::shared_ptr< VectorDouble > augmentedLambdasPtr
 
boost::shared_ptr< MatrixDouble > positionAtGaussPtsMasterPtr
 
boost::shared_ptr< MatrixDouble > positionAtGaussPtsSlavePtr
 
boost::shared_ptr< MatrixDouble > gradKsiPositionAtGaussPtsPtr
 
boost::shared_ptr< MatrixDouble > gradKsiLambdaAtGaussPtsPtr
 
boost::shared_ptr< VectorDouble > lagMultAtGaussPtsPtr
 
boost::shared_ptr< VectorDouble > gapPtr
 
boost::shared_ptr< VectorDouble > lagGapProdPtr
 
boost::shared_ptr< VectorDouble > tangentOneVectorSlavePtr
 
boost::shared_ptr< VectorDouble > tangentTwoVectorSlavePtr
 
boost::shared_ptr< VectorDouble > tangentOneVectorMasterPtr
 
boost::shared_ptr< VectorDouble > tangentTwoVectorMasterPtr
 
boost::shared_ptr< VectorDouble > normalVectorSlavePtr
 
boost::shared_ptr< VectorDouble > normalVectorMasterPtr
 
boost::shared_ptr< MatrixDouble > hMat
 
boost::shared_ptr< MatrixDouble > FMat
 
boost::shared_ptr< MatrixDouble > HMat
 
boost::shared_ptr< MatrixDouble > invHMat
 
boost::shared_ptr< VectorDouble > detHVec
 
boost::shared_ptr< VectorDouble > gaussPtsStatePtr
 
double areaSlave
 
double areaMaster
 
Range forcesOnlyOnEntitiesRow
 
Range forcesOnlyOnEntitiesCol
 
SmartPetscObj< Vec > gaussPtsStateVec
 
SmartPetscObj< Vec > contactAreaVec
 

Private Attributes

MoFEM::InterfacemField
 

Detailed Description

Definition at line 404 of file SimpleContact.hpp.

Member Enumeration Documentation

◆ VecElements

Enumerator
ACTIVE 
TOTAL 
LAST_ELEMENT 

Definition at line 438 of file SimpleContact.hpp.

438 { ACTIVE = 0, TOTAL, LAST_ELEMENT };

Constructor & Destructor Documentation

◆ CommonDataSimpleContact()

SimpleContactProblem::CommonDataSimpleContact::CommonDataSimpleContact ( MoFEM::Interface m_field)
inline

Definition at line 443 of file SimpleContact.hpp.

443  : mField(m_field) {
444  augmentedLambdasPtr = boost::make_shared<VectorDouble>();
445  positionAtGaussPtsMasterPtr = boost::make_shared<MatrixDouble>();
446  positionAtGaussPtsSlavePtr = boost::make_shared<MatrixDouble>();
447  gradKsiPositionAtGaussPtsPtr = boost::make_shared<MatrixDouble>();
448  gradKsiLambdaAtGaussPtsPtr = boost::make_shared<MatrixDouble>();
449  lagMultAtGaussPtsPtr = boost::make_shared<VectorDouble>();
450 
451  gapPtr = boost::make_shared<VectorDouble>();
452  lagGapProdPtr = boost::make_shared<VectorDouble>();
453  normalVectorSlavePtr = boost::make_shared<VectorDouble>();
454  normalVectorMasterPtr = boost::make_shared<VectorDouble>();
455 
456  hMat = boost::make_shared<MatrixDouble>();
457  FMat = boost::make_shared<MatrixDouble>();
458  HMat = boost::make_shared<MatrixDouble>();
459  invHMat = boost::make_shared<MatrixDouble>();
460  detHVec = boost::make_shared<VectorDouble>();
461 
462  tangentOneVectorSlavePtr = boost::make_shared<VectorDouble>();
463  tangentTwoVectorSlavePtr = boost::make_shared<VectorDouble>();
464  tangentOneVectorMasterPtr = boost::make_shared<VectorDouble>();
465  tangentTwoVectorMasterPtr = boost::make_shared<VectorDouble>();
466 
467  gaussPtsStatePtr = boost::make_shared<VectorDouble>();
468 
469  int local_size = (mField.get_comm_rank() == 0)
471  : 0;
476  }

Member Data Documentation

◆ areaMaster

double SimpleContactProblem::CommonDataSimpleContact::areaMaster

Definition at line 434 of file SimpleContact.hpp.

◆ areaSlave

double SimpleContactProblem::CommonDataSimpleContact::areaSlave

Definition at line 433 of file SimpleContact.hpp.

◆ augmentedLambdasPtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::augmentedLambdasPtr

Definition at line 407 of file SimpleContact.hpp.

◆ contactAreaVec

SmartPetscObj<Vec> SimpleContactProblem::CommonDataSimpleContact::contactAreaVec

Definition at line 441 of file SimpleContact.hpp.

◆ detHVec

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::detHVec

Definition at line 429 of file SimpleContact.hpp.

◆ FMat

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::FMat

Definition at line 426 of file SimpleContact.hpp.

◆ forcesOnlyOnEntitiesCol

Range SimpleContactProblem::CommonDataSimpleContact::forcesOnlyOnEntitiesCol

Definition at line 437 of file SimpleContact.hpp.

◆ forcesOnlyOnEntitiesRow

Range SimpleContactProblem::CommonDataSimpleContact::forcesOnlyOnEntitiesRow

Definition at line 436 of file SimpleContact.hpp.

◆ gapPtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::gapPtr

Definition at line 414 of file SimpleContact.hpp.

◆ gaussPtsStatePtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::gaussPtsStatePtr

Definition at line 431 of file SimpleContact.hpp.

◆ gaussPtsStateVec

SmartPetscObj<Vec> SimpleContactProblem::CommonDataSimpleContact::gaussPtsStateVec

Definition at line 440 of file SimpleContact.hpp.

◆ gradKsiLambdaAtGaussPtsPtr

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::gradKsiLambdaAtGaussPtsPtr

Definition at line 411 of file SimpleContact.hpp.

◆ gradKsiPositionAtGaussPtsPtr

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::gradKsiPositionAtGaussPtsPtr

Definition at line 410 of file SimpleContact.hpp.

◆ hMat

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::hMat

Definition at line 425 of file SimpleContact.hpp.

◆ HMat

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::HMat

Definition at line 427 of file SimpleContact.hpp.

◆ invHMat

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::invHMat

Definition at line 428 of file SimpleContact.hpp.

◆ lagGapProdPtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::lagGapProdPtr

Definition at line 415 of file SimpleContact.hpp.

◆ lagMultAtGaussPtsPtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::lagMultAtGaussPtsPtr

Definition at line 413 of file SimpleContact.hpp.

◆ mField

MoFEM::Interface& SimpleContactProblem::CommonDataSimpleContact::mField
private

Definition at line 479 of file SimpleContact.hpp.

◆ normalVectorMasterPtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::normalVectorMasterPtr

Definition at line 423 of file SimpleContact.hpp.

◆ normalVectorSlavePtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::normalVectorSlavePtr

Definition at line 422 of file SimpleContact.hpp.

◆ positionAtGaussPtsMasterPtr

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::positionAtGaussPtsMasterPtr

Definition at line 408 of file SimpleContact.hpp.

◆ positionAtGaussPtsSlavePtr

boost::shared_ptr<MatrixDouble> SimpleContactProblem::CommonDataSimpleContact::positionAtGaussPtsSlavePtr

Definition at line 409 of file SimpleContact.hpp.

◆ tangentOneVectorMasterPtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::tangentOneVectorMasterPtr

Definition at line 419 of file SimpleContact.hpp.

◆ tangentOneVectorSlavePtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::tangentOneVectorSlavePtr

Definition at line 417 of file SimpleContact.hpp.

◆ tangentTwoVectorMasterPtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::tangentTwoVectorMasterPtr

Definition at line 420 of file SimpleContact.hpp.

◆ tangentTwoVectorSlavePtr

boost::shared_ptr<VectorDouble> SimpleContactProblem::CommonDataSimpleContact::tangentTwoVectorSlavePtr

Definition at line 418 of file SimpleContact.hpp.


The documentation for this struct was generated from the following file:
SimpleContactProblem::CommonDataSimpleContact::gaussPtsStateVec
SmartPetscObj< Vec > gaussPtsStateVec
Definition: SimpleContact.hpp:440
SimpleContactProblem::CommonDataSimpleContact::tangentTwoVectorMasterPtr
boost::shared_ptr< VectorDouble > tangentTwoVectorMasterPtr
Definition: SimpleContact.hpp:420
SimpleContactProblem::CommonDataSimpleContact::hMat
boost::shared_ptr< MatrixDouble > hMat
Definition: SimpleContact.hpp:425
SimpleContactProblem::CommonDataSimpleContact::gapPtr
boost::shared_ptr< VectorDouble > gapPtr
Definition: SimpleContact.hpp:414
MoFEM::CoreInterface::get_comm
virtual MPI_Comm & get_comm() const =0
MoFEM::createSmartVectorMPI
DEPRECATED auto createSmartVectorMPI(MPI_Comm comm, PetscInt n, PetscInt N)
Definition: PetscSmartObj.hpp:205
MoFEM::CoreInterface::get_comm_rank
virtual int get_comm_rank() const =0
SimpleContactProblem::CommonDataSimpleContact::HMat
boost::shared_ptr< MatrixDouble > HMat
Definition: SimpleContact.hpp:427
SimpleContactProblem::CommonDataSimpleContact::invHMat
boost::shared_ptr< MatrixDouble > invHMat
Definition: SimpleContact.hpp:428
SimpleContactProblem::CommonDataSimpleContact::normalVectorSlavePtr
boost::shared_ptr< VectorDouble > normalVectorSlavePtr
Definition: SimpleContact.hpp:422
SimpleContactProblem::CommonDataSimpleContact::mField
MoFEM::Interface & mField
Definition: SimpleContact.hpp:479
SimpleContactProblem::CommonDataSimpleContact::detHVec
boost::shared_ptr< VectorDouble > detHVec
Definition: SimpleContact.hpp:429
SimpleContactProblem::CommonDataSimpleContact::lagMultAtGaussPtsPtr
boost::shared_ptr< VectorDouble > lagMultAtGaussPtsPtr
Definition: SimpleContact.hpp:413
SimpleContactProblem::CommonDataSimpleContact::FMat
boost::shared_ptr< MatrixDouble > FMat
Definition: SimpleContact.hpp:426
SimpleContactProblem::CommonDataSimpleContact::ACTIVE
@ ACTIVE
Definition: SimpleContact.hpp:438
SimpleContactProblem::CommonDataSimpleContact::gradKsiPositionAtGaussPtsPtr
boost::shared_ptr< MatrixDouble > gradKsiPositionAtGaussPtsPtr
Definition: SimpleContact.hpp:410
SimpleContactProblem::CommonDataSimpleContact::positionAtGaussPtsMasterPtr
boost::shared_ptr< MatrixDouble > positionAtGaussPtsMasterPtr
Definition: SimpleContact.hpp:408
SimpleContactProblem::CommonDataSimpleContact::TOTAL
@ TOTAL
Definition: SimpleContact.hpp:438
SimpleContactProblem::CommonDataSimpleContact::gaussPtsStatePtr
boost::shared_ptr< VectorDouble > gaussPtsStatePtr
Definition: SimpleContact.hpp:431
SimpleContactProblem::CommonDataSimpleContact::gradKsiLambdaAtGaussPtsPtr
boost::shared_ptr< MatrixDouble > gradKsiLambdaAtGaussPtsPtr
Definition: SimpleContact.hpp:411
SimpleContactProblem::CommonDataSimpleContact::contactAreaVec
SmartPetscObj< Vec > contactAreaVec
Definition: SimpleContact.hpp:441
SimpleContactProblem::CommonDataSimpleContact::tangentOneVectorMasterPtr
boost::shared_ptr< VectorDouble > tangentOneVectorMasterPtr
Definition: SimpleContact.hpp:419
SimpleContactProblem::CommonDataSimpleContact::tangentTwoVectorSlavePtr
boost::shared_ptr< VectorDouble > tangentTwoVectorSlavePtr
Definition: SimpleContact.hpp:418
SimpleContactProblem::CommonDataSimpleContact::tangentOneVectorSlavePtr
boost::shared_ptr< VectorDouble > tangentOneVectorSlavePtr
Definition: SimpleContact.hpp:417
SimpleContactProblem::CommonDataSimpleContact::augmentedLambdasPtr
boost::shared_ptr< VectorDouble > augmentedLambdasPtr
Definition: SimpleContact.hpp:407
SimpleContactProblem::CommonDataSimpleContact::normalVectorMasterPtr
boost::shared_ptr< VectorDouble > normalVectorMasterPtr
Definition: SimpleContact.hpp:423
SimpleContactProblem::CommonDataSimpleContact::LAST_ELEMENT
@ LAST_ELEMENT
Definition: SimpleContact.hpp:438
SimpleContactProblem::CommonDataSimpleContact::positionAtGaussPtsSlavePtr
boost::shared_ptr< MatrixDouble > positionAtGaussPtsSlavePtr
Definition: SimpleContact.hpp:409
SimpleContactProblem::CommonDataSimpleContact::lagGapProdPtr
boost::shared_ptr< VectorDouble > lagGapProdPtr
Definition: SimpleContact.hpp:415