libmesh解析
本工作只是尝试解析原libmesh的代码,供学习使用
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 
Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
libMesh::Predicates::bid< T > 模板结构体 参考

#include <single_predicates.h>

类 libMesh::Predicates::bid< T > 继承关系图:
[图例]

Public 成员函数

 bid (boundary_id_type b_id, const BoundaryInfo &bndry_info)
 
virtual ~bid ()=default
 
virtual bool operator() (const T &it) const override
 

Protected 成员函数

virtual std::unique_ptr
< predicate< T > > 
clone () const override
 

Protected 属性

const boundary_id_type _bid
 
const BoundaryInfo & _bndry_info
 

详细描述

template<typename T>
struct libMesh::Predicates::bid< T >

返回
has_boundary_id(node, id).

在文件 single_predicates.h199 行定义.

构造及析构函数说明

template<typename T >
libMesh::Predicates::bid< T >::bid ( boundary_id_type  b_id,
const BoundaryInfo &  bndry_info 
)
inline

在文件 single_predicates.h201 行定义.

202  :
203  _bid(b_id),
204  _bndry_info(bndry_info)
205  {}
const boundary_id_type _bid
const BoundaryInfo & _bndry_info
template<typename T >
virtual libMesh::Predicates::bid< T >::~bid ( )
virtualdefault

成员函数说明

template<typename T >
virtual std::unique_ptr<predicate<T> > libMesh::Predicates::bid< T >::clone ( ) const
inlineoverrideprotectedvirtual

实现了 libMesh::Predicates::predicate< T >.

在文件 single_predicates.h212 行定义.

212 { return std::make_unique<bid<T>>(*this); }
template<typename T >
bool libMesh::Predicates::bid< T >::operator() ( const T &  it) const
overridevirtual

实现了 libMesh::Predicates::predicate< T >.

在文件 single_predicates.C34 行定义.

35 {
36  return _bndry_info.has_boundary_id(*it, _bid);
37 }
const boundary_id_type _bid
const BoundaryInfo & _bndry_info

类成员变量说明

template<typename T >
const boundary_id_type libMesh::Predicates::bid< T >::_bid
protected

在文件 single_predicates.h213 行定义.

template<typename T >
const BoundaryInfo& libMesh::Predicates::bid< T >::_bndry_info
protected

在文件 single_predicates.h214 行定义.


该结构体的文档由以下文件生成: