FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
abacus-develop/source/source_cell/base_cell.cpp at develop · maki49/abacus-develop · GitHub
maki49
/
abacus-develop
Public
forked from
deepmodeling/abacus-develop
Notifications
You must be signed in to change notification settings
Fork
1
Star
3
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
abacus-develop
/
source
/
source_cell
/
base_cell.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (10 loc) · 397 Bytes
Breadcrumbs
abacus-develop
/
source
/
source_cell
/
base_cell.cpp
Copy path
File metadata and controls
12 lines (10 loc) · 397 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
#
include
"
source_cell/base_cell.h
"
#
include
"
source_base/tool_quit.h
"
void
BaseCell::require_kind
(
const
Kind& expected,
const
char
* caller)
const
{
if
(
this
->
kind
() != expected)
{
const
char
* required_cell = expected == Kind::unit_cell ?
"
UnitCell
"
:
"
MDCell
"
;
ModuleBase::WARNING_QUIT
(caller,
std::string
(
"
This operation only supports
"
) + required_cell +
"
.
"
);
}
}
Back
|
FazBrowse Home
|
New Git URL