[CIG-LONG] Custom condition functions in SNAC

Eunseo Choi echoi at ldeo.columbia.edu
Thu Jan 15 13:16:45 PST 2009


cig-long-request at geodynamics.org wrote:
> Send CIG-LONG mailing list submissions to
> 	cig-long at geodynamics.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
> or, via email, send a message with subject or body 'help' to
> 	cig-long-request at geodynamics.org
>
> You can reach the person managing the list at
> 	cig-long-owner at geodynamics.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of CIG-LONG digest..."
>
>
> Today's Topics:
>
>    1. Custom condition functions in SNAC (Mark Fleharty)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 14 Jan 2009 14:31:06 -0700
> From: "Mark Fleharty" <mark.fleharty at gmail.com>
> Subject: [CIG-LONG] Custom condition functions in SNAC
> To: cig-long at geodynamics.org
> Message-ID:
> 	<2bd34dd10901141331i1fb7b824h73233e5b5f045ed1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
>
> Does SNAC have an analog to the StandardConditionFunctions.c found in Gale?
> I'd like to modify the boundary conditions so that the velocity
> changes as a function of time.
>
> Any ideas?
>
>   
Yes, SNAC's BC functions work in the same way with Gale.
However, they are not centrally managed as in Gale: instead, each plugin 
has its own condition functions.

One example can be found in Snac/tests/snac-maxwell.xml.
A time-dependent vx component is defined by a condition function called 
"variableBC".
The corresponding BC function is defined in
Snac/plugins/maxwell/ConstructExtensions.c: void 
_SnacVelocity_VariableCondition().

Cheers,
Eunseo

> Thanks,
>
> Mark Fleharty
>
>
> ------------------------------
>
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>
>
> End of CIG-LONG Digest, Vol 27, Issue 4
> ***************************************
>   


-- 
=====================================
Eunseo Choi
Post-Doctoral Research Scientist

Lamont-Doherty Earth Observatory
303f Oceanography
P.O. Box 1000
61 Rt. 9W
Palisades, NY 10964-8000

http://www.ldeo.columbia.edu/~echoi
Phone: 845-365-8813 Fax: 845-365-8156
=====================================



More information about the CIG-LONG mailing list