repo string | commit string | message string | diff string |
|---|---|---|---|
msparks/arduino-ds1302 | f41c40c14afcf47d53d77606481ac96595a71623 | Remove individual component read and write support for safety. | diff --git a/DS1302.cpp b/DS1302.cpp
index fdaf025..5a2e8d5 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,236 +1,177 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
namespace {
// Returns the decoded decimal value from a binary-coded dec... |
msparks/arduino-ds1302 | 856e3cb1f82f8ea71582e5b3d6f1594347487a39 | Implement clock/calendar burst read and write. | diff --git a/DS1302.cpp b/DS1302.cpp
index e1c4758..fdaf025 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,208 +1,236 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
namespace {
// Returns the decoded decimal value from a binary-coded dec... |
msparks/arduino-ds1302 | 34eae14f43d7c5d5b3a28459a023f173899ba0e6 | Refactor: remove registerBcdToDec and use static helper functions. | diff --git a/DS1302.cpp b/DS1302.cpp
index 12c7bad..e1c4758 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,204 +1,208 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
+namespace {
+
+// Returns the decoded decimal value from a binary-coded dec... |
msparks/arduino-ds1302 | 56c90a6f86c6ca615e1f5a38ab8c2012275660b8 | Mention crystal frequency. | diff --git a/examples/set_clock/README.md b/examples/set_clock/README.md
index 21b05f6..864b366 100644
--- a/examples/set_clock/README.md
+++ b/examples/set_clock/README.md
@@ -1,6 +1,9 @@
# DS1302 library examples
Try the `set_clock.ino` sketch to understand how to use the DS1302 library. The
hardware configurati... |
msparks/arduino-ds1302 | 5af7cab97083215b8232abcb8f49f5615cfafe63 | Linkify the set_clock example. | diff --git a/README.md b/README.md
index 1e80b78..3777071 100644
--- a/README.md
+++ b/README.md
@@ -1,19 +1,19 @@
# DS1302 RTC library for Arduino
This project is a library for the [Arduino](http://arduino.cc) platform. It
provides a simple interface to the
[Maxim DS1302](http://www.maxim-ic.com/quick_view2.cfm/... |
msparks/arduino-ds1302 | c8d3756bbb4aecdd21415047e76fd8833e3919dd | Add breadboard configuration for sketch. | diff --git a/examples/set_clock/README.md b/examples/set_clock/README.md
new file mode 100644
index 0000000..21b05f6
--- /dev/null
+++ b/examples/set_clock/README.md
@@ -0,0 +1,6 @@
+# DS1302 library examples
+
+Try the `set_clock.ino` sketch to understand how to use the DS1302 library. The
+hardware configuration for ... |
msparks/arduino-ds1302 | b9137f246c3bbe1844a112791cc47590bd8f4d77 | Whitespace. | diff --git a/examples/set_clock/set_clock.pde b/examples/set_clock/set_clock.pde
index 3b28751..cf7bfad 100644
--- a/examples/set_clock/set_clock.pde
+++ b/examples/set_clock/set_clock.pde
@@ -1,78 +1,78 @@
// Example sketch for interfacing with the DS1302 timekeeping chip.
//
// Copyright (c) 2009, Matt Sparks
// ... |
msparks/arduino-ds1302 | 5f1693015756b249b29d8ab53f4c683bdabb3208 | Remove default constructor for Time. | diff --git a/DS1302.cpp b/DS1302.cpp
index ca60072..12c7bad 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,214 +1,204 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
Time::Time(const uint16_t yr, const uint8_t mon, const uint8_t date,
... |
msparks/arduino-ds1302 | 3dcaaa269b0c58756f4463067a1a46326034254f | Registers as enum values. | diff --git a/DS1302.cpp b/DS1302.cpp
index 19055f9..ca60072 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,214 +1,214 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
Time::Time(const uint16_t yr, const uint8_t mon, const uint8_t date,
... |
msparks/arduino-ds1302 | 0c02e2f87f9357d6b5172d915a373c83836db604 | Change function names and variable names to match Google C++ style. | diff --git a/DS1302.cpp b/DS1302.cpp
index 0760a88..19055f9 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,214 +1,214 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
Time::Time(const uint16_t yr, const uint8_t mon, const uint8_t date,
... |
msparks/arduino-ds1302 | 1c12b803ef6849ce6abc8a88de1435b401f786ed | C++-ify. | diff --git a/examples/set_clock/set_clock.pde b/examples/set_clock/set_clock.pde
index 510b2e8..bef7f03 100644
--- a/examples/set_clock/set_clock.pde
+++ b/examples/set_clock/set_clock.pde
@@ -1,88 +1,74 @@
// Example sketch for interfacing with the DS1302 timekeeping chip.
//
// Copyright (c) 2009, Matt Sparks
// ... |
msparks/arduino-ds1302 | 2e1eb2c26164abba2fa1b1178786c43e5c10a624 | Add Time::Day enum. | diff --git a/DS1302.cpp b/DS1302.cpp
index 86217c9..0760a88 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,214 +1,214 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
Time::Time(const uint16_t yr, const uint8_t mon, const uint8_t date,
... |
msparks/arduino-ds1302 | d198cbad28f7bd74248ed5a5f85143aebb8146c9 | Whitespace. | diff --git a/DS1302.cpp b/DS1302.cpp
index abf9bf6..86217c9 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,215 +1,214 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
-
Time::Time(const uint16_t yr, const uint8_t mon, const uint8_t date,
... |
msparks/arduino-ds1302 | f82a94198e1c3074927eff16b4d715b802e1b2aa | Const. | diff --git a/DS1302.cpp b/DS1302.cpp
index cfa7284..abf9bf6 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,213 +1,215 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
-Time::Time(uint16_t yr, uint8_t mon, uint8_t date,
- uint8_t hr... |
msparks/arduino-ds1302 | 7850616d1e49424fb4ec1952d572a8481cdd53b9 | Comment style. | diff --git a/DS1302.cpp b/DS1302.cpp
index 2d6a86d..cfa7284 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,213 +1,213 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
Time::Time(uint16_t yr, uint8_t mon, uint8_t date,
uint8_t hr... |
msparks/arduino-ds1302 | 2b934bfd900c406819ad9d46a9aba15ea3eff8da | Condense code. | diff --git a/DS1302.cpp b/DS1302.cpp
index ee593c3..2d6a86d 100644
--- a/DS1302.cpp
+++ b/DS1302.cpp
@@ -1,277 +1,213 @@
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "DS1302.h"
-/*** Time definitions ***/
-
Time::Time(uint16_t yr, uint8_t mon, uint8_... |
msparks/arduino-ds1302 | d7bdedb12324236319f48be4f27ba62106959a64 | Double-slash comments in header. | diff --git a/DS1302.h b/DS1302.h
index 4e6774d..dd0f026 100644
--- a/DS1302.h
+++ b/DS1302.h
@@ -1,231 +1,167 @@
-/*
-Copyright (c) 2009, Matt Sparks
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
... |
msparks/arduino-ds1302 | 108f2145a71d1ddf2002a20189f51f98fda9cb40 | Static const int for pins. | diff --git a/examples/set_clock/set_clock.pde b/examples/set_clock/set_clock.pde
index cf4ee06..b1df4f1 100644
--- a/examples/set_clock/set_clock.pde
+++ b/examples/set_clock/set_clock.pde
@@ -1,84 +1,88 @@
// Example sketch for interfacing with the DS1302 timekeeping chip.
//
// Copyright (c) 2009, Matt Sparks
// ... |
msparks/arduino-ds1302 | 2ed858c6013f8b42531c75af75aaaf4e14bc71db | Curlies on the definition lines. | diff --git a/examples/set_clock/set_clock.pde b/examples/set_clock/set_clock.pde
index 96bd8aa..cf4ee06 100644
--- a/examples/set_clock/set_clock.pde
+++ b/examples/set_clock/set_clock.pde
@@ -1,87 +1,84 @@
// Example sketch for interfacing with the DS1302 timekeeping chip.
//
// Copyright (c) 2009, Matt Sparks
// ... |
msparks/arduino-ds1302 | 47a237875e80e33513b1870435b14c5c3930d6c8 | Convert to double-slash comments. | diff --git a/examples/set_clock/set_clock.pde b/examples/set_clock/set_clock.pde
index e0656bb..96bd8aa 100644
--- a/examples/set_clock/set_clock.pde
+++ b/examples/set_clock/set_clock.pde
@@ -1,92 +1,87 @@
-/*
-Example sketch for interfacing with the DS1302 timekeeping chip.
-
-Copyright (c) 2009, Matt Sparks
-All rig... |
msparks/arduino-ds1302 | 12b2cf1be75f1ee1f1432174aa4e52b4fcf9b445 | Change time in example to right now. | diff --git a/examples/set_clock/set_clock.pde b/examples/set_clock/set_clock.pde
index 51b68e9..e0656bb 100644
--- a/examples/set_clock/set_clock.pde
+++ b/examples/set_clock/set_clock.pde
@@ -1,92 +1,92 @@
/*
Example sketch for interfacing with the DS1302 timekeeping chip.
Copyright (c) 2009, Matt Sparks
All rig... |
msparks/arduino-ds1302 | ad894ea3153968357df98f28f884656081dfdeb4 | Adding README.md. | diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1e80b78
--- /dev/null
+++ b/README.md
@@ -0,0 +1,19 @@
+# DS1302 RTC library for Arduino
+
+This project is a library for the [Arduino](http://arduino.cc) platform. It
+provides a simple interface to the
+[Maxim DS1302](http://www.maxim-ic.com/quick... |
msparks/arduino-ds1302 | 24338e100dd5888fe8cb0b44d3505e8169b90b21 | Removing unnecessary includes from header file. | diff --git a/DS1302.h b/DS1302.h
index c815755..4e6774d 100644
--- a/DS1302.h
+++ b/DS1302.h
@@ -1,237 +1,231 @@
/*
Copyright (c) 2009, Matt Sparks
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
... |
msparks/arduino-ds1302 | 5e4d4f7cd416f0a0b62ec0a4317928b7b17abbdd | Periods in comments. | diff --git a/DS1302.h b/DS1302.h
index d4e8e77..c815755 100644
--- a/DS1302.h
+++ b/DS1302.h
@@ -1,237 +1,237 @@
/*
Copyright (c) 2009, Matt Sparks
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
... |
msparks/arduino-ds1302 | 400b81d883759a47e3f67bca8de2632626471bf2 | Rename header guard. | diff --git a/DS1302.h b/DS1302.h
index 6d6e10b..d4e8e77 100644
--- a/DS1302.h
+++ b/DS1302.h
@@ -1,237 +1,237 @@
/*
Copyright (c) 2009, Matt Sparks
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
... |
msparks/arduino-ds1302 | ef0b1f974fba686cdef0b8ea43be55ebd920bc71 | Move instance variables below methods in Time class declaration. | diff --git a/DS1302.h b/DS1302.h
index 9a62b88..6d6e10b 100644
--- a/DS1302.h
+++ b/DS1302.h
@@ -1,237 +1,237 @@
/*
Copyright (c) 2009, Matt Sparks
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
... |
MatzeB/fluffy | 81970c11a80cae983425be780d82a6ca3b4109a1 | adapt to latest makereport | diff --git a/test/reportplugin.py b/test/reportplugin.py
index 83dfb9e..d750e14 100644
--- a/test/reportplugin.py
+++ b/test/reportplugin.py
@@ -1,58 +1,65 @@
-# New testclass
-class TestFluffy(Test):
- def __init__(self, filename, environment):
- Test.__init__(self, filename, environment)
- def _init_flags(self):
- ... |
MatzeB/fluffy | e8eb4bcda618a59058cde92488c68bd93cdd1543 | remove forced -m32 from Makefile | diff --git a/Makefile b/Makefile
index 70d712f..224c530 100644
--- a/Makefile
+++ b/Makefile
@@ -1,72 +1,72 @@
-include config.mak
GOAL = fluffy
FIRM_CFLAGS ?= `pkg-config --cflags libfirm`
FIRM_LIBS ?= `pkg-config --libs libfirm`
CPPFLAGS = -I.
CPPFLAGS += $(FIRM_CFLAGS) -DFIRM_BACKEND
CFLAGS += -Wall -... |
MatzeB/fluffy | 6f168ba4fefa9b7aad921642d7bc9e671518e1ce | adapt to latest libfirm by copying driver dir from cparser | diff --git a/driver/firm_machine.c b/driver/firm_machine.c
index 7e75104..723b50f 100644
--- a/driver/firm_machine.c
+++ b/driver/firm_machine.c
@@ -1,172 +1,178 @@
+/*
+ * This file is part of cparser.
+ * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
+ */
#include <config.h>
#include <assert.h>
#include <... |
MatzeB/fluffy | fec749413d8c29a81d5b31a40f62f23dc33e54a0 | fix whitespace errors | diff --git a/ast.c b/ast.c
index cb1c382..907701a 100644
--- a/ast.c
+++ b/ast.c
@@ -1,758 +1,758 @@
#include <config.h>
#include "ast_t.h"
#include "type_t.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "adt/error.h"
struct obstack ast_obstack;
static FILE *out;
static int ... |
MatzeB/fluffy | 1b0022cb6c22f2e6c946ecfcbb1dd108d2fc656a | add missing file | diff --git a/unicode.h b/unicode.h
new file mode 100644
index 0000000..18b19d5
--- /dev/null
+++ b/unicode.h
@@ -0,0 +1,67 @@
+#ifndef UNICODE_H
+#define UNICODE_H
+
+#include <assert.h>
+#include "adt/obst.h"
+
+typedef unsigned int utf32;
+#define UTF32_PRINTF_FORMAT "%u"
+
+/**
+ * "parse" an utf8 character from a s... |
MatzeB/fluffy | 6e106a066fcc97a7b114e08012ea1dbced771661 | use new input API from cparser | diff --git a/Makefile b/Makefile
index 512ee56..70d712f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,71 +1,72 @@
-include config.mak
GOAL = fluffy
FIRM_CFLAGS ?= `pkg-config --cflags libfirm`
FIRM_LIBS ?= `pkg-config --libs libfirm`
CPPFLAGS = -I.
CPPFLAGS += $(FIRM_CFLAGS) -DFIRM_BACKEND
-CFLAGS += -Wall -... |
MatzeB/fluffy | 02e107b0daffadb746797af6858e2eccf4897dc7 | adapt tests to latest firm testsuite | diff --git a/test/expected_output/array.fluffy.output b/test/array.fluffy.ref
similarity index 100%
rename from test/expected_output/array.fluffy.output
rename to test/array.fluffy.ref
diff --git a/test/expected_output/bools.fluffy.output b/test/bools.fluffy.ref
similarity index 100%
rename from test/expected_output/bo... |
MatzeB/fluffy | 7b3f9281670854cb93255b6b5ff0b8e5c2ef66c2 | adapt to latest libfirm | diff --git a/Makefile b/Makefile
index 3be9022..512ee56 100644
--- a/Makefile
+++ b/Makefile
@@ -1,72 +1,71 @@
-include config.mak
GOAL = fluffy
FIRM_CFLAGS ?= `pkg-config --cflags libfirm`
FIRM_LIBS ?= `pkg-config --libs libfirm`
CPPFLAGS = -I.
CPPFLAGS += $(FIRM_CFLAGS) -DFIRM_BACKEND
CFLAGS += -Wall -... |
MatzeB/fluffy | ff9b4ae888eb78b2e9b3d20411d89262eb5ecbf4 | mac Makefile stuff | diff --git a/Makefile b/Makefile
index 9c20e8b..3be9022 100644
--- a/Makefile
+++ b/Makefile
@@ -1,72 +1,72 @@
-include config.mak
GOAL = fluffy
FIRM_CFLAGS ?= `pkg-config --cflags libfirm`
FIRM_LIBS ?= `pkg-config --libs libfirm`
CPPFLAGS = -I.
CPPFLAGS += $(FIRM_CFLAGS) -DFIRM_BACKEND
CFLAGS += -Wall -... |
MatzeB/fluffy | e76430e0759d06d5d6ba1385af69da8f039d624e | adapt to latest libfirm | diff --git a/ast2firm.c b/ast2firm.c
index c85399a..249bbfd 100644
--- a/ast2firm.c
+++ b/ast2firm.c
@@ -1,1837 +1,1859 @@
#include <config.h>
#include <assert.h>
#include <string.h>
#include <libfirm/firm.h>
#include "ast_t.h"
#include "type_t.h"
#include "semantic_t.h"
#include "mangle.h"
#include "adt... |
MatzeB/fluffy | 404bdd77b9814a40b48ff45d4f3ddf111d61ebc3 | redo paramter handling | diff --git a/ast2firm.c b/ast2firm.c
index 784c916..c85399a 100644
--- a/ast2firm.c
+++ b/ast2firm.c
@@ -807,1026 +807,1031 @@ static ir_node *array_access_expression_addr(const array_access_expression_t* ac
ir_node *add = new_d_Add(dbgi, base_addr, mul, mode_P);
return add;
}
static ir_entity *create_vari... |
MatzeB/fluffy | 32327c526f483fa59c1e5973ccf9d3a331542b81 | reformating/simplification | diff --git a/ast2firm.c b/ast2firm.c
index 7eb6172..784c916 100644
--- a/ast2firm.c
+++ b/ast2firm.c
@@ -1,1846 +1,1832 @@
#include <config.h>
#include <assert.h>
#include <string.h>
#include <libfirm/firm.h>
#include "ast_t.h"
#include "type_t.h"
#include "semantic_t.h"
#include "mangle.h"
#include "adt... |
MatzeB/fluffy | e71b3389423150deb40b6d4a5a665e6c5405a0ab | avoid endless loop for compound type parsing errors | diff --git a/parser.c b/parser.c
index f730f44..800e32f 100644
--- a/parser.c
+++ b/parser.c
@@ -34,1024 +34,1026 @@ static context_t *current_context;
static int error = 0;
token_t token;
module_t *modules;
static inline void *allocate_ast_zero(size_t size)
{
void *res = allocate_ast(size);
... |
MatzeB/fluffy | 6ea4842e77ad733995b1f352874aeda828948e4d | remove unused entity definition | diff --git a/ast_t.h b/ast_t.h
index a42e87e..a762c35 100644
--- a/ast_t.h
+++ b/ast_t.h
@@ -1,516 +1,508 @@
#ifndef AST_T_H
#define AST_T_H
#include <stdbool.h>
#include "ast.h"
#include "ast2firm.h"
#include "symbol.h"
#include "semantic.h"
#include "lexer.h"
#include "type.h"
#include "adt/obst.h"
#incl... |
MatzeB/fluffy | 058d7ded720c2c3d31e9ecc22ebd66c35aed78bd | rename method to function | diff --git a/ast.c b/ast.c
index 922d0b8..a4f2f8d 100644
--- a/ast.c
+++ b/ast.c
@@ -1,766 +1,767 @@
#include <config.h>
#include "ast_t.h"
#include "type_t.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "adt/error.h"
struct obstack ast_obstack;
static FILE *out;
static int ... |
MatzeB/fluffy | 35a979817093ec09ac360e3e08d5a519da631eef | docu cleanup, moving around | diff --git a/DESIGN b/DESIGN
deleted file mode 100644
index b6e9f62..0000000
--- a/DESIGN
+++ /dev/null
@@ -1,31 +0,0 @@
-- Input: utf-8
-- python like indentation to form blocks, but force user to either use spaces or tabs to indent
-
-- Only 1 hierarchic namespace (so 1 name specifies alway the same thing,
- indepen... |
MatzeB/fluffy | 0398a10d671bfe79bf46fa4f8299800c7d7eeb22 | refactoring: transform type_t to a union | diff --git a/TODO b/TODO
index 4edfb98..7cad6bc 100644
--- a/TODO
+++ b/TODO
@@ -1,26 +1,25 @@
This does not describe the goals and visions but short term things that should
not be forgotten.
- semantic should check that structs don't contain themselfes
- having the same entry twice in a struct is not detected
-... |
MatzeB/fluffy | 3b0ed2750f4aa31ea3ca675684eb9b8654ad032c | avoid a few NULL pointer crashes | diff --git a/TODO b/TODO
index 961a54a..4edfb98 100644
--- a/TODO
+++ b/TODO
@@ -1,28 +1,26 @@
This does not describe the goals and visions but short term things that should
not be forgotten.
- semantic should check that structs don't contain themselfes
- having the same entry twice in a struct is not detected
-... |
MatzeB/fluffy | 2208f9e6ebb5a51960882c8f45f07bdf55605fab | transform statement_t to a union | diff --git a/ast.c b/ast.c
index c4ee421..99eed0b 100644
--- a/ast.c
+++ b/ast.c
@@ -1,770 +1,766 @@
#include <config.h>
#include "ast_t.h"
#include "type_t.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "adt/error.h"
struct obstack ast_obstack;
static FILE *out;
static int ... |
MatzeB/fluffy | 5932d87e7da487a889ae26bb3c2e4fd499cad029 | plugin update (not finished yet) | diff --git a/TODO b/TODO
index 0665c7d..961a54a 100644
--- a/TODO
+++ b/TODO
@@ -1,27 +1,28 @@
This does not describe the goals and visions but short term things that should
not be forgotten.
- semantic should check that structs don't contain themselfes
- having the same entry twice in a struct is not detected
-... |
MatzeB/fluffy | 7496707e072ee0c3d48edfd56bcb411ad5f10e56 | fix crash in error message | diff --git a/semantic.c b/semantic.c
index 5c1d13b..60164f0 100644
--- a/semantic.c
+++ b/semantic.c
@@ -1748,869 +1748,869 @@ static void check_array_access_expression(array_access_expression_t *access)
result_type = pointer_type->points_to;
} else {
assert(type->type == TYPE_ARRAY);
array_... |
MatzeB/fluffy | 135a23fd1c4af829646a919b5976ee979eabe982 | make meaning of _LAST enums consistent | diff --git a/ast.c b/ast.c
index d7bcdbd..c4ee421 100644
--- a/ast.c
+++ b/ast.c
@@ -1,773 +1,770 @@
#include <config.h>
#include "ast_t.h"
#include "type_t.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "adt/error.h"
struct obstack ast_obstack;
static FILE *out;
static int ... |
MatzeB/fluffy | 0d6098fb6b8dfbe5411f939020000dfdee06bd49 | fix warnings | diff --git a/test/error1.fluffy b/test/error1.fluffy
index 4b6fe19..a6d5d1d 100644
--- a/test/error1.fluffy
+++ b/test/error1.fluffy
@@ -1,10 +1,11 @@
// bool as compound element fails
struct Foo:
a : int
b : bool
var k : Foo*
func main() : int:
+ cast<void> k
return 0
export main
diff --git a/test/evil.... |
MatzeB/fluffy | 93dce96aa3ca1ac12ed6d5788aaf566b188e1090 | adjustments for new modulesystem | diff --git a/stdlib/construct.fluffy b/stdlib/construct.fluffy
index a6631ad..cecdcf4 100644
--- a/stdlib/construct.fluffy
+++ b/stdlib/construct.fluffy
@@ -1,15 +1,17 @@
+module "fluffy.org/stdlib"
+
concept Construct<T>:
func construct(object : T*)
func destruct(object : T*)
func new<T : Construct>() : T*:
... |
MatzeB/fluffy | 0d2552ac05b0b8d9798614192e6889d33f4e8558 | rewrote/extended support for modules | diff --git a/DESIGN b/DESIGN
index e0c1862..b6e9f62 100644
--- a/DESIGN
+++ b/DESIGN
@@ -1,6 +1,31 @@
- Input: utf-8
- python like indentation to form blocks, but force user to either use spaces or tabs to indent
- Only 1 hierarchic namespace (so 1 name specifies alway the same thing,
independent of the context... |
MatzeB/fluffy | aff4a8edb5a9a666d9015e681cffac14fb08518a | cleanup, remove now unnecessary stuff, use bool | diff --git a/main.c b/main.c
index 745c96a..0c599ad 100644
--- a/main.c
+++ b/main.c
@@ -1,377 +1,354 @@
#include <config.h>
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdbool.h>
#include <sys/time.h>
#include <libfirm/firm.h>
#include <libf... |
MatzeB/fluffy | aa9f2c7e8c9ed8e9745789e2ae7c14c3fe6021e2 | started working on constant expressions | diff --git a/TODO b/TODO
index 384c357..0665c7d 100644
--- a/TODO
+++ b/TODO
@@ -1,30 +1,27 @@
-
-
This does not describe the goals and visions but short term things that should
-not be forgotten and are not done yet because I was lazy or did not decide
-about the right way to do it yet.
+not be forgotten.
- semant... |
MatzeB/fluffy | 7df892516e38164540d984850def55db320e74fa | add test for bug with bools not possible in structs | diff --git a/test/error1.fluffy b/test/error1.fluffy
new file mode 100644
index 0000000..4b6fe19
--- /dev/null
+++ b/test/error1.fluffy
@@ -0,0 +1,10 @@
+// bool as compound element fails
+struct Foo:
+ a : int
+ b : bool
+
+var k : Foo*
+
+func main() : int:
+ return 0
+export main
|
MatzeB/fluffy | 114a9858daa1e3d8ef4b99750cd023b0ae48b9f3 | TODO update | diff --git a/TODO b/TODO
index 673fae0..883fc45 100644
--- a/TODO
+++ b/TODO
@@ -1,36 +1,30 @@
This does not describe the goals and visions but short term things that should
not be forgotten and are not done yet because I was lazy or did not decide
about the right way to do it yet.
- semantic should check tha... |
MatzeB/fluffy | d2d752e1d11af88d508be8e19e9a4e3cfa41646c | fixed subtraction of pointers | diff --git a/ast_t.h b/ast_t.h
index 8e4dbe6..85cce87 100644
--- a/ast_t.h
+++ b/ast_t.h
@@ -1,473 +1,474 @@
#ifndef AST_T_H
#define AST_T_H
#include <stdbool.h>
#include "ast.h"
#include "ast2firm.h"
#include "symbol.h"
#include "semantic.h"
#include "lexer.h"
#include "type.h"
#include "adt/obst.h"
#incl... |
MatzeB/fluffy | 74d19077797416d294431e8bb5dc31bf9c065f6e | move unary and binary expression types to toplevel expression_type enum | diff --git a/ast.c b/ast.c
index ae73457..6a3c10f 100644
--- a/ast.c
+++ b/ast.c
@@ -1,683 +1,684 @@
#include <config.h>
#include "ast_t.h"
#include "type_t.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "adt/error.h"
struct obstack ast_obstack;
namespace_t *namespaces;
s... |
MatzeB/fluffy | 0ec7cc53ae8f5d3f0081183a972fe3d45cb8e429 | fix enum plugin | diff --git a/plugins/api.fluffy b/plugins/api.fluffy
index 404fea3..1af7c48 100644
--- a/plugins/api.fluffy
+++ b/plugins/api.fluffy
@@ -1,381 +1,380 @@
struct SourcePosition:
input_name : byte*
linenr : unsigned int
struct Symbol:
string : byte*
id : unsigned int
thing : EnvironmentEntry*
labe... |
MatzeB/fluffy | 462440708a7fd164516137d610954554a1bed616 | change style of for( and switch( to cparser/firm for ( and switch ( | diff --git a/ast.c b/ast.c
index 2301941..3b2fdc1 100644
--- a/ast.c
+++ b/ast.c
@@ -1,683 +1,683 @@
#include <config.h>
#include "ast_t.h"
#include "type_t.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "adt/error.h"
struct obstack ast_obstack;
namespace_t *namespaces;
s... |
MatzeB/fluffy | dd56244b9f42ce9d45996475e5db81f28a6d34f9 | allow casting of pointer to array to pointer of the arrays element type | diff --git a/semantic.c b/semantic.c
index fee8edf..f839447 100644
--- a/semantic.c
+++ b/semantic.c
@@ -78,1027 +78,1036 @@ void error_at(const source_position_t position,
*/
static inline
void environment_push(declaration_t *declaration, const void *context)
{
environment_entry_t *entry
= obstack_alloc(&sy... |
MatzeB/fluffy | 45f7980b71d5264a728f119b2a8e8bbb3b4e22bd | some shouldfail tests | diff --git a/test/quicktest.sh b/test/quicktest.sh
index 949651b..b540339 100755
--- a/test/quicktest.sh
+++ b/test/quicktest.sh
@@ -1,14 +1,20 @@
#!/bin/bash
TEMPOUT="/tmp/fluffytest.txt"
for i in *.fluffy; do
echo -n "$i..."
../fluffy $i
./a.out >& "$TEMPOUT" || echo "(return status != 0)"
if ! diff "$TE... |
MatzeB/fluffy | d6f515e9e7e2be194f6576dee63449898f3a20a4 | implement sizeof(expression) | diff --git a/ast2firm.c b/ast2firm.c
index b03ef09..6d29478 100644
--- a/ast2firm.c
+++ b/ast2firm.c
@@ -1093,861 +1093,862 @@ static long binexpr_type_to_cmp_pn(binary_expression_type_t type)
}
}
static ir_node *create_lazy_op(const binary_expression_t *binary_expression)
{
int is_or = binary_expression->type... |
MatzeB/fluffy | 7f25fc8cbd6393360e83f7f23ee802420ef0ff56 | fix plugins | diff --git a/ast.c b/ast.c
index 7709867..b2203f2 100644
--- a/ast.c
+++ b/ast.c
@@ -67,615 +67,617 @@ static void print_type_arguments(const type_argument_t *type_arguments)
const type_argument_t *argument = type_arguments;
int first = 1;
while(argument != NULL) {
if(first) {
fprin... |
MatzeB/fluffy | b0bb370cce4b66bce2409b3586fdd04795b2fa90 | make more use of anchor sets | diff --git a/parser.c b/parser.c
index 5ad0c37..856f70a 100644
--- a/parser.c
+++ b/parser.c
@@ -346,1991 +346,2010 @@ static type_t *parse_atomic_type(void)
atomic_type_t *type = allocate_type_zero(sizeof(type[0]));
type->type.type = TYPE_ATOMIC;
type->atype = atype;
type_t *result = typehash_insert((type_... |
MatzeB/fluffy | 4474ad433daacd37907e3aa5763f9eacdc47a85f | improve error reporting | diff --git a/TODO b/TODO
index 8bf17d2..bd15400 100644
--- a/TODO
+++ b/TODO
@@ -1,38 +1,38 @@
This does not describe the goals and visions but short term things that should
not be forgotten and are not done yet because I was lazy or did not decide
about the right way to do it yet.
- semantic should check tha... |
MatzeB/fluffy | 13ed8fd107ad1c2405caa12fbf582b10962c0d81 | simplify expression parsing precedence handling, fix left-right right-left associativity | diff --git a/ast_t.h b/ast_t.h
index af1d3ea..20cc1ec 100644
--- a/ast_t.h
+++ b/ast_t.h
@@ -1,412 +1,433 @@
#ifndef AST_T_H
#define AST_T_H
#include <stdbool.h>
#include "ast.h"
#include "ast2firm.h"
#include "symbol.h"
#include "semantic.h"
#include "lexer.h"
#include "type.h"
#include "adt/obst.h"
#incl... |
MatzeB/fluffy | f2677e983c9631215abc726bfd53436fcb4b55c7 | crude not complete implementation of typeof type | diff --git a/TODO b/TODO
index f72a452..8bf17d2 100644
--- a/TODO
+++ b/TODO
@@ -1,28 +1,38 @@
+
+
This does not describe the goals and visions but short term things that should
not be forgotten and are not done yet because I was lazy or did not decide
about the right way to do it yet.
- semantic should check tha... |
MatzeB/fluffy | ee20ea8d3a445fe2fe67675d91b7d6921277bded | reindent, use bool where possible | diff --git a/type_hash.c b/type_hash.c
index d11868e..c405b53 100644
--- a/type_hash.c
+++ b/type_hash.c
@@ -1,291 +1,280 @@
#include <config.h>
+#include <stdbool.h>
#include "type_hash.h"
#include "adt/error.h"
#include "type_t.h"
#include <assert.h>
#define HashSet type_hash_t
#define HashSetI... |
MatzeB/fluffy | 2d00ed73abafa8a219a3096dcb7851c5ec6b6b6c | fix type mangling for variadic structs | diff --git a/mangle.c b/mangle.c
index e185f91..fb29521 100644
--- a/mangle.c
+++ b/mangle.c
@@ -1,201 +1,222 @@
#include <config.h>
#include <stdbool.h>
#include "mangle.h"
#include "ast_t.h"
#include "type_t.h"
#include "adt/error.h"
#include <libfirm/firm.h>
#include "driver/firm_cmdline.h"
static struc... |
MatzeB/fluffy | 84dacb5a9615231c804be95d4ce1c885a034c2b8 | redo mangling | diff --git a/Makefile b/Makefile
index 5f8b375..b27277a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,75 +1,74 @@
-include config.mak
GOAL = fluffy
FIRM_CFLAGS ?= `pkg-config --cflags libfirm`
FIRM_LIBS ?= `pkg-config --libs libfirm`
CPPFLAGS = -I.
CPPFLAGS += $(FIRM_CFLAGS)
CFLAGS += -Wall -W -Wstrict-prot... |
MatzeB/fluffy | 1900e213046daaebc6713fc6dd03ed864c485118 | don't pass output FILE around, make it a global state in type.c | diff --git a/.gitignore b/.gitignore
index 0760677..c107dfc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,8 @@
*.o
*.dylib
.*.swp
a.out
/config.mak
+/.depend
+/fluffy
+/fluffy.exe
diff --git a/ast.c b/ast.c
index 280d347..a4035e2 100644
--- a/ast.c
+++ b/ast.c
@@ -1,681 +1,681 @@
#include <config.h>
#inc... |
MatzeB/fluffy | ca7f8114a4c7524f0157e0f25373d234acab035c | config.mak shouldn't be in cversion controll | diff --git a/.gitignore b/.gitignore
index a1fa5db..0760677 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*.o
*.dylib
.*.swp
a.out
+/config.mak
diff --git a/config.mak b/config.mak
deleted file mode 100644
index f9106b4..0000000
--- a/config.mak
+++ /dev/null
@@ -1,6 +0,0 @@
-FIRM_HOME = $(HOME)/develo... |
MatzeB/fluffy | 8ea748a914f0dcd8a1268adb09532f790a0d714f | cleanup, start working on iterators, use bool where possible | diff --git a/.gitignore b/.gitignore
index ef866c5..a1fa5db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.o
*.dylib
.*.swp
+a.out
diff --git a/ast.c b/ast.c
index c53bcd7..280d347 100644
--- a/ast.c
+++ b/ast.c
@@ -65,615 +65,617 @@ static void print_call_expression(const call_expression_t *call)
sta... |
MatzeB/fluffy | 4d9217b8edea4f5744d99e7ed229c3239ec2508a | add expected test results and script to test fluffy | diff --git a/test/array.fluffy b/test/array.fluffy
index 18f494a..ef380a1 100644
--- a/test/array.fluffy
+++ b/test/array.fluffy
@@ -1,14 +1,15 @@
func extern printf(format : byte*, ...)
func extern malloc(size : unsigned int) : void*
struct Blo:
array : int[10]
typealias arr = int[7]
func main() : int:
... |
MatzeB/fluffy | e30884d3f17d67a237a43cb9d176e9bd0c7a5d14 | change assignment operator to = and equality to == | diff --git a/TODO b/TODO
index 98c5783..f72a452 100644
--- a/TODO
+++ b/TODO
@@ -1,28 +1,28 @@
This does not describe the goals and visions but short term things that should
not be forgotten and are not done yet because I was lazy or did not decide
about the right way to do it yet.
- semantic should check that st... |
MatzeB/fluffy | 24beca7882497bca7bab557e4ac199382c5286ad | more work towards generic concept instances | diff --git a/semantic.c b/semantic.c
index ab9223c..ca5afba 100644
--- a/semantic.c
+++ b/semantic.c
@@ -325,2191 +325,2214 @@ static void check_compound_type(compound_type_t *type)
entry = entry->next;
}
environment_pop_to(old_top);
}
static type_t *normalize_compound_type(compound_type_t *type)
{
type... |
antoine-levitt/ACCQUAREL | 78f533f56473dd5e3edfc52d31d080248a7ace4d | energy diff | diff --git a/src/common.f90 b/src/common.f90
index efe15ce..13963fb 100644
--- a/src/common.f90
+++ b/src/common.f90
@@ -1,252 +1,272 @@
MODULE debug
! This module contains a logical flag to perform various checks in the computation of ESA's THETA function.
! LOGICAL,PARAMETER :: THETA_CHECK=.TRUE.
- LOGICAL,PARAM... |
antoine-levitt/ACCQUAREL | 264ac103c9189074eb84f5393578015e5af61228 | gradient RGHF | diff --git a/src/drivers.f90 b/src/drivers.f90
index bf6ed5d..1ffb849 100644
--- a/src/drivers.f90
+++ b/src/drivers.f90
@@ -1,607 +1,607 @@
SUBROUTINE DRIVER_relativistic
USE case_parameters ; USE basis_parameters ; USE scf_parameters
USE basis ; USE integrals ; USE matrices ; USE matrix_tools
USE metric_rel... |
antoine-levitt/ACCQUAREL | 0ecf180d5e01ddf15542743e10cf8af3109853a4 | modifs sur algo gradient | diff --git a/src/gradient.f90 b/src/gradient.f90
index 9ef0f81..d5b4404 100644
--- a/src/gradient.f90
+++ b/src/gradient.f90
@@ -1,381 +1,638 @@
MODULE gradient_mod
USE basis_parameters
- DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_PG,PDM_PG,PFM_PG
- DOUBLE COMPLEX,POINTER,DIMENSION(:,:) :: CMT_PG
- TYPE(tw... |
antoine-levitt/ACCQUAREL | 5932ca29fbb3609799fb422d59d067013bf1c6f4 | trace, getenv | diff --git a/src/tools.f90 b/src/tools.f90
index 2105899..d8fe64a 100644
--- a/src/tools.f90
+++ b/src/tools.f90
@@ -83,985 +83,1009 @@ END INTERFACE EXPONENTIAL
INTERFACE TRACE
MODULE PROCEDURE TRACE_symmetric,TRACE_hermitian
END INTERFACE
INTERFACE TRACEOFPRODUCT
MODULE PROCEDURE TRACEOFPRODUCT_real,TRACEO... |
antoine-levitt/ACCQUAREL | 659ea9fa2ad1c696004054148c1e1f798419eab2 | Added commentaries about the implementation of the DIIS scheme (nothing is changed in the code) | diff --git a/src/diis.f90 b/src/diis.f90
index 0847383..82b8409 100644
--- a/src/diis.f90
+++ b/src/diis.f90
@@ -1,454 +1,457 @@
SUBROUTINE DIIS_relativistic(EIG,EIGVEC,NBAST,POEFM,PHI,TRSHLD,MAXITR,RESUME)
! DIIS (Direct Inversion in the Iterative Subspace) algorithm (relativistic case)
! Reference: P. Pulay, Conve... |
antoine-levitt/ACCQUAREL | 4b6cdf9d8651c2c62a86ee08de1f880aa297b0f1 | moved matrix sign function to the matrix_tools module and added reference | diff --git a/src/esa.f90 b/src/esa.f90
index 0e2d952..5651152 100644
--- a/src/esa.f90
+++ b/src/esa.f90
@@ -1,294 +1,264 @@
MODULE esa_mod
USE basis_parameters
INTEGER,POINTER :: NBAST_P
DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_P,PTDM_P,PDMDIF_P
TYPE(twospinor),POINTER,DIMENSION(:) :: PHI_P
CHARACT... |
antoine-levitt/ACCQUAREL | b6c01c4fba776e357a93e360650b88afb03777f3 | minor correction of the hamiltonian in the CGHF case | diff --git a/src/matrices.F90 b/src/matrices.F90
index 3e6a529..1be9982 100644
--- a/src/matrices.F90
+++ b/src/matrices.F90
@@ -1,712 +1,712 @@
SUBROUTINE FORMDM_relativistic(PDM,EIGVEC,NBAST,LOON,HOON)
! Assembly of the density matrix from selected eigenvectors associated to (occupied) electronic orbitals (only the... |
antoine-levitt/ACCQUAREL | f7fc516bc297fc02ce7614e4e85f86d165557d50 | Use small integers | diff --git a/src/integrals_f.f90 b/src/integrals_f.f90
index 1f20580..0d3d2b3 100644
--- a/src/integrals_f.f90
+++ b/src/integrals_f.f90
@@ -1,562 +1,564 @@
MODULE integrals
+ ! size of bielectronic indices. 1 for 8-bits (255), 2 for 16-bits(65535), 4 for 32-bits (2^32), 8 for 64-bits (2^64). Only used when writing/r... |
antoine-levitt/ACCQUAREL | 04fac7851bb6317697b132552cfccf9c5a449873 | Use access='STREAM' to write LUNIT and BIUNIT | diff --git a/src/drivers.f90 b/src/drivers.f90
index cdf8688..fa1bfb2 100644
--- a/src/drivers.f90
+++ b/src/drivers.f90
@@ -1,606 +1,606 @@
SUBROUTINE DRIVER_relativistic
USE case_parameters ; USE basis_parameters ; USE scf_parameters
USE basis ; USE integrals ; USE matrices ; USE matrix_tools
USE metric_rel... |
antoine-levitt/ACCQUAREL | 8a20131648e57d782df4b41c69001ab098fb9768 | Fix "no theta" code | diff --git a/src/esa.f90 b/src/esa.f90
index 590bdfa..5ab50ad 100644
--- a/src/esa.f90
+++ b/src/esa.f90
@@ -1,289 +1,288 @@
MODULE esa_mod
USE basis_parameters
INTEGER,POINTER :: NBAST_P
DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_P,PTDM_P,PDMDIF_P
TYPE(twospinor),POINTER,DIMENSION(:) :: PHI_P
CHARACT... |
antoine-levitt/ACCQUAREL | 1ab015bc64553887a10f0e2cb15978b703a1728b | Fix information for Theta function | diff --git a/src/esa.f90 b/src/esa.f90
index 958887a..590bdfa 100644
--- a/src/esa.f90
+++ b/src/esa.f90
@@ -1,287 +1,289 @@
MODULE esa_mod
USE basis_parameters
INTEGER,POINTER :: NBAST_P
DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_P,PTDM_P,PDMDIF_P
TYPE(twospinor),POINTER,DIMENSION(:) :: PHI_P
CHARACT... |
antoine-levitt/ACCQUAREL | 06f1a82290f8c79e2e05e850f98ec20fd476542d | Add option NONE (N) to avoid using theta in ESA | diff --git a/src/esa.f90 b/src/esa.f90
index 87dc100..958887a 100644
--- a/src/esa.f90
+++ b/src/esa.f90
@@ -1,281 +1,287 @@
MODULE esa_mod
USE basis_parameters
INTEGER,POINTER :: NBAST_P
DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_P,PTDM_P,PDMDIF_P
TYPE(twospinor),POINTER,DIMENSION(:) :: PHI_P
CHARACT... |
antoine-levitt/ACCQUAREL | c89a80df31e364fbc419e41945724f7dfd46582b | removed a "known problem" case from the list following the debugging in A.S.P.I.C | diff --git a/known_problems/RHF_CO_STO3G.log b/known_problems/RHF_CO_STO3G.log
deleted file mode 100644
index 639ce8e..0000000
--- a/known_problems/RHF_CO_STO3G.log
+++ /dev/null
@@ -1,2694 +0,0 @@
- *** ACCQUAREL using A.S.P.I.C. ***
- Non-relativistic case
- Hartree-Fock approximation (Slater determinant wave funct... |
antoine-levitt/ACCQUAREL | d3bcead3709ce652bf9b2bba3bc6716a25a309f1 | clean up useless code | diff --git a/src/integrals_f.f90 b/src/integrals_f.f90
index 729e699..8129e18 100644
--- a/src/integrals_f.f90
+++ b/src/integrals_f.f90
@@ -1,563 +1,562 @@
MODULE integrals
! Note: all the integrals involving gaussian basis functions are computed by the A.S.P.I.C. code (written in C++ by F. Lodier, see http://www.an... |
antoine-levitt/ACCQUAREL | 33034e20db4911aa80fdcc7f85805f962e113a10 | Fix compile under gfortran 4.5 | diff --git a/src/gradient.f90 b/src/gradient.f90
index 6f74e50..9ef0f81 100644
--- a/src/gradient.f90
+++ b/src/gradient.f90
@@ -1,380 +1,381 @@
MODULE gradient_mod
USE basis_parameters
DOUBLE COMPLEX,POINTER,DIMENSION(:) :: POEFM_PG,PDM_PG,PFM_PG
DOUBLE COMPLEX,POINTER,DIMENSION(:,:) :: CMT_PG
TYPE(tw... |
antoine-levitt/ACCQUAREL | e50f2bfc1eb149f3990b620eb2da8689f1f38575 | also parallelise SS computations | diff --git a/src/integrals_f.f90 b/src/integrals_f.f90
index 6906ee3..729e699 100644
--- a/src/integrals_f.f90
+++ b/src/integrals_f.f90
@@ -1,554 +1,563 @@
MODULE integrals
! Note: all the integrals involving gaussian basis functions are computed by the A.S.P.I.C. code (written in C++ by F. Lodier, see http://www.an... |
antoine-levitt/ACCQUAREL | c0b5839179e28354aa243c80bfd53d6356ddfeb6 | purify diagonal of ABA for hermitian matrices | diff --git a/src/tools.f90 b/src/tools.f90
index e46d3eb..9f00f74 100644
--- a/src/tools.f90
+++ b/src/tools.f90
@@ -1,788 +1,792 @@
MODULE constants
DOUBLE PRECISION,PARAMETER :: PI=3.14159265358979323846D0
! speed of light in the vacuum in atomic units (for the relativistic case)
! Note : One has $c=\frac{e^2h_... |
antoine-levitt/ACCQUAREL | e54f84ec8085c20ff1c4c913b53d6ad5b990da03 | Be kind, rewind | diff --git a/src/setup.f90 b/src/setup.f90
index 5620178..2f557ab 100644
--- a/src/setup.f90
+++ b/src/setup.f90
@@ -214,594 +214,597 @@ SUBROUTINE SETUP_DATA
READ(100,'(2(i3))')NBEA,NBEB
WRITE(*,'(a,i3)')' - number of electrons of $\alpha$ spin = ',NBEA
WRITE(*,'(a,i3)')' - numb... |
antoine-levitt/ACCQUAREL | f4cfe1d9a14389cc3762fc7f13f00491465b8dff | Remove bogus NOSL check | diff --git a/src/setup.f90 b/src/setup.f90
index 6501d57..5620178 100644
--- a/src/setup.f90
+++ b/src/setup.f90
@@ -213,602 +213,595 @@ SUBROUTINE SETUP_DATA
ELSE IF (MODEL==2) THEN
READ(100,'(2(i3))')NBEA,NBEB
WRITE(*,'(a,i3)')' - number of electrons of $\alpha$ spin = ',NBEA
... |
antoine-levitt/ACCQUAREL | 1513405a562b8efd3dd6b6ef4e78988b9063ab10 | SX, SY, SZ symmetries | diff --git a/src/integrals_f.f90 b/src/integrals_f.f90
index 79fa8ed..6906ee3 100644
--- a/src/integrals_f.f90
+++ b/src/integrals_f.f90
@@ -1,546 +1,554 @@
MODULE integrals
! Note: all the integrals involving gaussian basis functions are computed by the A.S.P.I.C. code (written in C++ by F. Lodier, see http://www.an... |
antoine-levitt/ACCQUAREL | 5ccc6142d1727720a970b254083863f330eaf7e4 | Integrals : factor out checks for zero integrals | diff --git a/src/integrals_f.f90 b/src/integrals_f.f90
index c5486c7..79fa8ed 100644
--- a/src/integrals_f.f90
+++ b/src/integrals_f.f90
@@ -1,560 +1,546 @@
MODULE integrals
! Note: all the integrals involving gaussian basis functions are computed by the A.S.P.I.C. code (written in C++ by F. Lodier, see http://www.an... |
antoine-levitt/ACCQUAREL | c1845bdd5fe2571b8b8935ed96514574e7255bd8 | small correction | diff --git a/src/setup.f90 b/src/setup.f90
index 5019596..cda8926 100644
--- a/src/setup.f90
+++ b/src/setup.f90
@@ -203,587 +203,587 @@ SUBROUTINE SETUP_DATA
READ(100,'(3(i3))')NBECS,NBEOS,NBOOS
WRITE(*,'(a,i3)')' - number of closed-shell electrons = ',NBECS
WRITE(*,'(a,i3)')' -... |
antoine-levitt/ACCQUAREL | f1f7dfadb998e7c290242da0595a5713ced565d9 | Various changes to the setup routines | diff --git a/src/Makefile b/src/Makefile
index 31d9103..11b815a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,102 +1,102 @@
### MAKEFILE PREAMBLE ###
F95 = g95
#F95 = gfortran
#F95 = ifort
# common to compilers and linker
DEBUGFFLAGS = -fbounds-check -fimplicit-none -ffpe-trap=invalid,zero,denormal
PRODFF... |
antoine-levitt/ACCQUAREL | 3c48c9a55030b0b36a71aeddb23d35823473d0eb | add BUILDA and BUILDB | diff --git a/src/matrices.F90 b/src/matrices.F90
index 70d3e09..fe76d24 100644
--- a/src/matrices.F90
+++ b/src/matrices.F90
@@ -412,624 +412,699 @@ SUBROUTINE BUILDTEFM_RHF(PTEFM,NBAST,PHI,PDM)
ELSE IF ((I==J).AND.(J>K).AND.(K==L)) THEN
TEFM(I,I)=TEFM(I,I)+2.D0*INTGRL*DM(K,K)
TEFM(K,K)=TEFM(K,K... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.