Skip to content

Commit

Permalink
add copyright (#15)
Browse files Browse the repository at this point in the history
* add copyright

* Update benchmark/grating_coupler.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Alec Hammond <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 2, 2024
1 parent c6eb473 commit 58786b7
Show file tree
Hide file tree
Showing 39 changed files with 38 additions and 45 deletions.
2 changes: 1 addition & 1 deletion benchmark/benchmark_utils.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.

module BenchmarkUtils

Expand Down
2 changes: 1 addition & 1 deletion benchmark/dipole.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
import YAML
import Khronos
Expand Down
2 changes: 1 addition & 1 deletion benchmark/directional_coupler.jl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.
2 changes: 1 addition & 1 deletion benchmark/grating_coupler.jl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.
2 changes: 1 addition & 1 deletion benchmark/metalens.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Metalens as described in https://github.com/flexcompute/metalens/blob/main/Metalens_Optimize.py

Expand Down
2 changes: 1 addition & 1 deletion benchmark/periodic_stack.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
import YAML
import Khronos
Expand Down
2 changes: 1 addition & 1 deletion benchmark/run_benchmarks.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.

using CUDA

Expand Down
2 changes: 1 addition & 1 deletion benchmark/sphere.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
import YAML
import Khronos
Expand Down
2 changes: 1 addition & 1 deletion examples/dipole.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Simulate a dipole in vacuum.

Expand Down
2 changes: 1 addition & 1 deletion examples/gaussian_beam.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Inject an oblique Gaussian beam and plot its response.

Expand Down
2 changes: 1 addition & 1 deletion examples/periodic_slab.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Using DFT monitors, compute the transmission of a planewave in 3D through a
# simple slab structure. Compare the computed response to the analytic response.
Expand Down
2 changes: 1 addition & 1 deletion examples/planewave.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Simulate the propagation of a planewave in a homogeonous medium.

Expand Down
2 changes: 1 addition & 1 deletion examples/sphere.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Simulate the scattering of a planewave off of a conductive sphere.

Expand Down
2 changes: 1 addition & 1 deletion examples/waveguide.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Excitation of a dielectric waveguide using a mode source.

Expand Down
2 changes: 1 addition & 1 deletion src/Boundaries.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

abstract type Boundary end

Expand Down
1 change: 0 additions & 1 deletion src/DFT.jl

This file was deleted.

8 changes: 1 addition & 7 deletions src/DataStructures.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.

"""
TODO
* `Field` and `Fields` are really confusing...
"""
# Copyright (c) Meta Platforms, Inc. and affiliates.

# -------------------------------------------------------- #
#
Expand Down
2 changes: 1 addition & 1 deletion src/Fields.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

# -------------------------------------------------------------------------- #
# General field array utility functions
Expand Down
2 changes: 1 addition & 1 deletion src/Geometry.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Contains all relevant functions for manipulating geometry.
#
Expand Down
2 changes: 1 addition & 1 deletion src/Khronos.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

module Khronos

Expand Down
2 changes: 1 addition & 1 deletion src/Mode.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Functions involving mode calculations (e.g. modes sources, mode overlaps)

Expand Down
2 changes: 1 addition & 1 deletion src/Monitors.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.

"""
Monitors.jl
Expand Down
2 changes: 1 addition & 1 deletion src/Simulation.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.


export prepare_simulation!, run, run_until, stop_when_dft_decayed, run_benchmark
Expand Down
2 changes: 1 addition & 1 deletion src/Sources/Sources.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

include("./TimeSources.jl")
include("./SpatialSources.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/Sources/SpatialSources.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Here live the various functions and routines needed to implement a source that
# is spatially varying. Importantly, all spatially varying sources take as one
Expand Down
2 changes: 1 addition & 1 deletion src/Sources/TimeSources.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

export ContinuousWaveSource, GaussianPulseSource

Expand Down
2 changes: 1 addition & 1 deletion src/Timestep.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Here lie the core timestepping kernels for the FDTD algorithm. Thanks to
# multiple dispatch, we can simply focus on the fundamental (most complicated)
Expand Down
2 changes: 1 addition & 1 deletion src/Visualization.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Functions to visualize the simulation domain, spatial/temporal source
# profiles, and monitor data.
Expand Down
2 changes: 1 addition & 1 deletion src/load_deps.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Handle all of the backend loading.
using CUDA
Expand Down
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

"""
get_direction_index(direction)
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

using Test

Expand Down
2 changes: 1 addition & 1 deletion test/test_grid_volume.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.

import Khronos
using Test
Expand Down
2 changes: 1 addition & 1 deletion test/test_interpolation.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.

# test the interpolation and restriction functions inside utils.jl. these are
# primarily used to create monitor and source regions, where interpolation and
Expand Down
2 changes: 1 addition & 1 deletion test/test_materials.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Test the functionality of all the material functions.

Expand Down
2 changes: 1 addition & 1 deletion test/test_mode.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Test the functionality of the mode functions

Expand Down
2 changes: 1 addition & 1 deletion test/test_sources.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Test the functionality of all the sources.

Expand Down
2 changes: 1 addition & 1 deletion test/test_timestep.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.

import Khronos
using Test
Expand Down
2 changes: 1 addition & 1 deletion test/test_visualization.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# Test the functionality of all the sources.

Expand Down
2 changes: 1 addition & 1 deletion test/test_volumes.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
# Copyright (c) Meta Platforms, Inc. and affiliates.

# test the Volume() and GridVolume() functionality.

Expand Down

0 comments on commit 58786b7

Please sign in to comment.