Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TurTLE
TurTLE
Commits
509ebcfe
Commit
509ebcfe
authored
10 years ago
by
Chichi Lalescu
Browse files
Options
Downloads
Patches
Plain Diff
remove unused file
parent
1e754a2c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bfps/cpp/main_fluid_solver.cpp
+0
-50
0 additions, 50 deletions
bfps/cpp/main_fluid_solver.cpp
with
0 additions
and
50 deletions
bfps/cpp/main_fluid_solver.cpp
deleted
100644 → 0
+
0
−
50
View file @
1e754a2c
/***********************************************************************
*
* Copyright 2015 Max Planck Institute for Dynamics and SelfOrganization
*
* 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.
*
* Contact: Cristian.Lalescu@ds.mpg.de
*
************************************************************************/
#include
"base.hpp"
#include
"fluid_solver.hpp"
#include
<iostream>
#include
<fftw3-mpi.h>
int
myrank
,
nprocs
;
int
main
(
int
argc
,
char
*
argv
[])
{
MPI_Init
(
&
argc
,
&
argv
);
MPI_Comm_rank
(
MPI_COMM_WORLD
,
&
myrank
);
MPI_Comm_size
(
MPI_COMM_WORLD
,
&
nprocs
);
fluid_solver
<
float
>
*
fs
;
fs
=
new
fluid_solver
<
float
>
(
32
,
32
,
32
);
DEBUG_MSG
(
"fluid_solver object created
\n
"
);
fftwf_execute
(
*
(
fftwf_plan
*
)
fs
->
c2r_vorticity
);
fftwf_execute
(
*
(
fftwf_plan
*
)
fs
->
r2c_vorticity
);
delete
fs
;
DEBUG_MSG
(
"fluid_solver object deleted
\n
"
);
// clean up
fftwf_mpi_cleanup
();
fftw_mpi_cleanup
();
MPI_Finalize
();
return
EXIT_SUCCESS
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment