-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed commit of the following: commit a734753 Author: Joaquin <[email protected]> Date: Thu Nov 12 18:13:42 2020 -0300 Move graph implementation to a separate folder.
- Loading branch information
1 parent
b62104b
commit 366abbe
Showing
39 changed files
with
131 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
all: bin/grp_causalize | ||
SRC_CAUSALIZE := causalize/graph_implementation/main.cpp \ | ||
causalize/graph_implementation/for_unrolling/for_index_iterator.cpp \ | ||
causalize/graph_implementation/for_unrolling/process_for_equations.cpp \ | ||
causalize/graph_implementation/apply_tarjan.cpp \ | ||
causalize/graph_implementation/unknowns_collector.cpp \ | ||
causalize/graph_implementation/causalization_strategy.cpp \ | ||
causalize/graph_implementation/vector/contains_vector.cpp \ | ||
causalize/graph_implementation/vector/graph_builder.cpp \ | ||
causalize/graph_implementation/vector/causalization_algorithm.cpp \ | ||
causalize/graph_implementation/vector/splitfor.cpp \ | ||
causalize/graph_implementation/graph/graph_definition.cpp \ | ||
util/debug.cpp \ | ||
util/table.cpp \ | ||
util/type.cpp \ | ||
util/solve/solve.cpp \ | ||
util/ast_visitors/eval_expression.cpp \ | ||
util/ast_visitors/partial_eval_expression.cpp \ | ||
util/ast_visitors/ginac_interface.cpp \ | ||
util/ast_visitors/contains_expression.cpp \ | ||
util/ast_visitors/splitfor_visitor.cpp \ | ||
util/ast_visitors/state_variables_finder.cpp \ | ||
mmo/mmo_class.cpp | ||
|
||
|
||
OBJS_CAUSALIZE = $(SRC_CAUSALIZE:.cpp=.o) | ||
-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC_CAUSALIZE))) | ||
LIB_CAUSALIZE = -L./lib -lmodelica -lginac | ||
|
||
bin/grp_causalize: $(OBJS_CAUSALIZE) lib/libmodelica.a | ||
$(CXX) $(CXXFLAGS) -o bin/grp_causalize $(OBJS_CAUSALIZE) $(LIB_CAUSALIZE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
CAUSALIZE2FLAGS = -DENABLE_DEBUG_MSG | ||
OBJS_CAUSALIZE2 := $(OBJS_COMMON) \ | ||
causalize/graph_implementation/causalize2/main.o \ | ||
mmo/mmo_class.o \ | ||
util/ast_util.o \ | ||
util/type.o \ | ||
util/type_check.o \ | ||
util/symbol_table.o \ | ||
util/debug.o \ | ||
causalize/graph_implementation/causalize2/graph_builder.o \ | ||
causalize/graph_implementation/causalize2/occurrence_checker.o\ | ||
causalize/graph_implementation/causalize2/graph_printer.o\ | ||
causalize/graph_implementation/causalize2/causalization_algorithm.o\ | ||
causalize/graph_implementation/compref_occurrence.o \ | ||
causalize/graph_implementation/for_unrolling/for_index_iterator.o\ | ||
util/solve.o \ | ||
util/ginac_interface.o \ | ||
causalize/graph_implementation/state_variables_finder.o \ | ||
causalize/graph_implementation/unknowns_collector.o \ | ||
causalize/graph_implementation/causalization_strategy.o\ | ||
causalize/graph_implementation/cycles_identification_strategy.o \ | ||
causalize/graph_implementation/for_unrolling/process_for_equations.o | ||
|
||
LIB_CAUSALIZE = -lginac | ||
|
||
|
||
bin/causalize2: $(OBJS_CAUSALIZE2) | ||
$(CXX) $(CXXFLAGS) -o bin/causalize2 $(OBJS_CAUSALIZE2) $(LIB_CAUSALIZE) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.