Skip to content

Commit fd76906

Browse files
committed
remove unwanted changes
1 parent 141364f commit fd76906

File tree

2 files changed

+0
-56
lines changed

2 files changed

+0
-56
lines changed

src/xc_integrator/replicated/host/reference_replicated_xc_host_integrator_exc_vxc_neo.hpp

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -605,61 +605,7 @@ void ReferenceReplicatedXCHostIntegrator<ValueType>::
605605
}
606606
}
607607

608-
// Create File
609-
//std::remove("GAUXC.BIN");
610-
auto outfname = "NEOGAUXC.BIN";
611-
{ HighFive::File( outfname, HighFive::File::Truncate ); }
612-
// Write molecule
613-
write_hdf5_record( mol, outfname, "/MOLECULE" );
614-
615-
// Electronic Part
616-
write_hdf5_record( basis, outfname, "/BASIS" );
617-
618-
HighFive::File file( outfname, HighFive::File::ReadWrite );
619-
HighFive::DataSpace mat_space( basis.nbf(), basis.nbf() );
620-
HighFive::DataSpace sca_space( 1 );
621-
622-
std::string den = is_rks ? "/DENSITY" : "/DENSITY_SCALAR";
623-
std::string den2 = "/DENSITY_Z";
624-
std::string vxc = is_rks ? "/VXC" : "/VXC_SCALAR";
625-
std::string vxc2 = "VXC_Z";
626-
627-
auto dset = file.createDataSet<double>( den, mat_space );
628-
dset.write_raw( elec_Ps );
629-
dset = file.createDataSet<double>( vxc, mat_space );
630-
dset.write_raw( elec_VXCs );
631-
if(not is_rks) {
632-
dset = file.createDataSet<double>( den2, mat_space );
633-
dset.write_raw( elec_Pz );
634-
dset = file.createDataSet<double>( vxc2, mat_space );
635-
dset.write_raw( elec_VXCz );
636-
}
637-
638-
dset = file.createDataSet<double>( "/EXC", sca_space );
639-
dset.write_raw( elec_EXC );
640-
641-
642-
643-
// Protonic Part
644-
HighFive::DataSpace protonic_mat_space( protonic_basis.nbf(), protonic_basis.nbf() );
645-
write_hdf5_record( protonic_basis, outfname, "/PROTONIC_BASIS" );
646-
647-
den = "/PROTONIC_DENSITY_SCALAR";
648-
den2 = "/PROTONIC_DENSITY_Z";
649-
vxc = "/PROTONIC_VXC_SCALAR";
650-
vxc2 = "/PROTONIC_VXC_Z";
651-
dset = file.createDataSet<double>( den, protonic_mat_space );
652-
dset.write_raw( prot_Ps );
653-
dset = file.createDataSet<double>( vxc, protonic_mat_space );
654-
dset.write_raw( prot_VXCs );
655-
656-
dset = file.createDataSet<double>( den2, protonic_mat_space );
657-
dset.write_raw( prot_Pz );
658-
dset = file.createDataSet<double>( vxc2, protonic_mat_space );
659-
dset.write_raw( prot_VXCz );
660608

661-
dset = file.createDataSet<double>( "/PROTONIC_EXC", sca_space );
662-
dset.write_raw( prot_EXC );
663609

664610

665611

tests/xc_integrator.cxx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ void test_xc_integrator( ExecutionSpace ex, const RuntimeEnvironment& rt,
172172

173173
for( auto& sh : basis )
174174
sh.set_shell_tolerance( std::numeric_limits<double>::epsilon() );
175-
176-
std::cout << "std::numeric_limits<double>::epsilon(): " << std::numeric_limits<double>::epsilon() << std::endl;
177175

178176
auto mg = MolGridFactory::create_default_molgrid(mol, pruning_scheme,
179177
BatchSize(512), RadialQuad::MuraKnowles, AtomicGridSizeDefault::UltraFineGrid);

0 commit comments

Comments
 (0)