v0.8.15
Public Member Functions | Public Attributes | List of all members
MoFEM::CubitMeshSets_change_attributes Struct Reference

#include <src/multi_indices/BCMultiIndices.hpp>

Collaboration diagram for MoFEM::CubitMeshSets_change_attributes:
[legend]

Public Member Functions

 CubitMeshSets_change_attributes (Interface &moab, const std::vector< double > &attr)
 
void operator() (CubitMeshSets &e)
 

Public Attributes

InterfacemOab
 
const std::vector< double > & aTtr
 

Detailed Description

change meshset attributes

Definition at line 433 of file BCMultiIndices.hpp.

Constructor & Destructor Documentation

◆ CubitMeshSets_change_attributes()

MoFEM::CubitMeshSets_change_attributes::CubitMeshSets_change_attributes ( Interface moab,
const std::vector< double > &  attr 
)

Definition at line 436 of file BCMultiIndices.hpp.

436  :
437  mOab(moab),
438  aTtr(attr) {}
const std::vector< double > & aTtr

Member Function Documentation

◆ operator()()

void MoFEM::CubitMeshSets_change_attributes::operator() ( CubitMeshSets e)

Definition at line 706 of file BCMultiIndices.cpp.

706  {
707 
708  ierr = e.setAttributes(mOab,aTtr);
709  if(ierr>0) THROW_MESSAGE("Attributes not changed");
710 }
const std::vector< double > & aTtr
#define THROW_MESSAGE(a)
Throw MoFEM exception.
Definition: definitions.h:602
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Definition: Common.hpp:80

Member Data Documentation

◆ aTtr

const std::vector<double>& MoFEM::CubitMeshSets_change_attributes::aTtr

Definition at line 435 of file BCMultiIndices.hpp.

◆ mOab

Interface& MoFEM::CubitMeshSets_change_attributes::mOab

Definition at line 434 of file BCMultiIndices.hpp.


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