diff options
author | Ian Jauslin <ian.jauslin@rutgers.edu> | 2023-05-10 19:33:29 -0400 |
---|---|---|
committer | Ian Jauslin <ian.jauslin@rutgers.edu> | 2023-05-10 19:33:29 -0400 |
commit | d2c589cae47d3e224a78df180bc97ccbc7e3f974 (patch) | |
tree | ddca507e535ea98084521a884f79c7ee64adf33c /src | |
parent | 6c10f8069518ee5af604895336de108020bdc296 (diff) |
Diffstat (limited to 'src')
-rw-r--r-- | src/constants.cpp | 17 | ||||
-rw-r--r-- | src/driving.c | 16 | ||||
-rw-r--r-- | src/driving.h | 16 | ||||
-rw-r--r-- | src/init.c | 16 | ||||
-rw-r--r-- | src/init.h | 16 | ||||
-rw-r--r-- | src/int_tools.c | 16 | ||||
-rw-r--r-- | src/int_tools.h | 16 | ||||
-rw-r--r-- | src/io.c | 16 | ||||
-rw-r--r-- | src/io.h | 16 | ||||
-rw-r--r-- | src/main.c | 16 | ||||
-rw-r--r-- | src/navier-stokes.c | 16 | ||||
-rw-r--r-- | src/navier-stokes.h | 16 | ||||
-rw-r--r-- | src/statistics.c | 16 | ||||
-rw-r--r-- | src/statistics.h | 16 |
14 files changed, 225 insertions, 0 deletions
diff --git a/src/constants.cpp b/src/constants.cpp index 60bc3b8..bc49a04 100644 --- a/src/constants.cpp +++ b/src/constants.cpp @@ -1,3 +1,20 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + + #define COMMAND_UK 1 #define COMMAND_ENSTROPHY 2 #define COMMAND_QUIET 3 diff --git a/src/driving.c b/src/driving.c index 527a37d..d948cda 100644 --- a/src/driving.c +++ b/src/driving.c @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #include "driving.h" #include "navier-stokes.h" #include "io.h" diff --git a/src/driving.h b/src/driving.h index 05523c0..75f9a8f 100644 --- a/src/driving.h +++ b/src/driving.h @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #ifndef DRIVING_H #define DRIVING_H @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #include "init.h" #include "navier-stokes.h" #include "io.h" @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #ifndef INIT_H #define INIT_H diff --git a/src/int_tools.c b/src/int_tools.c index 13e2cf9..f2f2dcc 100644 --- a/src/int_tools.c +++ b/src/int_tools.c @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #include <math.h> #include "int_tools.h" diff --git a/src/int_tools.h b/src/int_tools.h index ab008f6..ac1b797 100644 --- a/src/int_tools.h +++ b/src/int_tools.h @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #ifndef INTTOOLS_H #define INTTOOLS_H @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #include <stdbool.h> #include <stdlib.h> #include <string.h> @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #ifndef IO_H #define IO_H @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #define VERSION "0.1" #include <math.h> diff --git a/src/navier-stokes.c b/src/navier-stokes.c index fa4be10..b5fe7c7 100644 --- a/src/navier-stokes.c +++ b/src/navier-stokes.c @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #include "constants.cpp" #include "io.h" #include "navier-stokes.h" diff --git a/src/navier-stokes.h b/src/navier-stokes.h index afb5b4b..aa02d8a 100644 --- a/src/navier-stokes.h +++ b/src/navier-stokes.h @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #ifndef NAVIERSTOKES_H #define NAVIERSTOKES_H diff --git a/src/statistics.c b/src/statistics.c index a35d1e2..2acfca4 100644 --- a/src/statistics.c +++ b/src/statistics.c @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #include "statistics.h" // run this at each step to compute the running average diff --git a/src/statistics.h b/src/statistics.h index cc344d1..ace97c5 100644 --- a/src/statistics.h +++ b/src/statistics.h @@ -1,3 +1,19 @@ +/* +Copyright 2017-2023 Ian Jauslin + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + #ifndef STATISTICS_H #define STATISTICS_H |