AFEPack
组合类型 | 函数
Migration::details命名空间参考

组合类型

struct  _global_environment
struct  buffer_trait
class  _mpi_access

函数

template<class HGEO >
BinaryBufferget_buffer (const HGEO &geo, const data_id_t &data_id, bool is_save)
template<class MESH >
BinaryBufferget_buffer (MESH &mesh, const data_id_t &data_id, u_int dimension, u_int geo_idx, bool is_save)
template<class GEO >
void clear_geo_data_buffer (GEO &geo)
template<int DOW>
void clear_geo_data_buffer (HGeometry< 0, DOW > &geo)
template<int DOW>
void clear_geo_data_buffer (HGeometry< 1, DOW > &geo)
template<int D, class HTREE >
void sync_data_buffer_prepare (const HTREE &htree, const property_id_t< buffer_trait > &pid)
template<class HTREE >
void sync_data_buffer_prepare (const HTREE &htree, const property_id_t< buffer_trait > &pid, int D)
template<class HTREE >
void sync_data_buffer (const HTREE &htree)
template<class HGEO , class T >
void export_property (const HGEO &geo, const data_id_t &data_id, const property_id_t< T > &pid, const property_id_t<> &flag)
template<class HGEO , class T >
void import_property (const HGEO &geo, const data_id_t &data_id, const property_id_t< T > &pid, const property_id_t<> &flag)
template<class HTREE , class T >
void export_property (const HTREE &tree, const data_id_t &data_id, const property_id_t< T > &pid)
template<class HTREE , class T >
void import_property (const HTREE &tree, const data_id_t &data_id, const property_id_t< T > &pid)

函数文档

template<class GEO >
void Migration::details::clear_geo_data_buffer ( GEO geo)

将几何体上的数据缓冲去除。

template<int DOW>
void Migration::details::clear_geo_data_buffer ( HGeometry< 0, DOW > &  geo)
template<int DOW>
void Migration::details::clear_geo_data_buffer ( HGeometry< 1, DOW > &  geo)
template<class HGEO , class T >
void Migration::details::export_property ( const HGEO &  geo,
const data_id_t &  data_id,
const property_id_t< T > &  pid,
const property_id_t<> &  flag 
)

对几何体上的一个性质数据进行输出和输入。此功能可能将几何体上分配 的性质 ID 进行输入和输出,但是其能力是非常有限的,如果性质数据本 身含有指针对象结构的网络,其行为是不正确的。要求对于性质数据本身 定义了对 AFEPack 内部流的输入输出算子。

已经输出过了

并无要输出的性质

做上标记并进行输出

template<class HTREE , class T >
void Migration::details::export_property ( const HTREE &  tree,
const data_id_t &  data_id,
const property_id_t< T > &  pid 
)
template<class HGEO >
BinaryBuffer& Migration::details::get_buffer ( const HGEO &  geo,
const data_id_t &  data_id,
bool  is_save 
)

获取树结构中几何体上的数据缓冲区。对于存储的情形,如果相应的缓冲 区不存在,则新建立改缓冲区。

参数:
geo树结构中的几何体
is_save存储还是读入
返回:
相应的缓冲区

强行将const指针转换成了非const的指针,似乎没法子呢...

template<class MESH >
BinaryBuffer& Migration::details::get_buffer ( MESH &  mesh,
const data_id_t &  data_id,
u_int  dimension,
u_int  geo_idx,
bool  is_save 
)

获取几何体上的数据缓冲区。对于存储的情形,如果相应的缓冲区不存在, 则新建立改缓冲区。

参数:
mesh正则网格
data_id数据 ID
dimension几何体维数
geo_idx几何体序号
is_save存储还是读入
返回:
相应的缓冲区
template<class HGEO , class T >
void Migration::details::import_property ( const HGEO &  geo,
const data_id_t &  data_id,
const property_id_t< T > &  pid,
const property_id_t<> &  flag 
)

已经输入过了

并无要输入的性质

做上标记并进行输出

template<class HTREE , class T >
void Migration::details::import_property ( const HTREE &  tree,
const data_id_t &  data_id,
const property_id_t< T > &  pid 
)
template<class HTREE >
void Migration::details::sync_data_buffer ( const HTREE &  htree)
template<int D, class HTREE >
void Migration::details::sync_data_buffer_prepare ( const HTREE &  htree,
const property_id_t< buffer_trait > &  pid 
)
template<class HTREE >
void Migration::details::sync_data_buffer_prepare ( const HTREE &  htree,
const property_id_t< buffer_trait > &  pid,
int  D 
)