QMCPACK
SizeLeaf2 Class Reference
+ Collaboration diagram for SizeLeaf2:

Public Types

using size_type = int
 

Public Member Functions

 SizeLeaf2 (size_type s, size_type p)
 
 SizeLeaf2 (const SizeLeaf2 &model)
 
bool operator() (size_type s, size_type p) const
 

Private Attributes

size_type size_m
 
size_type size_n
 

Detailed Description

Definition at line 452 of file OhmmsMatrix.h.

Member Typedef Documentation

◆ size_type

using size_type = int

Definition at line 455 of file OhmmsMatrix.h.

Constructor & Destructor Documentation

◆ SizeLeaf2() [1/2]

SizeLeaf2 ( size_type  s,
size_type  p 
)
inline

Definition at line 457 of file OhmmsMatrix.h.

◆ SizeLeaf2() [2/2]

SizeLeaf2 ( const SizeLeaf2 model)
inline

Definition at line 458 of file OhmmsMatrix.h.

458 : size_m(model.size_m), size_n(model.size_n) {}

Member Function Documentation

◆ operator()()

bool operator() ( size_type  s,
size_type  p 
) const
inline

Definition at line 460 of file OhmmsMatrix.h.

References qmcplusplus::Units::time::s, SizeLeaf2::size_m, and SizeLeaf2::size_n.

460 { return ((size_m == s) && (size_n == p)); }

Member Data Documentation

◆ size_m

size_type size_m
private

Definition at line 463 of file OhmmsMatrix.h.

Referenced by SizeLeaf2::operator()().

◆ size_n

size_type size_n
private

Definition at line 463 of file OhmmsMatrix.h.

Referenced by SizeLeaf2::operator()().


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