Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
T2SwapInfo< SPACE_DIM > Struct Template Reference

#include <T2SwapInfo.hpp>

+ Collaboration diagram for T2SwapInfo< SPACE_DIM >:

Public Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)
 

Public Attributes

unsigned mCellId
 
c_vector< double, SPACE_DIM > mLocation
 

Friends

class boost::serialization::access
 

Detailed Description

template<unsigned int SPACE_DIM>
struct T2SwapInfo< SPACE_DIM >

Records information about a T2 swap.

Definition at line 49 of file T2SwapInfo.hpp.

Member Function Documentation

◆ serialize()

template<unsigned int SPACE_DIM>
template<class Archive >
void T2SwapInfo< SPACE_DIM >::serialize ( Archive &  archive,
const unsigned int  version 
)
inline

Archive the object.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 61 of file T2SwapInfo.hpp.

References T2SwapInfo< SPACE_DIM >::mCellId, and T2SwapInfo< SPACE_DIM >::mLocation.

Friends And Related Symbol Documentation

◆ boost::serialization::access

template<unsigned int SPACE_DIM>
friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 52 of file T2SwapInfo.hpp.

Member Data Documentation

◆ mCellId

template<unsigned int SPACE_DIM>
unsigned T2SwapInfo< SPACE_DIM >::mCellId

The ID of the cell associated with the element undergoing a T2 swap

Definition at line 68 of file T2SwapInfo.hpp.

Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT2Swap(), and T2SwapInfo< SPACE_DIM >::serialize().

◆ mLocation

template<unsigned int SPACE_DIM>
c_vector<double, SPACE_DIM> T2SwapInfo< SPACE_DIM >::mLocation

The centroid the element undergoing a T2 swap

Definition at line 71 of file T2SwapInfo.hpp.

Referenced by MutableVertexMesh< ELEMENT_DIM, SPACE_DIM >::PerformT2Swap(), and T2SwapInfo< SPACE_DIM >::serialize().


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