Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision fba30097ae6ca68f2e397f176863fb3d3edd301c authored by Jonas on 04 October 2023, 14:52:00 UTC, committed by Jonas on 04 October 2023, 14:52:00 UTC
Add ref HAL
1 parent 384285f
  • Files
  • Changes
  • e3f3ace
  • /
  • psa_mod
  • /
  • Makefile
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:fba30097ae6ca68f2e397f176863fb3d3edd301c
directory badge
swh:1:dir:2d061c0b5e78db77f3ec74fa45dc59c0f39add4f
content badge
swh:1:cnt:8144c934a1528377b934a6d8fde5ce3b61364d09

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Makefile
###################### user-configuration section #######################
INC := -I/usr/local/include
LIB := -L/usr/local/lib
MARCH := -m64

# set HAVE_CGAL to 0 to build without CGAL support; psa will then omit
# the computation of the bond-orientational order (BOO)
HAVE_CGAL := 1
#########################################################################

CXX := g++
CXXFLAGS := -Wall -fopenmp
OPTFLAGS := -O2
LINKFLAGS := -lcairo
DEFS :=
ifeq ($(HAVE_CGAL),1)
	CXXFLAGS += -frounding-math
	LINKFLAGS += -lCGAL -lCGAL_Core -lgmp -lboost_thread-mt -lmpfr
	DEFS += -DPSA_HAS_CGAL -DCGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES
endif

OBJDIR := obj
SRCDIR := src
CXXFILES := main.cpp analysis.cpp config.cpp curve.cpp delaunay.cpp image.cpp param.cpp periodogram.cpp point.cpp result.cpp spectrum.cpp statistics.cpp

OBJS   := $(patsubst %.cpp,$(OBJDIR)/%.cpp.o,$(notdir $(CXXFILES)))
TARGET := psa

VERBOSE := @

.PHONY: all clean

all: $(TARGET)

$(OBJDIR)/%.cpp.o : $(SRCDIR)/%.cpp
	$(VERBOSE)$(CXX) $(CXXFLAGS) $(MARCH) $(DEFS) $(INC) -o $@ -c $<

$(TARGET): makedir $(OBJS) Makefile
	$(VERBOSE)$(CXX) $(CXXFLAGS) $(OPTFLAGS) $(OBJS) $(LINKFLAGS) $(LIB) -o $(TARGET)

makedir:
	$(VERBOSE)mkdir -p $(OBJDIR)

clean:
	$(VERBOSE)rm -f $(OBJS)
	$(VERBOSE)rm -f $(TARGET)
	$(VERBOSE)rmdir -p $(OBJDIR)
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API