Skip to content

Commit

Permalink
Added header to all source files pointer to license file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce J Palmer committed Feb 14, 2023
1 parent ff6bd10 commit 7f4918f
Show file tree
Hide file tree
Showing 88 changed files with 444 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#

cmake_minimum_required(VERSION 3.14)

project(BMX-Exa
Expand Down
7 changes: 7 additions & 0 deletions exec/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be
# found
# in the LICENSE file in the top level directory of this distribution.
#

add_subdirectory(nlev_large_test)
add_subdirectory(nlev_real_test)
add_subdirectory(nlev_dla_test)
6 changes: 6 additions & 0 deletions exec/GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#

# AMREX_HOME defines the directory in which we will find all the AMReX code
AMREX_HOME ?= ../subprojects/amrex

Expand Down
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
add_library(bmxcore OBJECT)

#
Expand Down
5 changes: 5 additions & 0 deletions src/Make.package
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
CEXE_sources += main.cpp
CEXE_sources += bmx.cpp
CEXE_headers += bmx.H
5 changes: 5 additions & 0 deletions src/bmx.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#ifndef BMX_LEVEL_H_
#define BMX_LEVEL_H_

Expand Down
5 changes: 5 additions & 0 deletions src/bmx.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx.H>

#include <AMReX_BC_TYPES.H>
Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
target_include_directories( bmxcore
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/Make.package
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
CEXE_headers += bmx_chem.H
CEXE_headers += bmx_chem_K.H
CEXE_headers += bmx_cell_interaction.H
Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/bmx_cell_interaction.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#ifndef _BMX_CELL_INTERACTION_H_
#define _BMX_CELL_INTERACTION_H_

Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/bmx_cell_interaction.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <stdio.h>
#include <math.h>
#include <bmx.H>
Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/bmx_cell_interaction_K.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <math.h>
#include <bmx_fluid_parms.H>
#include <bmx_cell_interaction.H>
Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/bmx_chem.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#ifndef _BMX_CHEM_H_
#define _BMX_CHEM_H_

Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/bmx_chem.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <stdio.h>
#include <bmx.H>
#include <bmx_fluid_parms.H>
Expand Down
5 changes: 5 additions & 0 deletions src/chemistry/bmx_chem_K.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
/**
* Check to see if particle meets criteria for splitting
* @param p_par particle parameters
Expand Down
5 changes: 5 additions & 0 deletions src/deposition/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
target_include_directories(bmxcore
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
Expand Down
5 changes: 5 additions & 0 deletions src/deposition/Make.package
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
CEXE_headers += bmx_deposition_K.H
CEXE_sources += bmx_deposition_bcs.cpp
5 changes: 5 additions & 0 deletions src/deposition/bmx_deposition_K.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include "bmx_pc.H"
#include <bmx.H>

Expand Down
5 changes: 5 additions & 0 deletions src/deposition/bmx_deposition_bcs.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx.H>

void bmx::bmx_deposition_bcs (int lev, amrex::MultiFab& filled_mf)
Expand Down
5 changes: 5 additions & 0 deletions src/des/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
target_include_directories( bmxcore
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
Expand Down
5 changes: 5 additions & 0 deletions src/des/Make.package
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
CEXE_headers += bmx_des_K.H
CEXE_headers += bmx_pc.H

Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_calc_txfr.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx.H>
#include <bmx_deposition_K.H>
#include <bmx_interp_K.H>
Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_calc_volume_fraction.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx.H>
#include <bmx_deposition_K.H>
#include <bmx_fluid_parms.H>
Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_des_K.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include "bmx_pc.H"

AMREX_GPU_HOST_DEVICE AMREX_INLINE
Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_pc.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#ifndef _BMX_PC_H_
#define _BMX_PC_H_

Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_pc.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx_des_K.H>

#include <bmx_dem_parms.H>
Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_pc_init.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx_pc.H>
#include <bmx_dem_parms.H>
#include <bmx_chem_species_parms.H>
Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_pc_interaction.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx_pc.H>
#include <bmx_dem_parms.H>
#include <bmx_bc_parms.H>
Expand Down
5 changes: 5 additions & 0 deletions src/des/bmx_split_particles.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <bmx.H>
#include <bmx_chem.H>
#include <bmx_chem_K.H>
Expand Down
5 changes: 5 additions & 0 deletions src/diffusion/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
target_include_directories(bmxcore
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
Expand Down
5 changes: 5 additions & 0 deletions src/diffusion/Make.package
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
CEXE_sources += bmx_define_coeffs_on_faces.cpp
CEXE_sources += bmx_diffusion_op.cpp
CEXE_headers += bmx_diffusion_op.H
Expand Down
5 changes: 5 additions & 0 deletions src/diffusion/bmx_define_coeffs_on_faces.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <AMReX_MultiFabUtil.H>
#include <bmx_diffusion_op.H>
#include <bmx_fluid_parms.H>
Expand Down
5 changes: 5 additions & 0 deletions src/diffusion/bmx_diffuse_chem_species.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <AMReX_MultiFabUtil.H>
#include <bmx_diffusion_op.H>
#include <bmx_fluid_parms.H>
Expand Down
5 changes: 5 additions & 0 deletions src/diffusion/bmx_diffusion_op.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#ifndef DIFFUSION_EQUATION_H_
#define DIFFUSION_EQUATION_H_

Expand Down
5 changes: 5 additions & 0 deletions src/diffusion/bmx_diffusion_op.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <AMReX_ParmParse.H>
#include <AMReX_Vector.H>

Expand Down
5 changes: 5 additions & 0 deletions src/interpolation/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
target_include_directories( bmxcore
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>)
Expand Down
5 changes: 5 additions & 0 deletions src/interpolation/Make.package
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
CEXE_headers += bmx_interp_K.H
5 changes: 5 additions & 0 deletions src/interpolation/bmx_interp_K.H
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#ifndef _BMX_INTERP_K_H_
#define _BMX_INTERP_K_H_

Expand Down
5 changes: 5 additions & 0 deletions src/io/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
target_sources( bmxcore
PRIVATE
bmx_io.cpp
Expand Down
5 changes: 5 additions & 0 deletions src/io/Make.package
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#
# Copyright (c) 2013 Battelle Memorial Institute
# Licensed under modified BSD License. A copy of this license can be found
# in the LICENSE file in the top level directory of this distribution.
#
CEXE_sources += bmx_io.cpp
CEXE_sources += bmx_build_info.cpp
CEXE_sources += bmx_chk.cpp
Expand Down
5 changes: 5 additions & 0 deletions src/io/bmx_build_info.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include "AMReX_buildInfo.H"
#include <bmx.H>

Expand Down
5 changes: 5 additions & 0 deletions src/io/bmx_chk.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <AMReX_MultiFab.H>
#include <AMReX_PlotFileUtil.H>

Expand Down
5 changes: 5 additions & 0 deletions src/io/bmx_io.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <AMReX_MultiFab.H>
#include <AMReX_PlotFileUtil.H>
#include <AMReX_VisMF.H> // amrex::VisMF::Write(MultiFab)
Expand Down
5 changes: 5 additions & 0 deletions src/io/bmx_plt.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
//
// Copyright (c) 2013 Battelle Memorial Institute
// Licensed under modified BSD License. A copy of this license can be found
// in the LICENSE file in the top level directory of this distribution.
//
#include <AMReX_PlotFileUtil.H>
#include <AMReX_VisMF.H> // amrex::VisMF::Write(MultiFab)
#include <AMReX_VectorIO.H> // amrex::[read,write]IntData(array_of_ints)
Expand Down
Loading

0 comments on commit 7f4918f

Please sign in to comment.