| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce cctk_ash, describing the process-local array shape that has
been allocated. This may be larger than cctk_lsh, the process-local
shape that should be used.
Retire cctk_lssh and related infrastructure to handle staggered grid
functions.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4841 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4795 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4569 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
| |
Disabled by default (to enable, uncomment "$debug_interface" in lib/sbin/CST)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4568 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4466 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
distribution type of grid functions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4465 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4447 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turned out that most of the runtime of the parameter parser was spent
in flattening list/hash arguments during function calls. Using
references conveniently solves this performance bottleneck; for the
'PublicThorns' configuration used in the nightly integration tests (with
a list of some 120 thorns), the overall CST runtime went from 100s down to 8s.
This applies patch http://www.cactuscode.org/old/pipermail/patches/2007-February/000218.html
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4406 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
The language must be either 'C' or 'Fortran', allow for case-independence.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4265 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4189 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4141 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
warning. Now it also gives an error if that group A contains more than one
variable of the same name as its group.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4114 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4109 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
"{USES|REQUIRES|PROVIDES} FUNCTION" keys in the interface database.
When matching the function list against a specific function name, use that
space as a delimiter.
This closes PR Cactus/1947: "Name clashes for aliased functions".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4080 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3841 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3839 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
one in an interface.ccl file.
Patch from Yaakoub.
Fixes PR 821.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3835 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3821 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes PR 1723.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3782 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
extra formatting in the interface_parser to keep things looking nice
afterwards.
This should solve some problems with carriage returns under windows.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3757 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
have the same name, which could cause problems for IO thorns.
Goes some way to solving PR 1328, although it doesn't cover the case where
we have a variable named the same as another group in the thorn's scope, which
would need to be checked thouroughly at the consistency checking phase.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3715 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Added a CST check that a required function is provided by at least one thorn
from the thornlist.
Added a runtime check (to CCTKBindings_RegisterThornFunctions()) to verify
that all required functions are provided by some active thorn.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3673 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
implementation have the same ancestors. This should never have been
changed to just a warning.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3631 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3630 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3474 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
Allow vector groups with more than one declared variable.
Much of this patch consists of removing special case code for scalars.
Scalars are now almost everywhere treated as rank 0 arrays.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3465 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3464 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Extend routines to handle the new type.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
| |
CST stage will be identical. This is necessary at least since perl
5.8.1 to avoid redundant recompilation.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3425 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3424 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
same implementation differ in their inherits, a warning will be issued rather
than stopping the code with an error message.
This now allows thorns PUGH and Carpet to be compiled in the same configuration.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3391 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes Cactus/1554
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3245 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
<CCTK_TYPE> FUNCTION <function name> (<CCTK_TYPE> [ARRAY] IN|OUT|INOUT
<argument name>)
by Ian Hawke, with some minor fixes/enhancements by myself.
void functions can now be declared as "SUBROUTINE".
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3208 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3182 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
| |
Radke and David Rideout. Now Fortran aliasing is handled properly
(for the most part). I tried to leave commented out versions of code
I changed. This should be cleaned up. Also now the documentation at
the beginning of CreateFunctionBindings.pl is no longer completely
correct, so this must be addressed.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3153 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Closes Cactus/1396
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3127 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
$current_group...' error message.
Add a few commented lines for debuging.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3081 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Fixes Cactus/1352
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3056 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
| |
ThornGuide.
Variable group descriptions are now allowed on same line as group
declaration when no variable block is present.
Partly fixes CactusEinstein/1003, in a sense.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3037 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
You can now do
TAGS='foo=... bar=...'
in a group definition in your interface.ccl files.
The intention is that this can be used to assign tensor types and coordinate
systems to gorups.
This is implemented as a table, the handle of which you can get by calling
CCTK_GroupTagsTable
or
CCTK_GroupTagsTableI
and query using the normal table operators.
Note that currently the Util_TableCreateFromString function, which is used to generate
the table, doesn't support setting of string members. This will be changed soon.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2845 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
This closes PR Cactus/946.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2663 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
parameters.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2445 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2408 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2403 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
defined as
<type> <group_name>[<size>] ...
as per a normal 1 variable group except with an extra argument. This
creates a vector of GVS, with an extra index (the last one for a GA or GF)
corresponding to the element in the vector. For scalars this creates an array
similar to a DISTRIB=CONSTANT GA. <size> may be either an integer or an
integer-valued parameter (which must not be steerable).
So, fortran sees
REAL foo[param] TYPE=GF DIM=3
as
CCTK_REAL foo(nx,ny,nz,param)
and in C it should be accessed as foo[CCTK_GFINDEX3D(cctkGH,i,j,k)*l]
When we have COMPACT groups you will also be able to make the extra index
the first one rather than the last one.
Please treat this as volatile until it is documented, and let me know if you are using
it.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2393 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2368 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2338 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
causes for the errors.
At the moment the help message is always shown, since I've only added a couple so far.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2307 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
variables in a thorn with the same names as public variables from it's parents.
(I'm sure I did this to fix a bug report but I can't find it now).
Expanded some warnings to give more suggestions.
Also added a system_database to hold odd things like the configuration
and cctk directories.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2286 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2257 17b73243-c579-4c4c-a9d2-2d5706c11dac
|