mirror of
https://github.com/triqs/dft_tools
synced 2024-09-12 05:38:31 +02:00
Run port_to_triqs3 script
This commit is contained in:
parent
157d5d2549
commit
4f183b9bb2
@ -19,7 +19,7 @@ namespace app4triqs {
|
||||
void h5_write(h5::group grp, std::string subgroup_name, toto const &m) {
|
||||
grp = subgroup_name.empty() ? grp : grp.create_group(subgroup_name);
|
||||
h5_write(grp, "i", m.i);
|
||||
h5_write_attribute(grp, "TRIQS_HDF5_data_scheme", toto::hdf5_format());
|
||||
h5_write_attribute(grp, "Format", toto::hdf5_format());
|
||||
}
|
||||
|
||||
void h5_read(h5::group grp, std::string subgroup_name, toto &m) {
|
||||
|
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
#include <triqs/gfs.hpp>
|
||||
#include <triqs/mesh.hpp>
|
||||
#include <h5/h5.hpp>
|
||||
|
||||
namespace app4triqs {
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Generated automatically using the command :
|
||||
# c++2py ../../c++/app4triqs/app4triqs.hpp -p --members_read_only -N app4triqs -a app4triqs -m app4triqs_module -o app4triqs_module --moduledoc="The app4triqs python module" -C pytriqs --cxxflags="-std=c++17" --target_file_only
|
||||
# c++2py ../../c++/app4triqs/app4triqs.hpp -p --members_read_only -N app4triqs -a app4triqs -m app4triqs_module -o app4triqs_module --moduledoc="The app4triqs python module" -C triqs --cxxflags="-std=c++17" --target_file_only
|
||||
from cpp2py.wrap_generator import *
|
||||
|
||||
# The module
|
||||
|
@ -3,7 +3,7 @@
|
||||
import unittest
|
||||
|
||||
from app4triqs import Toto, chain
|
||||
from triqs.archive import *
|
||||
from h5 import *
|
||||
from triqs.utility import mpi
|
||||
|
||||
class test_toto(unittest.TestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user