Public Member Functions | Public Attributes | List of all members
MoFEM::NumeredDofEntity_part_and_glob_idx_change Struct Reference

#include <src/multi_indices/DofsMultiIndices.hpp>

Collaboration diagram for MoFEM::NumeredDofEntity_part_and_glob_idx_change:

Public Member Functions

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

Public Attributes

const unsigned int pArt
const DofIdx petscGloablDofIdx

Detailed Description

Change part and global pestc index (multi-index modifier)

Definition at line 537 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ NumeredDofEntity_part_and_glob_idx_change()

MoFEM::NumeredDofEntity_part_and_glob_idx_change::NumeredDofEntity_part_and_glob_idx_change ( const unsigned int  part,
const DofIdx  petsc_gloabl_dof_idx 

Definition at line 540 of file DofsMultiIndices.hpp.

542  : pArt(part), petscGloablDofIdx(petsc_gloabl_dof_idx){};

Member Function Documentation

◆ operator()()

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

Definition at line 543 of file DofsMultiIndices.hpp.

543  {
544  dof->pArt = pArt;
545  dof->petscGloablDofIdx = petscGloablDofIdx;
546  }

Member Data Documentation

◆ pArt

const unsigned int MoFEM::NumeredDofEntity_part_and_glob_idx_change::pArt

Definition at line 538 of file DofsMultiIndices.hpp.

◆ petscGloablDofIdx

const DofIdx MoFEM::NumeredDofEntity_part_and_glob_idx_change::petscGloablDofIdx

Definition at line 539 of file DofsMultiIndices.hpp.

The documentation for this struct was generated from the following file:
const unsigned int pArt
Definition: DofsMultiIndices.hpp:538
const DofIdx petscGloablDofIdx
Definition: DofsMultiIndices.hpp:539