ATC version 2.0, date: Aug21
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10638 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -7,6 +7,19 @@
|
||||
#include "Function.h"
|
||||
#include "PrescribedDataManager.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <set>
|
||||
|
||||
using ATC_Utility::to_string;
|
||||
using std::stringstream;
|
||||
using std::map;
|
||||
using std::vector;
|
||||
using std::set;
|
||||
using std::pair;
|
||||
using std::string;
|
||||
|
||||
|
||||
namespace ATC {
|
||||
@ -269,6 +282,23 @@ namespace ATC {
|
||||
initialized_ = true;
|
||||
}
|
||||
//--------------------------------------------------------
|
||||
// Initialize
|
||||
//--------------------------------------------------------
|
||||
void ChargeRegulatorMethodFeedback::construct_transfers(void)
|
||||
{
|
||||
ChargeRegulatorMethod::construct_transfers();
|
||||
|
||||
InterscaleManager & interscaleManager((atomicRegulator_->atc_transfer())->interscale_manager());
|
||||
PerAtomSparseMatrix<double> * atomShapeFunctions = interscaleManager.per_atom_sparse_matrix("InterpolantGhost");
|
||||
if (!atomShapeFunctions) {
|
||||
atomShapeFunctions = new PerAtomShapeFunction(atomicRegulator_->atc_transfer(),
|
||||
interscaleManager.per_atom_quantity("AtomicGhostCoarseGrainingPositions"),
|
||||
interscaleManager.per_atom_int_quantity("AtomGhostElement"),
|
||||
GHOST);
|
||||
interscaleManager.add_per_atom_sparse_matrix(atomShapeFunctions,"InterpolantGhost");
|
||||
}
|
||||
}
|
||||
//--------------------------------------------------------
|
||||
// find measurement atoms and nodes
|
||||
//--------------------------------------------------------
|
||||
void ChargeRegulatorMethodFeedback::set_influence(void)
|
||||
|
||||
Reference in New Issue
Block a user