thorn_name stringclasses 227
values | url stringclasses 26
values | configuration stringclasses 137
values | interface stringclasses 225
values | param stringclasses 220
values | schedule stringclasses 223
values | src_filename stringlengths 4 83 | src_code stringlengths 0 579k |
|---|---|---|---|---|---|---|---|
CactusBase/SymBase | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn SymBase
# $Header$
IMPLEMENTS: SymBase
# Register a symmetry, and query the symmetry name/handle mapping:
CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name)
PROVIDES FUNCTION SymmetryRegister \
WITH SymBase_SymmetryRegister \
LANGUAGE C
CCTK_INT FUNCTION Symmet... | # Parameter definitions for thorn SymBase
# $Header$
BOOLEAN verbose "Output symmetry boundary face descriptions after registration"
{
} "yes"
| # Schedule definitions for thorn SymBase
# $Header$
SCHEDULE SymBase_Startup AT CCTK_STARTUP
{
LANG: C
} "Register GH Extension for SymBase"
SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH
{
} "Wrapper group for SymBase"
SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper
{
} "Register your symmetries here"
SCHEDULE ... | Handles.c | /*@@
@file Handles.c
@author Erik Schnetter
@date 2004/03/07 09:48:53
@desc
Register a symmetry, and query the symmetry name/handle mapping
@version $Id$
@enddesc
@@*/
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "SymBase.h"
/* the rcs ID and its dummy f... | |
CactusBase/SymBase | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn SymBase
# $Header$
IMPLEMENTS: SymBase
# Register a symmetry, and query the symmetry name/handle mapping:
CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name)
PROVIDES FUNCTION SymmetryRegister \
WITH SymBase_SymmetryRegister \
LANGUAGE C
CCTK_INT FUNCTION Symmet... | # Parameter definitions for thorn SymBase
# $Header$
BOOLEAN verbose "Output symmetry boundary face descriptions after registration"
{
} "yes"
| # Schedule definitions for thorn SymBase
# $Header$
SCHEDULE SymBase_Startup AT CCTK_STARTUP
{
LANG: C
} "Register GH Extension for SymBase"
SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH
{
} "Wrapper group for SymBase"
SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper
{
} "Register your symmetries here"
SCHEDULE ... | make.code.defn | # Main make.code.defn file for thorn SymBase
# $Header$
# Source files in this directory
SRCS = Check.c Faces.c Handles.c Interpolation.c Startup.c Statistics.c Table.c
# Subdirectories containing source files
SUBDIRS =
| |
CactusBase/SymBase | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn SymBase
# $Header$
IMPLEMENTS: SymBase
# Register a symmetry, and query the symmetry name/handle mapping:
CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name)
PROVIDES FUNCTION SymmetryRegister \
WITH SymBase_SymmetryRegister \
LANGUAGE C
CCTK_INT FUNCTION Symmet... | # Parameter definitions for thorn SymBase
# $Header$
BOOLEAN verbose "Output symmetry boundary face descriptions after registration"
{
} "yes"
| # Schedule definitions for thorn SymBase
# $Header$
SCHEDULE SymBase_Startup AT CCTK_STARTUP
{
LANG: C
} "Register GH Extension for SymBase"
SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH
{
} "Wrapper group for SymBase"
SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper
{
} "Register your symmetries here"
SCHEDULE ... | Interpolation.c | /*@@
@file Interpolation.c
@author Erik Schnetter
@date 2004-05-11
@desc
Apply symmetry conditions during interpolation
@version $Header$
@enddesc
@@*/
#include <stdio.h>
#include <stdlib.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "util_ErrorCodes.h"
#include "u... | |
CactusBase/SymBase | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn SymBase
# $Header$
IMPLEMENTS: SymBase
# Register a symmetry, and query the symmetry name/handle mapping:
CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name)
PROVIDES FUNCTION SymmetryRegister \
WITH SymBase_SymmetryRegister \
LANGUAGE C
CCTK_INT FUNCTION Symmet... | # Parameter definitions for thorn SymBase
# $Header$
BOOLEAN verbose "Output symmetry boundary face descriptions after registration"
{
} "yes"
| # Schedule definitions for thorn SymBase
# $Header$
SCHEDULE SymBase_Startup AT CCTK_STARTUP
{
LANG: C
} "Register GH Extension for SymBase"
SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH
{
} "Wrapper group for SymBase"
SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper
{
} "Register your symmetries here"
SCHEDULE ... | Startup.c | /*@@
@file Startup.c
@author Erik Schnetter
@date 2004-03-06
@desc
Thorn startup
@version $Id$
@enddesc
@@*/
#include <stdlib.h>
#include "cctk.h"
#include "util_Table.h"
#include "SymBase.h"
/* the rcs ID and its dummy function to use it */
static const char *const rcsid = ... | |
CactusBase/Time | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn Time
implements: time
public:
REAL speedvars type=SCALAR
{
courant_wave_speed
courant_min_time
} "Speed to use for Courant condition"
private:
REAL couranttemps type=SCALAR
{
courant_dt
} "Variable just for output"
| # Parameter definitions for thorn Time
shares: cactus
USES REAL cctk_final_time
USES KEYWORD terminate
restricted:
KEYWORD timestep_method "Method for calculating timestep"
{
"given" :: "Use given timestep"
"courant_static" :: "Courant condition at BASEGRID (using dtfac)"
"courant_speed" :: "Courant c... | # Schedule definitions for thorn Time
STORAGE: speedvars, couranttemps
schedule Time_Initialise at CCTK_BASEGRID before Time_Simple
{
LANG: C
OPTIONS: global
} "Initialise Time variables"
if (CCTK_Equals (timestep_method, "courant_static"))
{
schedule Time_Simple at CCTK_BASEGRID as TemporalSpacings after Spat... | Given.c | /*@@
@file Given.c
@date September 4 1999
@author Gabrielle Allen
@desc
Standard specification of timestep
@enddesc
@@*/
#include <stdlib.h>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
void Time_Given(CCTK_ARGUMENTS) {
DECLARE_CCTK_PARAMETERS;
DECLARE_CCTK_... | |
CactusBase/Time | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn Time
implements: time
public:
REAL speedvars type=SCALAR
{
courant_wave_speed
courant_min_time
} "Speed to use for Courant condition"
private:
REAL couranttemps type=SCALAR
{
courant_dt
} "Variable just for output"
| # Parameter definitions for thorn Time
shares: cactus
USES REAL cctk_final_time
USES KEYWORD terminate
restricted:
KEYWORD timestep_method "Method for calculating timestep"
{
"given" :: "Use given timestep"
"courant_static" :: "Courant condition at BASEGRID (using dtfac)"
"courant_speed" :: "Courant c... | # Schedule definitions for thorn Time
STORAGE: speedvars, couranttemps
schedule Time_Initialise at CCTK_BASEGRID before Time_Simple
{
LANG: C
OPTIONS: global
} "Initialise Time variables"
if (CCTK_Equals (timestep_method, "courant_static"))
{
schedule Time_Simple at CCTK_BASEGRID as TemporalSpacings after Spat... | Initialise.c | /*@@
@file Initialise.c
@date May 12 2001
@author Gabrielle Allen
@desc
Initialise grid variables
@enddesc
@@*/
#include <cctk.h>
#include <cctk_Arguments.h>
void Time_Initialise(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTS;
*courant_wave_speed = 0;
*courant_min_time = 0;
*courant_dt = 0... | |
CactusBase/Time | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn Time
implements: time
public:
REAL speedvars type=SCALAR
{
courant_wave_speed
courant_min_time
} "Speed to use for Courant condition"
private:
REAL couranttemps type=SCALAR
{
courant_dt
} "Variable just for output"
| # Parameter definitions for thorn Time
shares: cactus
USES REAL cctk_final_time
USES KEYWORD terminate
restricted:
KEYWORD timestep_method "Method for calculating timestep"
{
"given" :: "Use given timestep"
"courant_static" :: "Courant condition at BASEGRID (using dtfac)"
"courant_speed" :: "Courant c... | # Schedule definitions for thorn Time
STORAGE: speedvars, couranttemps
schedule Time_Initialise at CCTK_BASEGRID before Time_Simple
{
LANG: C
OPTIONS: global
} "Initialise Time variables"
if (CCTK_Equals (timestep_method, "courant_static"))
{
schedule Time_Simple at CCTK_BASEGRID as TemporalSpacings after Spat... | make.code.defn | # Main make.code.defn file for thorn Time
# Source files in this directory
SRCS = Courant.c Given.c Initialise.c Simple.c
# Subdirectories containing source files
SUBDIRS =
| |
CactusBase/Time | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn Time
implements: time
public:
REAL speedvars type=SCALAR
{
courant_wave_speed
courant_min_time
} "Speed to use for Courant condition"
private:
REAL couranttemps type=SCALAR
{
courant_dt
} "Variable just for output"
| # Parameter definitions for thorn Time
shares: cactus
USES REAL cctk_final_time
USES KEYWORD terminate
restricted:
KEYWORD timestep_method "Method for calculating timestep"
{
"given" :: "Use given timestep"
"courant_static" :: "Courant condition at BASEGRID (using dtfac)"
"courant_speed" :: "Courant c... | # Schedule definitions for thorn Time
STORAGE: speedvars, couranttemps
schedule Time_Initialise at CCTK_BASEGRID before Time_Simple
{
LANG: C
OPTIONS: global
} "Initialise Time variables"
if (CCTK_Equals (timestep_method, "courant_static"))
{
schedule Time_Simple at CCTK_BASEGRID as TemporalSpacings after Spat... | Simple.c | /*@@
@file Simple.c
@date September 4 1999
@author Gabrielle Allen
@desc
Standard specification of timestep
@enddesc
@@*/
#include <stdlib.h>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
void Time_Simple(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK... | |
CactusBase/Time | https://bitbucket.org/cactuscode/cactusbase.git | # Interface definition for thorn Time
implements: time
public:
REAL speedvars type=SCALAR
{
courant_wave_speed
courant_min_time
} "Speed to use for Courant condition"
private:
REAL couranttemps type=SCALAR
{
courant_dt
} "Variable just for output"
| # Parameter definitions for thorn Time
shares: cactus
USES REAL cctk_final_time
USES KEYWORD terminate
restricted:
KEYWORD timestep_method "Method for calculating timestep"
{
"given" :: "Use given timestep"
"courant_static" :: "Courant condition at BASEGRID (using dtfac)"
"courant_speed" :: "Courant c... | # Schedule definitions for thorn Time
STORAGE: speedvars, couranttemps
schedule Time_Initialise at CCTK_BASEGRID before Time_Simple
{
LANG: C
OPTIONS: global
} "Initialise Time variables"
if (CCTK_Equals (timestep_method, "courant_static"))
{
schedule Time_Simple at CCTK_BASEGRID as TemporalSpacings after Spat... | Courant.c | /*@@
@file Courant.c
@date September 4 1999
@author Gabrielle Allen
@desc
Specification of timestep using Courant condition
@enddesc
@@*/
#include <math.h>
#include <stdlib.h>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
void Time_Courant(CCTK_ARGUMEN... | |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Content.h | /*@@
@header Content.h
@date Sun Sep 17 14:19:23 2000
@author Tom Goodale
@desc
Routines exported by the Content stuff. Was httpd_Content.h; still
exported by that name.
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_CONTENT_H__
#define __HTTP_CONTENT_H__ 1
#define HTTP_QUICKLIN... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Expression.c | /*@@
@file Expression.c
@date Tue Sep 19 13:25:39 2000
@author Tom Goodale
@desc
Expression evaluator.
@enddesc
@version $Header$
@@*/
#ifndef TEST_HTTP_EVALUATE
#include "cctk.h"
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "Expression.h"
static co... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Parameters.c | /*@@
@file Parameters.c
@date Wed Sep 13 23:47:43 2000
@author Tom Goodale
@desc
Files for displaying and steering parameters
@enddesc
@version $Header$
@@*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "cctk.... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Sockets.c | /*@@
@file Sockets.c
@date Wed Sep 13 20:39:15 2000
@author Tom Goodale
@desc
Routines which deal with sockets.
These should probably move into thorn Socket at some point if
they aren't already there.
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include "cctk_Parameters.... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | httpd.h | /*@@
@header httpd.h
@date Wed Sep 13 20:15:23 2000
@author Tom Goodale
@desc
@enddesc
@version $Header$
@@*/
#include "httpRequest.h"
#ifndef __HTTPD_H__
#define __HTTPD_H__ 1
typedef struct
{
int steer;
int paused;
int terminate;
int timeout_seconds;
int timeout_usecon... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SString.c | /*@@
@file SString.c
@date 02.04.2004
@author Steve White
@desc Module for generic operations on strings
@enddesc
@version $Header$
@@*/
#include "SString.h"
#include "SStringIO.h"
#include <string.h>
#include <stdlib.h>
#include "util_String.h"
#ifndef MIN
#define MIN( a, b ) ( (a) ... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Thorns.c | /*@@
@file Groups.c
@date Wed Sep 24 23:47:43 2000
@author Gabrielle Allen
@desc
Pages about thorns
@enddesc
@version $Header$
@@*/
#include <stdio.h>
#include "cctk.h"
#include "util_String.h"
#include "httpRequest.h"
#include "Content.h"
#include "SString_Namespace.h"
#include... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Steer.c | /*@@
@file Steer.c
@date Fri Sep 15 09:51:01 2000
@author Tom Goodale
@desc
Parameter steering interface for the webserver.
Perhaps should make these required driver functions ?
@enddesc
@version $Header$
@@*/
#ifndef TEST_HTTP_STEER
#include "cctk.h"
#endif
#ifdef HAVE_CAPABIL... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SStringHTML.h | /*@@
@file SStringHTML.h
@date 02.04.2004
@author Steve White
@desc Extension to Strings module with function specific to HTML
@enddesc
@version $Header$
@@*/
#ifndef _SSTRINGHTML_H
#define _SSTRINGHTML_H
#include "SString.h"
/*
const String * StringHTMLBodyTag = StringHTMLBeginTag( B... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | base64.h | /*@@
@header base64.h
@date Fri Sep 15 12:03:21 2000
@author Tom Goodale
@desc
Header for base64 encoding stuff.
@enddesc
@version $Header$
@@*/
#ifndef __BASE64_H__
#define __BASE64_H__ 1
#ifdef __cplusplus
extern "C"
{
#endif
int HTTP_b64_ntop(unsigned char *src, size_t srcleng... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Redirect.h | /*@@
@header Redirect.h
@date Fri May 18 11:08:25 2001
@author Tom Goodale
@desc
Rdirection stuff. Was http_Redirect.h.
@enddesc
@version
@@*/
#ifndef _HTTP_REDIRECT_H_
#define _HTTP_REDIRECT_H_ 1
#ifdef __cplusplus
extern "C"
{
#endif
int HTTP_SetupRedirect(int port,
... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Map.cc | #include <map>
#include <string>
#include "httpd_Map.h"
typedef std::map<std::string,void *> iMap;
extern "C" {
uMap Httpd_MapCreate(void)
{
return new iMap;
}
void * Httpd_MapData(uMap map, size_t keylen, const char * key)
{
iMap& imap(*static_cast<iMap*>(map));
const std::string ikey(key, keylen);
iMap::... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Cookies.c | /*@@
@file Cookies.c
@date Mon Sep 18 21:08:37 2000
@author Tom Goodale
@desc
Cookie stuff.
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include <stdlib.h>
#include "util_String.h"
#include "httpRequest.h"
#include "Cookies.h"
#include "SString_Namespace.h"
static const c... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Groups.c | /*@@
@file Groups.c
@date Wed Sep 14 23:47:43 2000
@author Gabrielle Allen
@desc
Pages about groups
@enddesc
@version $Header$
@@*/
#include <stdlib.h>
#include "cctk.h"
#include "httpRequest.h"
#include "Content.h"
#include "SString_Namespace.h"
static const char *rcsid = "$Hea... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SStringHTML_Namespace.h | /*@@
@file SStringHTMLNamespace.h
@date 02.04.2004
@author Steve White
@desc Extension to Strings module with function specific to HTML
@enddesc
@version $Header$
@@*/
#ifndef _SSTRINGHTML_NAMESPACE_H
#define _SSTRINGHTML_NAMESPACE_H
#include "SStringHTML.h"
#define EncodeHTML( s ) \... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SString_Namespace.h | /*@@
@file SString_Namespace.h
@date 02.04.2004
@author Steve White
@desc Module for generic operations on strings
@enddesc
@version $Header$
@@*/
#ifndef _SSTRING_NAMESPACE_H
#define _SSTRING_NAMESPACE_H
#include "SString.h"
/* A poor man's namespace for the String module */
#define... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Server.c | /*@@
@file Server.c
@date Wed Sep 13 20:10:24 2000
@author Tom Goodale
@desc
Web serving and utility routines.
@enddesc
@version $Header$
@@*/
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Parameters.h"
#include "httpd_Map.h"
#include "util_String.... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SString.h | /*@@
@file SString.h
@date 02.04.2004
@author Steve White
@desc C Module for generic operations on strings
@enddesc
@version $Header$
@@*/
#ifndef _SSTRING_H
#define _SSTRING_H
#include <stddef.h>
typedef struct String_tag String; /* The abstract type for a String */
typedef ch... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Expression.h | /*@@
@header Expression.h
@date Tue Sep 19 22:02:45 2000
@author Tom Goodale
@desc
Header for expression stuff. Was http_Expression.h
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_EXPRESSION_H__
#define __HTTP_EXPRESSION_H__ 1
#ifdef __cplusplus
extern "C"
{
#endif
char *HTTP_Ex... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Authorisation.c | /*@@
@file Authorisation.c
@date Fri Sep 15 12:34:59 2000
@author Tom Goodale
@desc
Authorisation stuff for webserver
@enddesc
@version $Header
@@*/
#include "cctk.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifde... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | make.code.defn | # Main make.code.defn file for thorn httpd
# $Header$
# Source files in this directory
MISC_SRC = Startup.c Expression.c Map.cc
SERVER_SRC = Server.c Sockets.c http.c
CONTENT_SRC = Content.c Headers.c Groups.c Parameters.c Thorns.c
STEERING_SRC = Steer.c
AUTHENTICATION_SRC = Authorisation.c base64.c
COOKIES_SRC... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Content.c | /*@@
@file Content.c
@date Wed Sep 13 23:47:43 2000
@author Tom Goodale
@desc
The actual content of the web pages.
Note that this need not be in this thorn, since
it should just use the interface defined in http_Request.h
and should neve... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SStringIO_Namespace.h | /*@@
@file SStringIO_Namespace.h
@date 02.04.2004
@author Steve White
@desc Extensions to Strings module involvint file IO
@enddesc
@version $Header$
@@*/
#ifndef _SSTRINGIO_NAMESPACE_H
#define _SSTRINGIO_NAMESPACE_H
#include "SStringIO.h"
#define ReadToDelimiter( a, f, d ) StringRead... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | HTTPDUtils.h | /*@@
@header HTTPDUtils.h
@date April 7 2004
@author Steve White
@desc
Routines exported by HTTPD to other thorns.
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_UTILS_H__
#define __HTTP_UTILS_H__ 1
#define HTTP_QUICKLINK 1
#include "http_Request.h"
#include "http_SString.h"
#inclu... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Redirect.c | /*@@
@file Redirect.c
@date Fri May 18 10:03:15 2001
@author Tom Goodale
@desc
File to contain John Shalf's HTTP redirect stuff.
@enddesc
@version $Id$
@@*/
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#ifdef CCTK_MPI
#include <mpi.h>
#endif /* CCTK_MPI *... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | base64.c | /*@@
@file base64.c
@date 1995
@author Various people, see below.
@desc
@enddesc
@history
@hdate Fri Sep 15 14:32:47 2000 @hauthor Tom Goodale
@hdesc Put into the httpd thorn.
@endhistory
@version $Header$
@@*/
/*
* Copyright (c) 1996 by Internet Software Consortiu... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | http.c | /*@@
@file http.c
@date Wed Sep 13 20:44:31 2000
@author Tom Goodale
@desc
Stuff to parse and deal with HTTP requests.
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include "cctk_Parameters.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SStringHTML.c | /*@@
@file SStringHTML.c
@date 02.04.2004
@author Steve White
@desc Extension to Strings module with function specific to HTML
@enddesc
@version $Header$
@@*/
#include "SStringHTML.h"
static String *
StringReplaceCharWithCString( String * str, SSCHAR c, const SSCHAR *cstr );
String * ... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Steer.h | /*@@
@header Steer.h
@date Fri Sep 15 11:31:04 2000
@author Tom Goodale
@desc
Webserver parameter steering routines. Was http_Steer.h; still exported
by that name
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_STEER_H__
#define __HTTP_STEER_H__ 1
#ifdef __cplusplus
extern "C"
... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | httpd_Map.h | #ifndef HTTPD_MAP_H_
#define HTTPD_MAP_H_ 1
#include <stddef.h>
#if __cplusplus
extern "C" {
#define VOID
#else
#define VOID void
#endif
typedef void * uMap;
uMap Httpd_MapCreate(VOID);
void * Httpd_MapData(uMap map, size_t keylen, const char * key);
int Httpd_MapStore(uMap map, size_t keylen, const char * key, voi... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Auth.h | /*@@
@header Auth.h
@date Fri Sep 15 13:20:01 2000
@author Tom Goodale
@desc
Was httpd_Auth.h; still exported by that name.
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_AUTH_H__
#define __HTTP_AUTH_H__ 1
#include "httpRequest.h"
#ifdef __cplusplus
extern "C"
{
#endif
int HTTP_A... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | httpRequest.h | /*@@
@header httpRequest.h
@date Wed Sep 13 23:49:30 2000
@author Tom Goodale
@desc
Was http_Request.h
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_REQUEST_H__
#define __HTTP_REQUEST_H__ 1
typedef struct HTTPSocketTag httpSocket;
typedef struct HTTPArg httpArg;
/* This is the mai... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Cookies.h | /*@@
@header Cookies.h
@date Mon Sep 18 22:40:06 2000
@author Tom Goodale
@desc
Functions to manipulate cookies. Was http_Cookies.h; still exported by
that name
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_COOKIES_H__
#define __HTTP_COOKIES_H__ 1
#include "httpRequest.h"
#ifd... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | SStringIO.h | /*@@
@file SStringIO.h
@date 02.04.2004
@author Steve White
@desc Extensions to Strings module involvint file IO
@enddesc
@version $Header$
@@*/
#ifndef _SSTRINGIO_H
#define _SSTRINGIO_H
#include "SString.h"
#include <stdio.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* File utiliti... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Headers.c | /*@@
@file Headers.c
@date Wed Sep 17 23:47:43 2000
@author Gabrielle Allen
@desc
Functions to return standard headers and footers for HTML pages
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include "util_String.h"
#include "SString_Namespace.h"
#define EMPTYSTRING { '\0' }... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | Startup.c | /*@@
@file Startup.c
@date Wed Sep 13 21:26:56 2000
@author Tom Goodale
@desc
Scheduled routines for the HTTPD thorn.
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_CAPABILITY_PTHREADS
#include <pthread.h>
#endif
#include "cc... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | httpSString.h | /*@@
@header http_SString.h
@date April 7 14:19:23 2004
@author Steve White
@desc
Routines exported by the Content stuff.
@enddesc
@version $Header$
@@*/
#ifndef __HTTP_SSTRING_H__
#define __HTTP_SSTRING_H__ 1
#include "SString.h"
#define EMPTYSTRING {'\0'}
#ifdef __cplusplus
exte... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | images/wwwcactuscodeorg.h | #ifndef __wwwcactuscodeorg_H_
#define __wwwcactuscodeorg_H_
static unsigned char wwwcactuscodeorg[]={
0xFF,0xD8,0xFF,0xE0,0x00,0x10,0x4A,0x46,0x49,
0x46,0x00,0x01,0x01,0x00,0x00,0x01,0x00,0x01,0x00,0x00,0xFF,
0xFE,0x00,0x4F,0x43,0x52,0x45,0x41,0x54,0x4F,0x52,0x3A,0x20,
0x58,0x56,0x20,0x56,0x65,0x72,0x73,0x69,0x6F... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | images/www.h | #ifndef __www_H_
#define __www_H_
static unsigned char www[]={
0x47,0x49,0x46,0x38,0x37,0x61,0xA1,0x00,0x20,
0x00,0xF7,0x00,0x00,0x0C,0x22,0x04,0x7C,0x93,0x29,0xAC,0xCA,
0x57,0xBC,0xCA,0xB4,0x96,0xB1,0x47,0xCC,0xE7,0x71,0xDC,0xE7,
0xB2,0x9C,0xAE,0x84,0x44,0x5A,0x0C,0x5F,0x79,0x19,0xB4,0xCB,
0x80,0xE6,0xE8,0xE2,0... |
CactusConnect/HTTPD | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn HTTPD
# $Header$
REQUIRES SOCKET
# This will disappear if we can function alias the stuff
PROVIDES HTTPD
{
SCRIPT
LANG
}
OPTIONAL MPI
{
}
OPTIONAL PTHREADS
{
}
| # Interface definition for thorn HTTPD
# $Header$
Implements: HTTPD
Inherits: Socket
USES INCLUDE HEADER: SocketUtils.h
INCLUDE HEADER: Auth.h in http_Auth.h
INCLUDE HEADER: Cookies.h in http_Cookies.h
INCLUDE HEADER: Steer.h in http_Steer.h
INCLUDE HEADER: Content.h in http_Content.h
CCTK_INT FUNCTION Send_Twitter... | # Parameter definitions for thorn HTTPD
# $Header$
shares: Cactus
USES REAL cctk_final_time
USES REAL cctk_initial_time
USES INT cctk_itlast
private:
# Probably the most useful parameter
INT port "HTTP port number to use (can be overridden by shell variable HTTPD_PORT)"
{
1:65535 :: "Any valid port"
} 555... | # Schedule definitions for thorn HTTPD
# $Header$
SCHEDULE GROUP HTTP_Startup AT startup
{
OPTIONS: GLOBAL
} "HTTP daemon startup group"
SCHEDULE HTTP_StartServer in HTTP_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Start HTTP server"
SCHEDULE GROUP HTTP_SetupPages in HTTP_Startup AFTER HTTP_StartServer
{
} "Group to ... | images/ImageEncoder.c | /***********************************************************
ImageEncoder: Standalone program to convert any image into
a static character array (each byte represented in
hexadecimal) in a header file. Use this for any
images that you want to embed in the code so
that it can run standal... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| PtrList.c | #include "PtrList.h"
#include <stdlib.h>
#include <memory.h>
#ifdef macintosh
#include <string.h>
#endif
#define ITEMSONFULLPAGE 62
#define TAKEDEFAULTSIZE 0
#define MIN(a,b) (a<b?a:b)
typedef struct ListPage_tag ListPage;
typedef struct PtrList_tag
{
ListPage *firstPage;
size_t itemsPerPage;
} Ptr... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| HostNames.c | /*@@
@file HostNames.c
@date Tue Nov 7 17:36:35 2000
@author Tom Goodale
@desc
Routines to collect data about all hosts in a Ccatus job.
@enddesc
@version $Header$
@@*/
#ifndef TEST_HOSTNAMES
#include "cctk.h"
#include "util_Network.h"
#endif
#include <stdlib.h>
#include <string... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| HTTPD_FileList.h | #ifndef _HTTPDFILELIST_H_
#define _HTTPDFILELIST_H_ 1
/* SW temporary explicit paths while testing SString module */
#include "CactusConnect/HTTPD/src/SString.h"
#include "CactusConnect/HTTPD/src/SString_Namespace.h"
typedef struct httpFileItem_tag
{
const String *thorn;
const String *varname;
const String *mim... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| IO.c | /*@@
@file IO.c
@date Sun Sep 17 16:19:17 2000
@author Tom Goodale
@desc
Stuff for displaying IO callbacks on the web page.
@enddesc
@version $Id$
@@*/
#include <stdlib.h>
#include "cctk.h"
#include "cctk_Parameters.h"
#include <stdlib.h>
#include <fcntl.h>
#ifdef HAVE... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| TimerInfo.c | /*@@
@file TimerInfo.c
@date Wed Dec 16 2004
@author Andre Werthmann
@desc
Pages about CCTK timers
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "util_String.h"
#include "httpextra_HostNames.h"
#... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| Groups.c | /*@@
@file Groups.c
@date Wed Sep 14 23:47:43 2000
@author Gabrielle Allen
@desc
Pages about groups.
@enddesc
@version $Id$
@@*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "cctk.h"
#include "util_String.h"
#include "http_Content.h"
static cons... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| PtrList.h | #ifndef __PTRLIST_HH__
#define __PTRLIST_HH__
#include <stddef.h>
typedef enum { PLFALSE, PLTRUE } PLBOOL;
typedef struct PtrList_tag PtrList;
#ifdef __cplusplus
extern "C"
{
#endif
/* Creation and deletion */
PtrList * List_New( void );
PtrList * List_NewWithPageSize( si... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| PtrList.txt | PtrList
A C module for a list of pointers.
Embodies the idea of a list as a grocery list: the list doesn't contain
the groceries, it only refers to them; if you throw the list away, you
don't necessarily lose the produce.
Typical use
===========
The items in a PtrLi... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| make.code.defn | # Main make.code.defn file for thorn httpd_utils
# $Header$
# Source files in this directory
SRCS = Groups.c Startup.c IO.c Processors.c HostNames.c PtrList.c HTTPD_FileList.c TimerInfo.c
# Subdirectories containing source files
SUBDIRS =
|
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| HTTPD_FileList.c | #include "HTTPD_FileList.h"
#include "PtrList.h"
/* wrapper functions to make PtrList type-safe for FileList items */
size_t
HTTPD_FileList_NumberOfItems( const FileList * list )
{
return List_NumberOfItems( list );
}
FileList *
HTTPD_FileList_New()
{
return (FileList *)List_New();
}
void
HTTPD_File... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| Processors.c | /*@@
@file Processors.c
@date Wed Nov 8 2000
@author Gabrielle Allen
@desc
Pages about processors
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include "util_String.h"
#include "httpextra_HostNames.h"
#include "http_Content.h"
/* SW Temporary, while testing the SString mod... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| PtrList_Namespace.h | #ifndef __PTRLIST_NAMESPACE_HH__
#define __PTRLIST_NAMESPACE_HH__
#include "PtrList.h"
/* A poor man's namespace for the PtrList module */
#define NumberOfItems( a ) \
List_NumberOfItems( a )
#define Remove( a, b ) \
List_Remove( a, b )
#define Item( a, b ) \
List_Item... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| httpextra_HostNames.h | /*@@
@header httpextra_HostNames.h
@date Tue Nov 7 23:57:31 2000
@author Tom Goodale
@desc
Prototypes for routines which give data about hosts in the machine.
@enddesc
@version $Header$
@@*/
#ifndef _HOSTNAMES_H_
#define _HOSTNAMES_H_ 1
#ifdef __cplusplus
extern "C"
{
#endif
void... |
CactusConnect/HTTPDExtra | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definition for thorn http_utils
# $Header$
REQUIRES HTTPD IOUTIL
OPTIONAL MPI
{
}
| # Interface definition for thorn httpd_utils
# $Header$
implements: http_utils
USES INCLUDE HEADER: http_Auth.h
USES INCLUDE HEADER: http_Content.h
| # Parameter definitions for thorn httpd_utils
# $Header$
private:
INT viewport_refresh_seconds "Viewport web page refresh time seconds" STEERABLE = ALWAYS
{
-1: :: "-1 for no refresh, 0 for immediate refresh"
} -1
| # Schedule definitions for thorn httpd_utils
# $Header$
SCHEDULE HTTPUTILS_Startup AT startup AFTER HTTP_Startup BEFORE IOUtil_Startup
{
LANG: C
OPTIONS: GLOBAL
} "Utils for httpd startup"
| Startup.c | /*@@
@file Startup.c
@date Wed Sep 13 21:26:56 2000
@author Tom Goodale
@desc
Thorn HTTPDExtra's startup routines.
@enddesc
@version $Id$
@@*/
#include "cctk.h"
#include "httpextra_HostNames.h"
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusConnect_HTTP... |
CactusConnect/Socket | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn SOCKET
# $Header$
# This may disappear if we can function alias the calls
PROVIDES SOCKET
{
SCRIPT
LANG
}
| # Interface definition for thorn Socket
# $Header$
implements: Socket
INCLUDE HEADER: SocketUtils.h in SocketUtils.h
| # Parameter definitions for thorn Socket
# $Header$
| # Schedule definitions for thorn Socket
# $Header$
| Utils.c | /*@@
@file Utils.c
@date 1991
@author John Shalf
@desc
Routines which deal with sockets.
@enddesc
@history
@hdate Thu May 25 13:45:29 2000
@hauthor Tom Goodale
@hdesc Moved this file into Cactus
@hdate Thu 14 May 2002
@hauthor Thomas Radke
@... |
CactusConnect/Socket | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn SOCKET
# $Header$
# This may disappear if we can function alias the calls
PROVIDES SOCKET
{
SCRIPT
LANG
}
| # Interface definition for thorn Socket
# $Header$
implements: Socket
INCLUDE HEADER: SocketUtils.h in SocketUtils.h
| # Parameter definitions for thorn Socket
# $Header$
| # Schedule definitions for thorn Socket
# $Header$
| make.code.defn | # Main make.code.defn file for thorn Socket
# $Header$
# Source files in this directory
SRCS = Utils.c
|
CactusConnect/Socket | https://bitbucket.org/cactuscode/cactusconnect.git | # Configuration definitions for thorn SOCKET
# $Header$
# This may disappear if we can function alias the calls
PROVIDES SOCKET
{
SCRIPT
LANG
}
| # Interface definition for thorn Socket
# $Header$
implements: Socket
INCLUDE HEADER: SocketUtils.h in SocketUtils.h
| # Parameter definitions for thorn Socket
# $Header$
| # Schedule definitions for thorn Socket
# $Header$
| SocketUtils.h | /*@@
@header SocketUtils.h
@date 1991
@author John Shalf
@desc
Header file for thorn Socket which defines routines
to deal with sockets.
@enddesc
@version $Header$
@@*/
#ifndef _SOCKET_SOCKETUTILS_H_
#define _SOCKET_SOCKETUTILS_H_ 1
#ifdef __cplusplus
exter... |
CactusElliptic/EllBase | https://bitbucket.org/cactuscode/cactuselliptic.git | PROVIDES EllBase
{
SCRIPT
LANG
}
| # Interface definition for thorn EllBase
# $Header$
implements: ellbase
INCLUDES HEADER: EllBase.h in EllBase.h
INCLUDES HEADER: Ell_DBstructure.h in Ell_DBstructure.h
| # Parameter definitions for thorn EllBase
# $Header$
restricted:
KEYWORD elliptic_verbose "elliptic verbosity"
{
"yes" :: "be verbose in elliptic"
"no" :: "silence in elliptic"
"debug":: "even more verbose in elliptic"
} "no"
| # Schedule definitions for thorn EllBase
# $Header$
schedule Ell_RegisterBaseEqTypes at STARTUP
{
LANG:C
} "Register the standard elliptic classes"
| Ell_Interface.c | /*@@
@header Ell_Interface.h
@date
@author Gerd Lanferman
@desc
Elliptic class routines for:
* Registering the equation class wrapper (the function which is called for
a specific class of problems by passing all the necessay arguments PLUS
the name of the desired solver
* Equ... |
CactusElliptic/EllBase | https://bitbucket.org/cactuscode/cactuselliptic.git | PROVIDES EllBase
{
SCRIPT
LANG
}
| # Interface definition for thorn EllBase
# $Header$
implements: ellbase
INCLUDES HEADER: EllBase.h in EllBase.h
INCLUDES HEADER: Ell_DBstructure.h in Ell_DBstructure.h
| # Parameter definitions for thorn EllBase
# $Header$
restricted:
KEYWORD elliptic_verbose "elliptic verbosity"
{
"yes" :: "be verbose in elliptic"
"no" :: "silence in elliptic"
"debug":: "even more verbose in elliptic"
} "no"
| # Schedule definitions for thorn EllBase
# $Header$
schedule Ell_RegisterBaseEqTypes at STARTUP
{
LANG:C
} "Register the standard elliptic classes"
| Ell_DBstructure.h | #ifndef _ELL_DBSTRUCTURE_H_
#define _ELL_DBSTRUCTURE_H_
#define ELL_NO 0
#define ELL_YES 1
#define ELL_ISNOKEY -1
#define ELLCREATE_FAILED -1
#define ELLCREATE_TWICE 1
#define ELLGET_NOKEY -1
#define ELLGET_BADTYPE -2
#define ELLGET_NOTSET -3
#define ELLSET_FAILED -1
#define ELLSET_BADTYPE ... |
CactusElliptic/EllBase | https://bitbucket.org/cactuscode/cactuselliptic.git | PROVIDES EllBase
{
SCRIPT
LANG
}
| # Interface definition for thorn EllBase
# $Header$
implements: ellbase
INCLUDES HEADER: EllBase.h in EllBase.h
INCLUDES HEADER: Ell_DBstructure.h in Ell_DBstructure.h
| # Parameter definitions for thorn EllBase
# $Header$
restricted:
KEYWORD elliptic_verbose "elliptic verbosity"
{
"yes" :: "be verbose in elliptic"
"no" :: "silence in elliptic"
"debug":: "even more verbose in elliptic"
} "no"
| # Schedule definitions for thorn EllBase
# $Header$
schedule Ell_RegisterBaseEqTypes at STARTUP
{
LANG:C
} "Register the standard elliptic classes"
| Ell_DBstructure.c | /*@@
@file Ell_DBstructure.c
@date
@author Gerd Lanfermann
@desc
Database for elliptic parameters
@enddesc
@version $Id$
@@*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Parameters.h"
#include "cctk_WarnLevel.h"
#include "cctk_Fortr... |
CactusElliptic/EllBase | https://bitbucket.org/cactuscode/cactuselliptic.git | PROVIDES EllBase
{
SCRIPT
LANG
}
| # Interface definition for thorn EllBase
# $Header$
implements: ellbase
INCLUDES HEADER: EllBase.h in EllBase.h
INCLUDES HEADER: Ell_DBstructure.h in Ell_DBstructure.h
| # Parameter definitions for thorn EllBase
# $Header$
restricted:
KEYWORD elliptic_verbose "elliptic verbosity"
{
"yes" :: "be verbose in elliptic"
"no" :: "silence in elliptic"
"debug":: "even more verbose in elliptic"
} "no"
| # Schedule definitions for thorn EllBase
# $Header$
schedule Ell_RegisterBaseEqTypes at STARTUP
{
LANG:C
} "Register the standard elliptic classes"
| EllBase.h | /*@@
@header EllBase.h
@date
@author Gerd Lanferman
@desc
Basic Elliptic solver functions.
@enddesc
@version $Header$
@@*/
#ifndef _ELLBASE_H_
#define _ELLBASE_H_
#define ELL_SUCCESS 0
#define ELL_NOSOLVER -1
#define ELL_NOCONVERGENCE -2
#define ELL_NOCLASS -3
... |
CactusElliptic/EllBase | https://bitbucket.org/cactuscode/cactuselliptic.git | PROVIDES EllBase
{
SCRIPT
LANG
}
| # Interface definition for thorn EllBase
# $Header$
implements: ellbase
INCLUDES HEADER: EllBase.h in EllBase.h
INCLUDES HEADER: Ell_DBstructure.h in Ell_DBstructure.h
| # Parameter definitions for thorn EllBase
# $Header$
restricted:
KEYWORD elliptic_verbose "elliptic verbosity"
{
"yes" :: "be verbose in elliptic"
"no" :: "silence in elliptic"
"debug":: "even more verbose in elliptic"
} "no"
| # Schedule definitions for thorn EllBase
# $Header$
schedule Ell_RegisterBaseEqTypes at STARTUP
{
LANG:C
} "Register the standard elliptic classes"
| make.code.defn | # Main make.code.defn file for thorn EllBase
# $Header$
# Source files in this directory
SRCS = Ell_Interface.c Ell_Register.c Startup.c Ell_DBstructure.c
# Subdirectories containing source files
SUBDIRS =
|
CactusElliptic/EllBase | https://bitbucket.org/cactuscode/cactuselliptic.git | PROVIDES EllBase
{
SCRIPT
LANG
}
| # Interface definition for thorn EllBase
# $Header$
implements: ellbase
INCLUDES HEADER: EllBase.h in EllBase.h
INCLUDES HEADER: Ell_DBstructure.h in Ell_DBstructure.h
| # Parameter definitions for thorn EllBase
# $Header$
restricted:
KEYWORD elliptic_verbose "elliptic verbosity"
{
"yes" :: "be verbose in elliptic"
"no" :: "silence in elliptic"
"debug":: "even more verbose in elliptic"
} "no"
| # Schedule definitions for thorn EllBase
# $Header$
schedule Ell_RegisterBaseEqTypes at STARTUP
{
LANG:C
} "Register the standard elliptic classes"
| Ell_Register.c | /*@@
@header Ell_Register.h
@date
@author Gerd Lanferman
@desc
Registration routines for elliptic classes and solvers
@enddesc
@version $Header$
@@*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Parameters.h"
#include "EllBase.h"
... |
CactusElliptic/EllBase | https://bitbucket.org/cactuscode/cactuselliptic.git | PROVIDES EllBase
{
SCRIPT
LANG
}
| # Interface definition for thorn EllBase
# $Header$
implements: ellbase
INCLUDES HEADER: EllBase.h in EllBase.h
INCLUDES HEADER: Ell_DBstructure.h in Ell_DBstructure.h
| # Parameter definitions for thorn EllBase
# $Header$
restricted:
KEYWORD elliptic_verbose "elliptic verbosity"
{
"yes" :: "be verbose in elliptic"
"no" :: "silence in elliptic"
"debug":: "even more verbose in elliptic"
} "no"
| # Schedule definitions for thorn EllBase
# $Header$
schedule Ell_RegisterBaseEqTypes at STARTUP
{
LANG:C
} "Register the standard elliptic classes"
| Startup.c | /*@@
@file Startup.c
@date Wed Apr 19 20:35:04 2000
@author Gerd Lanfermann
@desc
Startup.c
@enddesc
@@*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "Ell_DBstructure.h"
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusEllipt... |
CactusElliptic/EllSOR | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn EllSOR
# $Header$
REQUIRES Boundary CartGrid3D
| # Interface definition for thorn EllSOR
# $Header$
implements: ellsor
inherits: ellbase, boundary
USES INCLUDE HEADER: EllBase.h
USES INCLUDE HEADER: Ell_DBstructure.h
USES INCLUDE HEADER: Boundary.h
USES INCLUDE HEADER: Symmetry.h
| # Parameter definitions for thorn EllSOR
# $Header$
shares:ellbase
USES KEYWORD elliptic_verbose
| # Schedule definitions for thorn EllSOR
# $Header$
schedule EllSOR_Register at CCTK_BASEGRID
{
LANG:C
} "Register the SOR solvers"
| Flat.c | /*@@
@file Flat.c
@date Tue Aug 24 12:50:07 1999
@author Gerd Lanfermann
@desc
SOR solver for 3D flat equation
@enddesc
@@*/
/*#define DEBUG_ELLIPTIC*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Parameters.h"
#inc... |
CactusElliptic/EllSOR | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn EllSOR
# $Header$
REQUIRES Boundary CartGrid3D
| # Interface definition for thorn EllSOR
# $Header$
implements: ellsor
inherits: ellbase, boundary
USES INCLUDE HEADER: EllBase.h
USES INCLUDE HEADER: Ell_DBstructure.h
USES INCLUDE HEADER: Boundary.h
USES INCLUDE HEADER: Symmetry.h
| # Parameter definitions for thorn EllSOR
# $Header$
shares:ellbase
USES KEYWORD elliptic_verbose
| # Schedule definitions for thorn EllSOR
# $Header$
schedule EllSOR_Register at CCTK_BASEGRID
{
LANG:C
} "Register the SOR solvers"
| Wrapper.c | /*@@
@file Wrapper.c
@date Tue Aug 24 12:50:07 1999
@author Gerd Lanfermann
@desc
The C wrapper, which calles the core Fortran routine, which
performs the actual solve.
We cannot derive the pointers to the GF data from the indices in
Fortran. So we do this here in C and then pas... |
CactusElliptic/EllSOR | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn EllSOR
# $Header$
REQUIRES Boundary CartGrid3D
| # Interface definition for thorn EllSOR
# $Header$
implements: ellsor
inherits: ellbase, boundary
USES INCLUDE HEADER: EllBase.h
USES INCLUDE HEADER: Ell_DBstructure.h
USES INCLUDE HEADER: Boundary.h
USES INCLUDE HEADER: Symmetry.h
| # Parameter definitions for thorn EllSOR
# $Header$
shares:ellbase
USES KEYWORD elliptic_verbose
| # Schedule definitions for thorn EllSOR
# $Header$
schedule EllSOR_Register at CCTK_BASEGRID
{
LANG:C
} "Register the SOR solvers"
| ConfMetric.c | /*@@
@file ConfMetric.c
@date Tue Sep 26 11:29:18 2000
@author Gerd Lanfermann
@desc
Provides sor solver engine routines
@enddesc
@@*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Paramete... |
CactusElliptic/EllSOR | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn EllSOR
# $Header$
REQUIRES Boundary CartGrid3D
| # Interface definition for thorn EllSOR
# $Header$
implements: ellsor
inherits: ellbase, boundary
USES INCLUDE HEADER: EllBase.h
USES INCLUDE HEADER: Ell_DBstructure.h
USES INCLUDE HEADER: Boundary.h
USES INCLUDE HEADER: Symmetry.h
| # Parameter definitions for thorn EllSOR
# $Header$
shares:ellbase
USES KEYWORD elliptic_verbose
| # Schedule definitions for thorn EllSOR
# $Header$
schedule EllSOR_Register at CCTK_BASEGRID
{
LANG:C
} "Register the SOR solvers"
| make.code.defn | # Main make.code.defn file for thorn EllSOR
# $Header$
# Source files in this directory
SRCS = Startup.c Wrapper.c ConfMetric.c Flat.c
# Subdirectories containing source files
SUBDIRS =
|
CactusElliptic/EllSOR | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn EllSOR
# $Header$
REQUIRES Boundary CartGrid3D
| # Interface definition for thorn EllSOR
# $Header$
implements: ellsor
inherits: ellbase, boundary
USES INCLUDE HEADER: EllBase.h
USES INCLUDE HEADER: Ell_DBstructure.h
USES INCLUDE HEADER: Boundary.h
USES INCLUDE HEADER: Symmetry.h
| # Parameter definitions for thorn EllSOR
# $Header$
shares:ellbase
USES KEYWORD elliptic_verbose
| # Schedule definitions for thorn EllSOR
# $Header$
schedule EllSOR_Register at CCTK_BASEGRID
{
LANG:C
} "Register the SOR solvers"
| Startup.c | /*@@
@header Startup.c
@date
@author
@desc
Register known elliptic interfaces
@enddesc
@version $Header$
@@*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "CactusElliptic/EllBase/sr... |
CactusElliptic/TATelliptic | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn TATelliptic
PROVIDES TATelliptic
{
SCRIPT
LANG
}
| # Interface definition for thorn TATelliptic
IMPLEMENTS: TATelliptic
INCLUDE HEADER: TATelliptic.h IN TATelliptic.h
| # Parameter definitions for thorn TATelliptic
| # Schedule definitions for thorn TATelliptic
SCHEDULE TATelliptic_register_monitor AT startup
{
LANG: C
} "Register the pseudo solver"
| TATelliptic.h | #ifndef TATELLIPTIC_H
#define TATELLIPTIC_H
#ifdef __cplusplus
extern "C" {
#endif
#include "cctk.h"
/* A calcfunc is a user supplied function that does some calculation.
When a calcfunc returns non-zero, the solving is aborted. */
typedef int (* calcfunc) (const cGH * cctkGH,
int options_table,
void * ... |
CactusElliptic/TATelliptic | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn TATelliptic
PROVIDES TATelliptic
{
SCRIPT
LANG
}
| # Interface definition for thorn TATelliptic
IMPLEMENTS: TATelliptic
INCLUDE HEADER: TATelliptic.h IN TATelliptic.h
| # Parameter definitions for thorn TATelliptic
| # Schedule definitions for thorn TATelliptic
SCHEDULE TATelliptic_register_monitor AT startup
{
LANG: C
} "Register the pseudo solver"
| make.code.defn | # Main make.code.defn file for thorn TATelliptic
# Source files in this directory
SRCS = TATelliptic.c TATmonitor.c
# Subdirectories containing source files
SUBDIRS =
|
CactusElliptic/TATelliptic | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn TATelliptic
PROVIDES TATelliptic
{
SCRIPT
LANG
}
| # Interface definition for thorn TATelliptic
IMPLEMENTS: TATelliptic
INCLUDE HEADER: TATelliptic.h IN TATelliptic.h
| # Parameter definitions for thorn TATelliptic
| # Schedule definitions for thorn TATelliptic
SCHEDULE TATelliptic_register_monitor AT startup
{
LANG: C
} "Register the pseudo solver"
| TATelliptic.c | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <cctk.h>
#include <cctk_FortranString.h>
#include <TATelliptic.h>
/* Linked list with all registered solvers */
static struct solverinfo {
struct solverinfo * next; /* linked list cdr pointer */
solvefunc solver; /* the so... |
CactusElliptic/TATelliptic | https://bitbucket.org/cactuscode/cactuselliptic.git | # Configuration definition for thorn TATelliptic
PROVIDES TATelliptic
{
SCRIPT
LANG
}
| # Interface definition for thorn TATelliptic
IMPLEMENTS: TATelliptic
INCLUDE HEADER: TATelliptic.h IN TATelliptic.h
| # Parameter definitions for thorn TATelliptic
| # Schedule definitions for thorn TATelliptic
SCHEDULE TATelliptic_register_monitor AT startup
{
LANG: C
} "Register the pseudo solver"
| TATmonitor.c | #include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <util_ErrorCodes.h>
#include <util_Table.h>
#include <TATelliptic.h>
#define DIM 3
int TATelliptic_monitor (const cGH * const cctkGH,
const int * co... |
CactusExamples/DemoInterp | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn DemoInterp
# $Header$
implements: DemoInterp
private:
real coordarrays type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
xcoord,
ycoord,
zcoord
} "Coordinates for interpolating"
real realinterps type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
realinterp1,
realinterp2,
re... | # Parameter definitions for thorn DemoInterp
# $Header$
private:
real interp_radius "Radius at which to interpolate points"
{
0:* :: "Non-negative"
} 0.5
int arrsize "Size of interpolating arrays"
{
1:* :: "Positive"
} 10
INT interpolation_order "Order for interpolation" STEERABLE = ALWAYS
{
1:3 :: "Choose be... | # Schedule definitions for thorn DemoInterp
# $Header$
#storage: coords3d, coords2d, coords1d
storage: real3dvars,comp3dvars
storage: real2dvars,comp2dvars
storage: real1dvars,comp1dvars
storage: coordarrays,realinterps,compinterps
schedule SetUp3DGFs at INITIAL
{
LANG: Fortran
} "Set up 3D GFs to be interpolated"
... | Initial1D.F | #include "cctk.h"
#include "cctk_Arguments.h"
subroutine SetUp1DGFs(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
integer nx,ny
integer i,j
CCTK_REAL xp,rp
CCTK_REAL dx
nx = cctk_lsh(1)
dx = cctk_delta_space(1)
do i=1,nx
xp = (cctk_lb... | |
CactusExamples/DemoInterp | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn DemoInterp
# $Header$
implements: DemoInterp
private:
real coordarrays type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
xcoord,
ycoord,
zcoord
} "Coordinates for interpolating"
real realinterps type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
realinterp1,
realinterp2,
re... | # Parameter definitions for thorn DemoInterp
# $Header$
private:
real interp_radius "Radius at which to interpolate points"
{
0:* :: "Non-negative"
} 0.5
int arrsize "Size of interpolating arrays"
{
1:* :: "Positive"
} 10
INT interpolation_order "Order for interpolation" STEERABLE = ALWAYS
{
1:3 :: "Choose be... | # Schedule definitions for thorn DemoInterp
# $Header$
#storage: coords3d, coords2d, coords1d
storage: real3dvars,comp3dvars
storage: real2dvars,comp2dvars
storage: real1dvars,comp1dvars
storage: coordarrays,realinterps,compinterps
schedule SetUp3DGFs at INITIAL
{
LANG: Fortran
} "Set up 3D GFs to be interpolated"
... | Interp2D.F | #include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "cctk_Functions.h"
subroutine DemoInterp_Interp2D(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_PARAMETERS
DECLARE_CCTK_FUNCTIONS
integer i
integer ierror
CCTK_REAL ... | |
CactusExamples/DemoInterp | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn DemoInterp
# $Header$
implements: DemoInterp
private:
real coordarrays type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
xcoord,
ycoord,
zcoord
} "Coordinates for interpolating"
real realinterps type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
realinterp1,
realinterp2,
re... | # Parameter definitions for thorn DemoInterp
# $Header$
private:
real interp_radius "Radius at which to interpolate points"
{
0:* :: "Non-negative"
} 0.5
int arrsize "Size of interpolating arrays"
{
1:* :: "Positive"
} 10
INT interpolation_order "Order for interpolation" STEERABLE = ALWAYS
{
1:3 :: "Choose be... | # Schedule definitions for thorn DemoInterp
# $Header$
#storage: coords3d, coords2d, coords1d
storage: real3dvars,comp3dvars
storage: real2dvars,comp2dvars
storage: real1dvars,comp1dvars
storage: coordarrays,realinterps,compinterps
schedule SetUp3DGFs at INITIAL
{
LANG: Fortran
} "Set up 3D GFs to be interpolated"
... | Interp3D.F | #include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "cctk_Functions.h"
subroutine DemoInterp_Interp3D(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_PARAMETERS
DECLARE_CCTK_FUNCTIONS
integer three,one
integer i
integer... | |
CactusExamples/DemoInterp | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn DemoInterp
# $Header$
implements: DemoInterp
private:
real coordarrays type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
xcoord,
ycoord,
zcoord
} "Coordinates for interpolating"
real realinterps type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
realinterp1,
realinterp2,
re... | # Parameter definitions for thorn DemoInterp
# $Header$
private:
real interp_radius "Radius at which to interpolate points"
{
0:* :: "Non-negative"
} 0.5
int arrsize "Size of interpolating arrays"
{
1:* :: "Positive"
} 10
INT interpolation_order "Order for interpolation" STEERABLE = ALWAYS
{
1:3 :: "Choose be... | # Schedule definitions for thorn DemoInterp
# $Header$
#storage: coords3d, coords2d, coords1d
storage: real3dvars,comp3dvars
storage: real2dvars,comp2dvars
storage: real1dvars,comp1dvars
storage: coordarrays,realinterps,compinterps
schedule SetUp3DGFs at INITIAL
{
LANG: Fortran
} "Set up 3D GFs to be interpolated"
... | make.code.defn | # Main make.code.defn file for thorn DemoInterp
# $Header$
# Source files in this directory
SRCS = Initial1D.F Initial2D.F Initial3D.F Interp1D.F Interp2D.F Interp3D.F
| |
CactusExamples/DemoInterp | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn DemoInterp
# $Header$
implements: DemoInterp
private:
real coordarrays type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
xcoord,
ycoord,
zcoord
} "Coordinates for interpolating"
real realinterps type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
realinterp1,
realinterp2,
re... | # Parameter definitions for thorn DemoInterp
# $Header$
private:
real interp_radius "Radius at which to interpolate points"
{
0:* :: "Non-negative"
} 0.5
int arrsize "Size of interpolating arrays"
{
1:* :: "Positive"
} 10
INT interpolation_order "Order for interpolation" STEERABLE = ALWAYS
{
1:3 :: "Choose be... | # Schedule definitions for thorn DemoInterp
# $Header$
#storage: coords3d, coords2d, coords1d
storage: real3dvars,comp3dvars
storage: real2dvars,comp2dvars
storage: real1dvars,comp1dvars
storage: coordarrays,realinterps,compinterps
schedule SetUp3DGFs at INITIAL
{
LANG: Fortran
} "Set up 3D GFs to be interpolated"
... | Interp1D.F | #include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "cctk_Functions.h"
subroutine DemoInterp_Interp1D(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_PARAMETERS
DECLARE_CCTK_FUNCTIONS
integer i
integer ierror
CCTK_REAL ... | |
CactusExamples/DemoInterp | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn DemoInterp
# $Header$
implements: DemoInterp
private:
real coordarrays type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
xcoord,
ycoord,
zcoord
} "Coordinates for interpolating"
real realinterps type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
realinterp1,
realinterp2,
re... | # Parameter definitions for thorn DemoInterp
# $Header$
private:
real interp_radius "Radius at which to interpolate points"
{
0:* :: "Non-negative"
} 0.5
int arrsize "Size of interpolating arrays"
{
1:* :: "Positive"
} 10
INT interpolation_order "Order for interpolation" STEERABLE = ALWAYS
{
1:3 :: "Choose be... | # Schedule definitions for thorn DemoInterp
# $Header$
#storage: coords3d, coords2d, coords1d
storage: real3dvars,comp3dvars
storage: real2dvars,comp2dvars
storage: real1dvars,comp1dvars
storage: coordarrays,realinterps,compinterps
schedule SetUp3DGFs at INITIAL
{
LANG: Fortran
} "Set up 3D GFs to be interpolated"
... | Initial2D.F | #include "cctk.h"
#include "cctk_Arguments.h"
subroutine SetUp2DGFs(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
integer nx,ny
integer i,j
CCTK_REAL xp,yp,rp
CCTK_REAL dx,dy
nx = cctk_lsh(1)
ny = cctk_lsh(2)
dx = cctk_delta_space(1)
dy = cc... | |
CactusExamples/DemoInterp | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn DemoInterp
# $Header$
implements: DemoInterp
private:
real coordarrays type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
xcoord,
ycoord,
zcoord
} "Coordinates for interpolating"
real realinterps type=array dim=1 size=arrsize DISTRIB=CONSTANT
{
realinterp1,
realinterp2,
re... | # Parameter definitions for thorn DemoInterp
# $Header$
private:
real interp_radius "Radius at which to interpolate points"
{
0:* :: "Non-negative"
} 0.5
int arrsize "Size of interpolating arrays"
{
1:* :: "Positive"
} 10
INT interpolation_order "Order for interpolation" STEERABLE = ALWAYS
{
1:3 :: "Choose be... | # Schedule definitions for thorn DemoInterp
# $Header$
#storage: coords3d, coords2d, coords1d
storage: real3dvars,comp3dvars
storage: real2dvars,comp2dvars
storage: real1dvars,comp1dvars
storage: coordarrays,realinterps,compinterps
schedule SetUp3DGFs at INITIAL
{
LANG: Fortran
} "Set up 3D GFs to be interpolated"
... | Initial3D.F | #include "cctk.h"
#include "cctk_Arguments.h"
subroutine SetUp3DGFs(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
integer nx,ny,nz
integer i,j,k
CCTK_REAL xp,yp,zp,rp
CCTK_REAL dx,dy,dz
nx = cctk_lsh(1)
ny = cctk_lsh(2)
nz = cctk_lsh(3)
dx =... | |
CactusExamples/FleshInfo | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn FleshInfo
# $Header$
implements: FleshInfo | # Parameter definitions for thorn FleshInfo
# $Header$
| # Schedule definitions for thorn FleshInfo
# $Header$
schedule InterpInfo at CCTK_INITIAL
{
LANG: C
} "Information about Interpolation Operators"
schedule ReduceInfo at CCTK_INITIAL
{
LANG: C
} "Information about Reduction Operators"
schedule IOInfo at CCTK_INITIAL
{
LANG: C
} "Information about IO Methods"
s... | IO.c | /*@@
@file IO.c
@date Thu Dec 27 2001
@author Gabrielle Allen
@desc
Write information about reduction operators
@enddesc
@@*/
#include <stdio.h>
#include <cctk.h>
#include <cctk_Arguments.h>
/*@@
@routine IOInfo
@date Thu Dec 27 2001
@author Gabrielle Allen
@d... | |
CactusExamples/FleshInfo | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn FleshInfo
# $Header$
implements: FleshInfo | # Parameter definitions for thorn FleshInfo
# $Header$
| # Schedule definitions for thorn FleshInfo
# $Header$
schedule InterpInfo at CCTK_INITIAL
{
LANG: C
} "Information about Interpolation Operators"
schedule ReduceInfo at CCTK_INITIAL
{
LANG: C
} "Information about Reduction Operators"
schedule IOInfo at CCTK_INITIAL
{
LANG: C
} "Information about IO Methods"
s... | Reduce.c | /*@@
@file Reduce.c
@date Thu Dec 27 2001
@author Gabrielle Allen
@desc
Write information about reduction operators
@enddesc
@version $Id$
@@*/
#include <stdio.h>
#include "cctk.h"
#include "cctk_Arguments.h"
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusExamples_... | |
CactusExamples/FleshInfo | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn FleshInfo
# $Header$
implements: FleshInfo | # Parameter definitions for thorn FleshInfo
# $Header$
| # Schedule definitions for thorn FleshInfo
# $Header$
schedule InterpInfo at CCTK_INITIAL
{
LANG: C
} "Information about Interpolation Operators"
schedule ReduceInfo at CCTK_INITIAL
{
LANG: C
} "Information about Reduction Operators"
schedule IOInfo at CCTK_INITIAL
{
LANG: C
} "Information about IO Methods"
s... | Interp.c | /*@@
@file Interp.c
@date Thu Dec 27 2001
@author Gabrielle Allen
@desc
Write information about interpolation routines
@enddesc
@version $Id$
@@*/
#include <stdio.h>
#include "cctk.h"
#include "cctk_Arguments.h"
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusExampl... | |
CactusExamples/FleshInfo | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn FleshInfo
# $Header$
implements: FleshInfo | # Parameter definitions for thorn FleshInfo
# $Header$
| # Schedule definitions for thorn FleshInfo
# $Header$
schedule InterpInfo at CCTK_INITIAL
{
LANG: C
} "Information about Interpolation Operators"
schedule ReduceInfo at CCTK_INITIAL
{
LANG: C
} "Information about Reduction Operators"
schedule IOInfo at CCTK_INITIAL
{
LANG: C
} "Information about IO Methods"
s... | make.code.defn | # Main make.code.defn file for thorn FleshInfo
# $Header$
# Source files in this directory
SRCS = Interp.c Reduce.c IO.c Coord.c
# Subdirectories containing source files
SUBDIRS =
| |
CactusExamples/FleshInfo | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn FleshInfo
# $Header$
implements: FleshInfo | # Parameter definitions for thorn FleshInfo
# $Header$
| # Schedule definitions for thorn FleshInfo
# $Header$
schedule InterpInfo at CCTK_INITIAL
{
LANG: C
} "Information about Interpolation Operators"
schedule ReduceInfo at CCTK_INITIAL
{
LANG: C
} "Information about Reduction Operators"
schedule IOInfo at CCTK_INITIAL
{
LANG: C
} "Information about IO Methods"
s... | Coord.c | /*@@
@file Coord.c
@date Sat Dec 29 2001
@author Gabrielle Allen
@desc
Write information about coordinate systems
@enddesc
@version $Id$
@@*/
#include <stdio.h>
#include "cctk.h"
#include "cctk_Arguments.h"
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(CactusExamples_Fl... | |
CactusExamples/HelloWorld | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn HelloWorld
# $Header$
implements: helloworld | # Parameter definitions for thorn HelloWorld
# $Header$
| # Schedule definitions for thorn HelloWorld
# $Header$
schedule HelloWorld at CCTK_EVOL
{
LANG: C
} "Print message to screen" | make.code.defn | # Main make.code.defn file for thorn HelloWorld
# $Header$
# Source files in this directory
SRCS = HelloWorld.c
# Subdirectories containing source files
SUBDIRS =
| |
CactusExamples/HelloWorld | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn HelloWorld
# $Header$
implements: helloworld | # Parameter definitions for thorn HelloWorld
# $Header$
| # Schedule definitions for thorn HelloWorld
# $Header$
schedule HelloWorld at CCTK_EVOL
{
LANG: C
} "Print message to screen" | HelloWorld.c | #include "cctk.h"
#include "cctk_Arguments.h"
void HelloWorld(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
CCTK_INFO("Hello World!");
}
| |
CactusExamples/IDWaveMoL | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn IDScalarWaveMoLC
# $Header$
implements: idwavemol
inherits: wavemol grid
| # Parameter definitions for thorn IDScalarWaveMoLC
# $Header$
restricted:
KEYWORD initial_data "Type of initial data"
{
"gaussian" :: "Gaussian wave"
"plane" :: "plane wave"
} "gaussian"
private:
REAL amplitude "The amplitude of the waves"
{
*:* :: "No restriction"
} 1.0
REAL radius "The radius of t... | # Schedule definitions for thorn IDScalarWaveMoLC
# $Header$
schedule IDWaveMoL_CheckParameters at CCTK_PARAMCHECK
{
LANG: C
} "Check parameters"
schedule IDWaveMoL_InitialData at CCTK_INITIAL
{
STORAGE: wavemol::scalarevolvemol_scalar[2]
STORAGE: wavemol::scalarevolvemol_vector[2]
LANG: ... | make.code.defn | # Main make.code.defn file for thorn IDScalarWaveMoLC
# $Header$
# Source files in this directory
SRCS = InitialData.c CheckParameters.c
# Subdirectories containing source files
SUBDIRS =
| |
CactusExamples/IDWaveMoL | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn IDScalarWaveMoLC
# $Header$
implements: idwavemol
inherits: wavemol grid
| # Parameter definitions for thorn IDScalarWaveMoLC
# $Header$
restricted:
KEYWORD initial_data "Type of initial data"
{
"gaussian" :: "Gaussian wave"
"plane" :: "plane wave"
} "gaussian"
private:
REAL amplitude "The amplitude of the waves"
{
*:* :: "No restriction"
} 1.0
REAL radius "The radius of t... | # Schedule definitions for thorn IDScalarWaveMoLC
# $Header$
schedule IDWaveMoL_CheckParameters at CCTK_PARAMCHECK
{
LANG: C
} "Check parameters"
schedule IDWaveMoL_InitialData at CCTK_INITIAL
{
STORAGE: wavemol::scalarevolvemol_scalar[2]
STORAGE: wavemol::scalarevolvemol_vector[2]
LANG: ... | InitialData.c | /*@@
@file InitialData.c
@date
@author Werner Benger
@desc
Initial data for the 3D Wave Equation
Derived from Tom Goodale
@enddesc
@version $Header$
@@*/
#include <math.h>
#include "cctk.h"
#include "cctk_Parameters.h"
#include "cctk_Arguments.h"
/*
#ifnde... | |
CactusExamples/IDWaveMoL | https://bitbucket.org/cactuscode/cactusexamples.git | # Interface definition for thorn IDScalarWaveMoLC
# $Header$
implements: idwavemol
inherits: wavemol grid
| # Parameter definitions for thorn IDScalarWaveMoLC
# $Header$
restricted:
KEYWORD initial_data "Type of initial data"
{
"gaussian" :: "Gaussian wave"
"plane" :: "plane wave"
} "gaussian"
private:
REAL amplitude "The amplitude of the waves"
{
*:* :: "No restriction"
} 1.0
REAL radius "The radius of t... | # Schedule definitions for thorn IDScalarWaveMoLC
# $Header$
schedule IDWaveMoL_CheckParameters at CCTK_PARAMCHECK
{
LANG: C
} "Check parameters"
schedule IDWaveMoL_InitialData at CCTK_INITIAL
{
STORAGE: wavemol::scalarevolvemol_scalar[2]
STORAGE: wavemol::scalarevolvemol_vector[2]
LANG: ... | CheckParameters.c | /*
@file CheckParameters.c
@date
@author Gabrielle Allen
@desc
Check parameters for the wave equation initial data
@enddesc
@version $Header$
@@*/
#include "cctk.h"
#include "cctk_Parameters.h"
#include "cctk_Arguments.h"
static const char *rcsid = "$Header$";
CCTK_F... | |
CactusExamples/Poisson | https://bitbucket.org/cactuscode/cactusexamples.git | # Configuration definition for thorn Poisson
REQUIRES Boundary Carpet CartGrid3D TATelliptic
| # Interface definition for thorn Poisson
IMPLEMENTS: Poisson
INHERITS: boundary grid
USES INCLUDE HEADER: carpet.h
USES INCLUDE HEADER: TATelliptic.h
CCTK_INT FUNCTION Boundary_SelectGroupForBC \
(CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN faces, \
CCTK_INT IN boundary_... | # Parameter definitions for thorn Poisson
STRING solver "Name of TATelliptic solver that should be used"
{
.* :: "must be an activated TATelliptic solver"
} "TATJacobi"
STRING options "Options for the solver"
{
.* :: "no restriction"
} ""
REAL radius "Radius of uniformly charged sphere"
{
0:* :: ""
} 1.0
RE... | # Schedule definitions for thorn Poisson
STORAGE: potential residual
SCHEDULE Poisson_prepare AT initial
{
LANG: C
} "Set up initial guess for initial data"
SCHEDULE Poisson_solve AT postinitial
{
LANG: C
# OPTIONS: global
} "Calculate uniform charge initial data"
SCHEDULE GROUP Poisson_boundaries
{
} "Apply ... | uniform_charge.c | #include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <util_ErrorCodes.h>
#include <util_Table.h>
#include <carpet.h>
#include <TATelliptic.h>
static int calc_residual (const cGH * const cctkGH,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.