Skip to content

Commit

Permalink
Add license to .cpp files and prototype code. Consolidate numerical t…
Browse files Browse the repository at this point in the history
…ests into validation.
  • Loading branch information
aemccoy committed Feb 16, 2021
1 parent 4d4723a commit 0ac9dc0
Show file tree
Hide file tree
Showing 68 changed files with 157 additions and 1,004 deletions.
1 change: 1 addition & 0 deletions libraries/lgi/lgi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "lgi/lgi.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/lgi/lgi_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/
#include <fstream>
#include <iostream>
Expand Down
3 changes: 2 additions & 1 deletion libraries/lgi/lgi_unit_tensors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
Anna E. McCoy
TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "lgi/lgi_unit_tensors.h"
#include <omp.h>
Expand Down
1 change: 1 addition & 0 deletions libraries/lgi/null_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "lgi/null_solver.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/lsu3shell/lsu3shell_basis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "lsu3shell/lsu3shell_basis.h"
Expand Down
3 changes: 2 additions & 1 deletion libraries/lsu3shell/lsu3shell_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "lsu3shell/lsu3shell_operator.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/lsu3shell/lsu3shell_rme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "lsu3shell/lsu3shell_rme.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/moshinsky/moshinsky_xform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/
#include <cmath>
#include "fmt/format.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/moshinsky/relative_cm_xform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include <fstream>
Expand Down
3 changes: 3 additions & 0 deletions libraries/moshinsky/shell_comparison.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/****************************************************************
shell_comparison.cpp
Branches Q operator constructed from relative Sp(3,R) generators
to NLSJT basis for comparison with shell relative file
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
Expand Down
1 change: 1 addition & 0 deletions libraries/sp3rlib/sp3r.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include <cassert>
Expand Down
1 change: 1 addition & 0 deletions libraries/sp3rlib/sp3r_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/
#include "sp3rlib/sp3r_operator.h"

Expand Down
2 changes: 2 additions & 0 deletions libraries/sp3rlib/sp3rcoef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Anna E. McCoy
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include <cassert>
Expand Down
1 change: 1 addition & 0 deletions libraries/sp3rlib/u3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "sp3rlib/u3.h"
Expand Down
3 changes: 1 addition & 2 deletions libraries/sp3rlib/u3coef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
3/10/16 (aem,mac): Created based on prototype u3.py and
T. Dytrych CSU3Master.
SPDX-License-Identifier: MIT
****************************************************************/
#include "sp3rlib/u3coef.h"

Expand Down
2 changes: 2 additions & 0 deletions libraries/sp3rlib/u3coef.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
3/10/16 (aem,mac): Created based on prototype u3.py and T. Dytrych
CSU3Master.
10/17/16 (mac): Add comment on W.
Expand Down
1 change: 1 addition & 0 deletions libraries/sp3rlib/vcs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "sp3rlib/vcs.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/computation_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/computation_control.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/decomposition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/decomposition.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/eigenproblem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/eigenproblem.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/explicit_construction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/explicit_construction.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/hyperblocks_u3s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy
TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/hyperblocks_u3s.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/io_control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/io_control.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/parameters.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/recurrence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/recurrence.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/results_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "spncci/results_output.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/spncci_basis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/spncci_basis.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/spncci_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/spncci_common.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/transform_basis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy
TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "spncci/transform_basis.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/variance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy
TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "spncci/variance.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/spncci/vcs_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame and TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/

#include "spncci/vcs_cache.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/u3shell/interaction_truncation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Anna E. McCoy
TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "u3shell/interaction_truncation.h"
#include "fmt/format.h"
Expand Down
6 changes: 5 additions & 1 deletion libraries/u3shell/relative_branching.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/****************************************************************
relative_branching.cpp
Anna E. McCoy
TRIUMF
SPDX-License-Identifier: MIT
****************************************************************/
#include "u3shell/relative_branching.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/relative_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/
#include "u3shell/relative_operator.h"

Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/tensor_labels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "u3shell/tensor_labels.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/u3shell/two_body_branching.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Anna E. McCoy
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/
#include "u3shell/two_body_branching.h"
#include "am/halfint.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/two_body_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "u3shell/two_body_operator.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/u3spn_scheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "u3shell/u3spn_scheme.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/u3st_scheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "u3shell/u3st_scheme.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/unit_tensor_expansion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "u3shell/unit_tensor_expansion.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/unit_tensor_space_u3s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/

#include "u3shell/unit_tensor_space_u3s.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/u3shell/unu3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Anna E. McCoy
University of Notre Dame
SPDX-License-Identifier: MIT
based heavily on lsu3shell CUNMASTER
****************************************************************/
#include "u3shell/unu3.h"
Expand Down
1 change: 1 addition & 0 deletions libraries/u3shell/upcoupling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Anna E. McCoy and Mark A. Caprio
University of Notre Dame
SPDX-License-Identifier: MIT
****************************************************************/
#include "u3shell/upcoupling.h"

Expand Down
7 changes: 7 additions & 0 deletions misc/prototype/sp3rlib/coefficients.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
##################################################################################
# Anna E. McCoy
# University of Notre Dame
#
# SPDX-License-Identifier: MIT
##################################################################################

import math
from u3states import *
import so3
Expand Down
9 changes: 7 additions & 2 deletions misc/prototype/sp3rlib/irreps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
##################################################################################################################################################
## Generating irreps corresponding to the different symmetries
##################################################################################################################################################
# Generating irreps corresponding to the different symmetries
#
# Anna E. McCoy
# University of Notre Dame
#
# SPDX-License-Identifier: MIT
##################################################################################

import math
import sys
Expand Down
Loading

0 comments on commit 0ac9dc0

Please sign in to comment.