Skip to content

Commit d915a91

Browse files
authored
cc: merge DeepPotBase and DeepTensor member functions (#3145)
Remove 18 member functions from `DeepPotBase` and 4 member functions from `DeepTensor`. --------- Signed-off-by: Jinzhe Zeng <[email protected]>
1 parent 5493921 commit d915a91

File tree

9 files changed

+503
-1521
lines changed

9 files changed

+503
-1521
lines changed

source/api_cc/include/DataModifierTF.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class DipoleChargeModifierTF : public DipoleChargeModifierBase {
3434
const int& gpu_rank = 0,
3535
const std::string& name_scope = "");
3636

37-
public:
37+
private:
3838
/**
3939
* @brief Evaluate the force and virial correction by using this dipole charge
4040
*modifier.
@@ -61,6 +61,8 @@ class DipoleChargeModifierTF : public DipoleChargeModifierBase {
6161
const std::vector<VALUETYPE>& delef_,
6262
const int nghost,
6363
const InputNlist& lmp_list);
64+
65+
public:
6466
/**
6567
* @brief Get cutoff radius.
6668
* @return double cutoff radius.

0 commit comments

Comments
 (0)