v0.14.0
Public Member Functions | Public Attributes | List of all members
MoFEM::NumeredDofEntity_part_and_all_indices_change Struct Reference

#include <src/multi_indices/DofsMultiIndices.hpp>

Collaboration diagram for MoFEM::NumeredDofEntity_part_and_all_indices_change:
[legend]

Public Member Functions

 NumeredDofEntity_part_and_all_indices_change (const unsigned int part, const DofIdx mofem_idx, const DofIdx petsc_gloabl_dof_idx, const DofIdx petsc_local_dof_idx)
 
void operator() (boost::shared_ptr< NumeredDofEntity > &dof) const
 

Public Attributes

const unsigned int pArt
 
const DofIdx mofemIdx
 
const DofIdx petscGloablDofIdx
 
const DofIdx petscLocalDofIdx
 

Detailed Description

Change part and mofem/pestc global and local index (multi-index modifier)

Definition at line 610 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ NumeredDofEntity_part_and_all_indices_change()

MoFEM::NumeredDofEntity_part_and_all_indices_change::NumeredDofEntity_part_and_all_indices_change ( const unsigned int  part,
const DofIdx  mofem_idx,
const DofIdx  petsc_gloabl_dof_idx,
const DofIdx  petsc_local_dof_idx 
)
inline

Definition at line 615 of file DofsMultiIndices.hpp.

618  : pArt(part), mofemIdx(mofem_idx),
619  petscGloablDofIdx(petsc_gloabl_dof_idx),
620  petscLocalDofIdx(petsc_local_dof_idx){};

Member Function Documentation

◆ operator()()

void MoFEM::NumeredDofEntity_part_and_all_indices_change::operator() ( boost::shared_ptr< NumeredDofEntity > &  dof) const
inline

Definition at line 621 of file DofsMultiIndices.hpp.

621  {
622  dof->pArt = pArt;
623  dof->dofIdx = mofemIdx;
624  dof->petscGloablDofIdx = petscGloablDofIdx;
625  dof->petscLocalDofIdx = petscLocalDofIdx;
626  }

Member Data Documentation

◆ mofemIdx

const DofIdx MoFEM::NumeredDofEntity_part_and_all_indices_change::mofemIdx

Definition at line 612 of file DofsMultiIndices.hpp.

◆ pArt

const unsigned int MoFEM::NumeredDofEntity_part_and_all_indices_change::pArt

Definition at line 611 of file DofsMultiIndices.hpp.

◆ petscGloablDofIdx

const DofIdx MoFEM::NumeredDofEntity_part_and_all_indices_change::petscGloablDofIdx

Definition at line 613 of file DofsMultiIndices.hpp.

◆ petscLocalDofIdx

const DofIdx MoFEM::NumeredDofEntity_part_and_all_indices_change::petscLocalDofIdx

Definition at line 614 of file DofsMultiIndices.hpp.


The documentation for this struct was generated from the following file:
MoFEM::NumeredDofEntity_part_and_all_indices_change::mofemIdx
const DofIdx mofemIdx
Definition: DofsMultiIndices.hpp:612
MoFEM::NumeredDofEntity_part_and_all_indices_change::petscGloablDofIdx
const DofIdx petscGloablDofIdx
Definition: DofsMultiIndices.hpp:613
MoFEM::NumeredDofEntity_part_and_all_indices_change::pArt
const unsigned int pArt
Definition: DofsMultiIndices.hpp:611
MoFEM::NumeredDofEntity_part_and_all_indices_change::petscLocalDofIdx
const DofIdx petscLocalDofIdx
Definition: DofsMultiIndices.hpp:614