aboutsummaryrefslogtreecommitdiff
path: root/src/Groups.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Groups.c')
-rw-r--r--src/Groups.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/Groups.c b/src/Groups.c
index 5ee0453..16624cb 100644
--- a/src/Groups.c
+++ b/src/Groups.c
@@ -115,9 +115,9 @@ static int GroupsPage(const cGH *cctkGH, httpRequest *request, void *data)
HTTP_SendString(request, message );
HTTP_Send(request,"<style type=\"text/css\">\n"
- "\ttable.groups { background-color: #E9F4D3; } \n"
- "\t\t.groups td { text-align: left; } \n"
- "</style>\n");
+ "\ttable.groups { background-color: #E9F4D3; } \n"
+ "\t\t.groups td { text-align: left; } \n"
+ "</style>\n");
HTTP_Send(request,"</head>\n<body>\n");
@@ -130,33 +130,33 @@ static int GroupsPage(const cGH *cctkGH, httpRequest *request, void *data)
ngroups = CCTK_NumGroups();
retval = HTTP_Send(request, "<h1>Groups and Grid Variables</h1>\n"
- "<p>These pages describe the grid variables and groups \n"
- "active in this simulation.</p>\n");
+ "<p>These pages describe the grid variables and groups \n"
+ "active in this simulation.</p>\n");
SetToCString(message,
- "<p>This simulation contains ");
+ "<p>This simulation contains ");
ConcatDecimal(message, CCTK_NumGroups());
ConcatCString(message,
- " groups, and ");
+ " groups, and ");
ConcatDecimal(message, CCTK_NumVars());
ConcatCString(message,
- " variables, "
- "set in ");
+ " variables, "
+ "set in ");
ConcatDecimal(message, CCTK_MaxDim());
ConcatCString(message,
- "-space dimensions. \nGroups for which storage is currently\n"
- "assigned are written in <span class=\"hilite\">red</span>. \n"
- "The numbers in square brackets are the group and variable indices."
- "</p>\n");
+ "-space dimensions. \nGroups for which storage is currently\n"
+ "assigned are written in <span class=\"hilite\">red</span>. \n"
+ "The numbers in square brackets are the group and variable indices."
+ "</p>\n");
retval = HTTP_SendString(request, message);
retval = HTTP_Send(request,"<form action=\"/Groups.html\" method=\"get\">\n");
retval = HTTP_Send(request,"<div class=\"centered\">\n"
"<table class=\"groups\" width=\"100%\" cellpadding=\"5\" "
- "cellspacing=\"5\">\n"
- "<tr><th>Groups</th><th>Group Properties</th>"
- "<th>Variables</th></tr>\n");
+ "cellspacing=\"5\">\n"
+ "<tr><th>Groups</th><th>Group Properties</th>"
+ "<th>Variables</th></tr>\n");
for(i=0; i < ngroups; i++)
{
@@ -193,16 +193,16 @@ static int GroupsPage(const cGH *cctkGH, httpRequest *request, void *data)
switch (CCTK_GroupTypeI(i))
{
case CCTK_SCALAR:
- ConcatCString(message,"Grid scalar");
- break;
+ ConcatCString(message,"Grid scalar");
+ break;
case CCTK_ARRAY:
- ConcatCString(message,"Grid array");
- break;
+ ConcatCString(message,"Grid array");
+ break;
case CCTK_GF:
- ConcatCString(message,"Grid function");
- break;
+ ConcatCString(message,"Grid function");
+ break;
}
-
+
ConcatCString(message, " " );
ConcatCString(message, CCTK_VarTypeName(gdata.vartype) );
ConcatCString(message, " <br />\n(");