/dports/science/bagel/bagel-1.2.2/src/util/input/ |
H A D | input.cc | 31 BOOST_CLASS_EXPORT_IMPLEMENT(bagel::PTree) 36 PTree::PTree(const string& input) { in PTree() function in PTree 75 PTree::PTree(stringstream& input) { in PTree() function in PTree 94 template <> void PTree::push_back<shared_ptr<PTree>>(const shared_ptr<PTree>& pt) { in push_back() 100 size_t PTree::size() const { in size() 105 void PTree::print() const { in print() 110 shared_ptr<const PTree> PTree::read_basis(string name) { in read_basis() 115 shared_ptr<const PTree> out; in read_basis() 140 shared_ptr<PTree> PTree::get_child(const string& key) const { in get_child() 146 return make_shared<PTree>(*out, key); in get_child() [all …]
|
H A D | input.h | 37 class PTree; variable 46 const std::shared_ptr<const PTree> operator*(); 69 const std::shared_ptr<const PTree> operator*(); 84 class PTree { 97 PTree() : data_() {} in PTree() function 99 PTree(const PTree& o) : data_(o.data_), key_(o.key_) { } in PTree() function 101 PTree(const std::string& input); 103 PTree(std::stringstream& input); 105 std::shared_ptr<PTree> get_child(const std::string& key) const; 157 template <> void PTree::push_back<std::shared_ptr<PTree>>(const std::shared_ptr<PTree>& pt); [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/fdbclient/ |
H A D | VersionedMap.h | 43 struct PTree : public ReferenceCounted<PTree<T>>, FastAllocated<PTree<T>>, NonCopyable { struct 67 PTree(PTree const&); 71 …static Reference<PTree<T>> update( Reference<PTree<T>> const& node, bool which, Reference<PTree<T>… in update() 144 const PTree<T> *n; in move() 164 const PTree<T> *n; in halfMove() 213 p = Reference<PTree<T>>(new PTree<T>(x, at)); in insert() 225 Reference<PTree<T>> firstNode(const Reference<PTree<T>>& p, Version at) { in firstNode() 232 Reference<PTree<T>> lastNode(const Reference<PTree<T>>& p, Version at) { in lastNode() 362 …Reference<PTree<T>> append(const Reference<PTree<T>>& left, const Reference<PTree<T>>& right, Vers… in append() 366 Reference<PTree<T>> r = Reference<PTree<T>>(new PTree<T>(lastNode(left, at)->data, at)); in append() [all …]
|
/dports/devel/asl/asl-current/ |
H A D | trees.h | 21 } TTree, *PTree; typedef 23 typedef void (*TTreeCallback)(PTree Node, void *pData); 25 typedef Boolean (*TTreeAdder)(PTree *PDest, PTree Neu, void *pData); 27 extern void IterTree(PTree Tree, TTreeCallback Callback, void *pData); 29 extern void GetTreeDepth(PTree Tree, LongInt *pMin, LongInt *pMax); 31 extern void DestroyTree(PTree *Tree, TTreeCallback Callback, void *pData); 33 extern void DumpTree(PTree Tree); 35 extern PTree SearchTree(PTree Tree, char *Name, LongInt Attribute); 37 extern Boolean EnterTree(PTree *PDest, PTree Neu, TTreeAdder Adder, void *pData);
|
H A D | trees.c | 41 void IterTree(PTree Tree, TTreeCallback Callback, void *pData) in IterTree() 52 static void TreeDepthIter(PTree Tree, LongInt Level, LongInt *pMin, LongInt *pMax) in TreeDepthIter() 67 void GetTreeDepth(PTree Tree, LongInt *pMin, LongInt *pMax) in GetTreeDepth() 73 void DestroyTree(PTree *Tree, TTreeCallback Callback, void *pData) in DestroyTree() 89 static void DumpTreeIter(PTree Tree, LongInt Level) in DumpTreeIter() 100 void DumpTree(PTree Tree) in DumpTree() 105 PTree SearchTree(PTree Tree, char *Name, LongInt Attribute) in SearchTree() 118 Boolean EnterTree(PTree *PDest, PTree Neu, TTreeAdder Adder, void *pData) in EnterTree() 120 PTree Hilf, p1, p2; in EnterTree()
|
H A D | asmmac.c | 283 static Boolean MacroAdder(PTree *PDest, PTree Neu, void *pData) in MacroAdder() 317 PTree TreeRoot; in AddMacro() 338 Lauf = (PMacroNode) SearchTree((PTree)MacroRoot, Part, Handle); in FoundMacro_FNode() 367 static void ClearMacroList_ClearNode(PTree Tree, void *pData) in ClearMacroList_ClearNode() 377 PTree TreeRoot; in ClearMacroList() 384 static void ResetMacroDefines_ResetNode(PTree Tree, void *pData) in ResetMacroDefines_ResetNode() 394 IterTree((PTree)MacroRoot, ResetMacroDefines_ResetNode, NULL); in ResetMacroDefines() 422 static void PrintMacroList_PNode(PTree Tree, void *pData) in PrintMacroList_PNode() 470 IterTree((PTree)MacroRoot, PrintMacroList_PNode, &Context); in PrintMacroList()
|
H A D | asmstructs.c | 260 static Boolean StructAdder(PTree *PDest, PTree Neu, void *pData) in StructAdder() 295 PTree TreeRoot; in AddStruct() 317 Lauf = (PStructNode) SearchTree((PTree)StructRoot, Name, Handle); in FoundStruct_FNode() 344 static void ResDef(PTree Tree, void *pData) in ResDef() 353 IterTree((PTree)StructRoot, ResDef, NULL); in ResetStructDefines() 361 static void PrintDef(PTree Tree, void *pData) in PrintDef() 415 IterTree((PTree)StructRoot, PrintDef, &Context); in PrintStructList() 422 static void ClearNode(PTree Tree, void *pData) in ClearNode() 432 PTree TreeRoot; in ClearStructList()
|
H A D | invaddress.c | 31 static Boolean InvSymbolAdder(PTree *ppDest, PTree pNew, void *pData) in InvSymbolAdder() 50 PTree pTreeRoot; in AddInvSymbol()
|
/dports/science/bagel/bagel-1.2.2/src/asd/dimer/ |
H A D | dimer.h | 46 std::shared_ptr<const PTree> input_; 85 void set_active(std::shared_ptr<const PTree> idata); 86 void reduce_active(std::shared_ptr<const PTree> idata); 130 auto input = std::make_shared<PTree>(*idata); in embedded_ci() 164 if (!fcidata) fcidata = std::make_shared<const PTree>(); in compute_cispace() 173 std::shared_ptr<PTree> input_copy = std::make_shared<PTree>(*fcidata); in compute_cispace() 229 auto get_restricted_data = [] (std::shared_ptr<const PTree> i) { in compute_rcispace() 256 if (!rasdata) rasdata = std::make_shared<const PTree>(); in compute_rcispace() 268 auto input_copy = std::make_shared<PTree>(*rasdata); in compute_rcispace() 274 auto parent = std::make_shared<PTree>(); in compute_rcispace() [all …]
|
/dports/science/bagel/bagel-1.2.2/src/asd/dmrg/ |
H A D | asd_dmrg.h | 35 std::shared_ptr<const PTree> input_; 66 …virtual std::shared_ptr<DMRG_Block1> compute_first_block(std::vector<std::shared_ptr<PTree>> input… 67 …virtual std::shared_ptr<DMRG_Block1> grow_block(std::vector<std::shared_ptr<PTree>> inputs, std::s… 68 …virtual std::shared_ptr<DMRG_Block1> decimate_block(std::shared_ptr<PTree> input, std::shared_ptr<… 71 ASD_DMRG(const std::shared_ptr<const PTree> input, std::shared_ptr<const Reference> ref); 84 std::vector<std::shared_ptr<PTree>> prepare_growing_input(const int site) const; 85 std::shared_ptr<PTree> prepare_sweeping_input(const int site) const;
|
H A D | rasd.h | 37 …std::shared_ptr<DMRG_Block1> compute_first_block(std::vector<std::shared_ptr<PTree>> input, std::s… 38 …std::shared_ptr<DMRG_Block1> grow_block(std::vector<std::shared_ptr<PTree>> input, std::shared_ptr… 39 …std::shared_ptr<DMRG_Block1> decimate_block(std::shared_ptr<PTree> input, std::shared_ptr<const Re… 42 RASD(const std::shared_ptr<const PTree> input, std::shared_ptr<const Reference> ref); 45 void read_restricted(std::shared_ptr<PTree> input, const int site) const;
|
H A D | asd_dmrg.cc | 140 shared_ptr<const PTree> localization_data = input_->get_child_optional("localization"); in project_active() 145 auto input_data = make_shared<PTree>(*localization_data); in project_active() 298 vector<shared_ptr<PTree>> ASD_DMRG::prepare_growing_input(const int site) const { in prepare_growing_input() 299 vector<shared_ptr<PTree>> out; in prepare_growing_input() 301 shared_ptr<PTree> base_input = input_->get_child_optional("ras"); in prepare_growing_input() 302 if (!base_input) base_input = make_shared<PTree>(); in prepare_growing_input() 318 auto space_input = make_shared<PTree>(**space_iter); in prepare_growing_input() 321 auto tmp = make_shared<PTree>(*base_input); in prepare_growing_input() 332 shared_ptr<PTree> ASD_DMRG::prepare_sweeping_input(const int site) const { in prepare_sweeping_input() 333 shared_ptr<PTree> out = input_->get_child_optional("ras"); in prepare_sweeping_input() [all …]
|
/dports/science/bagel/bagel-1.2.2/src/opt/ |
H A D | opt.h | 49 const std::shared_ptr<const PTree> idata_; 52 std::shared_ptr<const PTree> input_; 98 …_ptr<const Reference>,std::shared_ptr<GradFile>> get_grad(std::shared_ptr<PTree> cinput, std::shar… 99 …nst Reference>,std::shared_ptr<GradFile>> get_grad_energy(std::shared_ptr<PTree> cinput, std::shar… 100 …<const Reference>,std::shared_ptr<GradFile>> get_mecigrad(std::shared_ptr<PTree> cinput, std::shar… 101 …<const Reference>,std::shared_ptr<GradFile>> get_mdcigrad(std::shared_ptr<PTree> cinput, std::shar… 103 …std::tuple<std::shared_ptr<PTree>,std::shared_ptr<const Reference>,std::shared_ptr<const Geometry>… 121 …Opt(std::shared_ptr<const PTree> idat, std::shared_ptr<const PTree> inp, std::shared_ptr<const Geo…
|
/dports/science/bagel/bagel-1.2.2/src/wfn/ |
H A D | localization.h | 38 std::shared_ptr<const PTree> input_; 51 …OrbitalLocalization(std::shared_ptr<const PTree> input, std::shared_ptr<const Geometry> geom, std:… 53 OrbitalLocalization(std::shared_ptr<const PTree> input, std::shared_ptr<const Reference> ref); 70 …RegionLocalization(std::shared_ptr<const PTree> input, std::shared_ptr<const Geometry> geom, std::… 72 …RegionLocalization(std::shared_ptr<const PTree> input, std::shared_ptr<const Reference> ref, std::… 94 …PMLocalization(std::shared_ptr<const PTree> input, std::shared_ptr<const Geometry> geom, std::shar… 96 …PMLocalization(std::shared_ptr<const PTree> input, std::shared_ptr<const Reference> ref, std::vect…
|
H A D | geometry.cc | 102 shared_ptr<const PTree> bdata = PTree::read_basis(basisfile_); in BOOST_CLASS_EXPORT_IMPLEMENT() 103 shared_ptr<const PTree> elem = geominfo->get_child_optional("_basis"); in BOOST_CLASS_EXPORT_IMPLEMENT() 117 shared_ptr<const PTree> bdata = PTree::read_basis(auxfile_); in BOOST_CLASS_EXPORT_IMPLEMENT() 118 shared_ptr<const PTree> elem = geominfo->get_child_optional("_df_basis"); in BOOST_CLASS_EXPORT_IMPLEMENT() 270 shared_ptr<const PTree> bdata = PTree::read_basis(basisfile_); in Geometry() 271 shared_ptr<const PTree> elem = geominfo->get_child_optional("_basis"); in Geometry() 286 shared_ptr<const PTree> bdata = PTree::read_basis(auxfile_); in Geometry() 405 shared_ptr<const PTree> bdata = PTree::read_basis(auxfile_); in Geometry() 513 void Geometry::get_electric_field(shared_ptr<const PTree>& geominfo) { in get_electric_field() 531 shared_ptr<const PTree> bdata = PTree::read_basis(auxfile_); in periodic() [all …]
|
H A D | geometry.h | 53 void get_electric_field(std::shared_ptr<const PTree>& geominfo); 54 void set_london(std::shared_ptr<const PTree>& geominfo); 116 Geometry(std::shared_ptr<const PTree> idata); 117 Geometry(const std::vector<std::shared_ptr<const Atom>> atoms, std::shared_ptr<const PTree> o); 118 …Geometry(const Geometry& o, std::shared_ptr<const PTree> idata, const bool discard_prev_df = true); 119 …Geometry(const Geometry& o, std::shared_ptr<const Matrix> disp, std::shared_ptr<const PTree> geomi…
|
H A D | method.h | 37 std::shared_ptr<const PTree> idata_; 52 …Method(std::shared_ptr<const PTree> p, std::shared_ptr<const Geometry> g, std::shared_ptr<const Re… in Method() 59 std::shared_ptr<const PTree> idata() const { return idata_; } in idata()
|
/dports/science/bagel/bagel-1.2.2/src/molecule/ |
H A D | atom.cc | 36 Atom::Atom(shared_ptr<const PTree> inp, const bool spherical, const bool angstrom, const pair<strin… in Atom() 58 …shared_ptr<const PTree> basisset = (basis_ == defbas.first) ? defbas.second : PTree::read_basis(ba… in Atom() 75 …l, const string bas, const pair<string, shared_ptr<const PTree>> defbas, shared_ptr<const PTree> e… in Atom() 91 …shared_ptr<const PTree> basisset = (basis_ == defbas.first) ? defbas.second : PTree::read_basis(ba… in Atom() 98 void Atom::basis_init(shared_ptr<const PTree> basis) { in basis_init() 106 const shared_ptr<const PTree> prim = ibas->get_child("prim"); in basis_init() 112 const shared_ptr<const PTree> cont = ibas->get_child("cont"); in basis_init() 128 void Atom::basis_init_ECP(shared_ptr<const PTree> basis) { in basis_init_ECP() 141 const shared_ptr<const PTree> core = ibas->get_child("core"); in basis_init_ECP() 173 const shared_ptr<const PTree> soecp = ibas->get_child("so"); in basis_init_ECP() [all …]
|
H A D | atom.h | 69 void basis_init(std::shared_ptr<const PTree>); 70 void basis_init_ECP(std::shared_ptr<const PTree>); 85 …td::shared_ptr<const PTree> inp, const bool spherical, const bool angstrom, const std::pair<std::s… 86 …std::shared_ptr<const PTree> elem, const bool aux=false, const bool ecp=false, const bool default_… 89 …const std::pair<std::string, std::shared_ptr<const PTree>> json, std::shared_ptr<const PTree> elem… 99 …pherical, const std::string bas, const std::pair<std::string, std::shared_ptr<const PTree>> defbas, 100 std::shared_ptr<const PTree> elem);
|
/dports/science/bagel/bagel-1.2.2/src/grad/ |
H A D | gradinfo.h | 41 std::shared_ptr<PTree> moprint_info_; 44 …(true), nacmtype_(std::make_shared<NacmType>("full")), moprint_info_(std::make_shared<PTree>()) { } in GradInfo() 54 GradInfo(std::shared_ptr<const PTree> idat, const bool opt = false) { 62 if (!moprint_info_) moprint_info_ = std::make_shared<PTree>(); 71 std::shared_ptr<PTree> moprint_info() const { return moprint_info_; } in moprint_info()
|
H A D | finite.h | 37 std::shared_ptr<const PTree> idata_; 49 …FiniteGrad(std::shared_ptr<const PTree> idata, std::shared_ptr<const Geometry> geom, std::shared_p… in FiniteGrad() 63 std::shared_ptr<const PTree> idata_; 81 auto idata_out = std::make_shared<PTree>(*idata_); in init() 94 …FiniteNacm(std::shared_ptr<const PTree> idata, std::shared_ptr<const Geometry> geom, std::shared_p… in FiniteNacm()
|
/dports/security/klee/klee-2.2/lib/Core/ |
H A D | PTree.cpp | 34 PTree::PTree(ExecutionState *initialState) in PTree() function in PTree 39 void PTree::attach(PTreeNode *node, ExecutionState *leftState, ExecutionState *rightState) { in attach() 54 void PTree::remove(PTreeNode *n) { in remove() 94 void PTree::dump(llvm::raw_ostream &os) { in dump()
|
H A D | PTree.h | 41 class PTree { 47 explicit PTree(ExecutionState *initialState); 48 ~PTree() = default;
|
/dports/science/bagel/bagel-1.2.2/src/testimpl/ |
H A D | test_molden.cc | 37 auto idata = std::make_shared<const PTree>(ss.str()); in molden_out_energy() 68 auto idata = std::make_shared<const PTree>(ss.str()); in molden_out_energy() 69 std::shared_ptr<const PTree> keys = idata->get_child("bagel"); in molden_out_energy() 70 std::shared_ptr<const PTree> mol = *keys->begin(); in molden_out_energy()
|
/dports/science/bagel/bagel-1.2.2/src/multi/zcasscf/ |
H A D | zcasnoopt.h | 40 …ZCASNoopt_base(std::shared_ptr<const PTree> idat, std::shared_ptr<const Geometry> geom, std::share… in ZCASNoopt_base() 54 …ZCASNoopt(std::shared_ptr<const PTree> idat, std::shared_ptr<const Geometry> geom, std::shared_ptr… 65 …ZCASNoopt_London(std::shared_ptr<const PTree> idat, std::shared_ptr<const Geometry> geom, std::sha…
|