aboutsummaryrefslogtreecommitdiff
path: root/src/call_derivs.c
Commit message (Collapse)AuthorAge
* (*) Small modifications to use GetBoundarySpecification orkorobkin2008-05-06
| | | | | | | | MultiPatch_GetBoundarySpecification instead of reading shiftout parameters directly from the CoordBase thorn. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@113 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* (+) implemented poisoning: added three parameterskorobkin2008-05-02
| | | | | | | | | | | | - poison_derivatives - poison_dissipation - poison_value The first two set values of derivative GF and RHS respectively to poison_value in boundary_shiftout zone, which is specified by CoordBase shiftout parameters. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@111 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* (*) CCTK_FNAME(get_grid_offsets) -> get_grid_offsetskorobkin2008-05-01
| | | | | | | | | | (+) Added get_grid_offsets to thorn interface as GetFDGridOffsets (+) Added another thorn interface function GetLSHIndexRanges to inquire actual local index ranges (in Fortran notation), which account for both the ghostzones and shiftout values git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@109 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* (*) The grid offsets of the dissipation and derivative operators are madekorobkin2008-04-29
| | | | | | | | | correlated. If use_shiftout = yes, both offsets are read from the CoordBase::boundary_shiftout_* parameters. Otherwise, both offsets are set to zero. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@106 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* (+) Added the capability to specify grid offsets in derivative and dissipationkorobkin2008-04-28
| | | | | | | | operators, as set by boundary_shiftout* parameters of CoordBase. Only first-order centered derivative operators are affected. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@105 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Moved definitions of coefficients to a single module in order to only havediener2007-10-16
| | | | | | | | | | | them in one place. Added routines to return coefficients in all the missing cases. Also added routines to return 2 derivatives (only 2-1 and 4-2 so far). The routines calculating derivatives for whole grid functions have not been tested yet, so if you are using them, you will probably want to hold off on updating until I give the clear signal. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@85 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Introduce a function SBP_determine_onesided_stencil which determinesschnetter2006-07-05
| | | | | | | | | | | | which faces should use one-sided stencils, depending on which boundaries are inter-processor boundaries, symmetry boundaries, and multi-patch boundaries. Use this function everywhere. Remove the previous mechinisms; some were not in all cases correct. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@75 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Replace the temporary solution, which checks whether PUGH is active,schnetter2006-06-11
| | | | | | | | with a better way to determine which boundaries are outer boundaries, symmetry boundaries, interprocessor boundaries, or penalty boundaries. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@73 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* *** empty log message ***tiglio2006-05-18
| | | | git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@71 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* A C version (as opposed to C++) of the hack.tiglio2006-05-18
| | | | git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@70 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Added a small ifdef to make it work with PUGH (as it was the derivs were ↵tiglio2006-05-18
| | | | | | | | | | wrong near real boundaries if using PUGH). One can do something better but I did not want to mess up the MP case. It will not work with reflection symmetries and PUGH as it is, though, so this is a temporary solution only. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@69 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Only use one sided finite differences near multipatch boundaries. Should fixdiener2006-02-13
| | | | | | | | | the problems we have with periodic boundary conditions. Also added the missing declarations of fortran routines with Kreiss-Oliger type dissipation for certain cases. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@58 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Call the same 2-1 and 4-2 operators regardless of whether the user requestsdiener2005-12-02
| | | | | | | "Minimal Bandwidth" or "Optimized" operators, since they are unique. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@49 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Added an optimized 6-3 operator and dissipation operators for the remainingdiener2005-06-15
| | | | | | | diagonal norm operators. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@38 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Optimised 8-4 derivative operators. Experimental 8-4 dissipation operators.diener2005-05-19
| | | | | | | Tests of these are on going. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@32 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Analyse the options table more gracefully, and abort with a nice errorschnetter2005-02-27
| | | | | | | message if something is wrong. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@29 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Added a table handle to the derivative interface.diener2005-02-25
| | | | git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@27 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* 6th order interior, 5th order at the boundary finite differences (restricteddiener2005-01-07
| | | | | | | | full norm). Thanks to José María Martín García for the mathematica notebook that provided the coefficients. Not yot tested extensively, but seems to work. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@17 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Make declaration of Diff_gv and Diff_gf const-correct.schnetter2004-11-10
| | | | git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@15 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Added 4-3 Full restricted norm operators. Added parameter to choose the typediener2004-10-11
| | | | | | | | | of differences (diagonal, full restricted). Added routine to return the coefficient of the norm at the boundary. Added routine to return the mask for the norm calculation. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@10 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Added 8-4 derivatives. Note only Diff_gv has been updated to use it. Diff_gfdiener2004-10-07
| | | | | | | has to be modified in other ways as well. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@9 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* Moved call_derivs.c to call_derivs_name.c. Created a new differncing routinediener2004-10-06
| | | | | | | | | | | | | | (after Erik explained to me that CCTK_ARGUMENTS can be accessed even though they are not passed into the routine) that is called with the variables themselves and not their names. These are provided by the aliased function Diff_gf, so now the x-derivatives of rho can be found with the call: Diff_gv ( cctkGH, 0, rho, drhox ); Also made the determination of the gridspacing use CCTK_DELTA_SPACE (now that I know how to do it) so the routines should now also work with mesh-refinement. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@4 f69c4107-0314-4c4f-9ad4-17e986b73f4a
* First attempt at a summation by parts finite differencing thorn.diener2004-10-06
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@2 f69c4107-0314-4c4f-9ad4-17e986b73f4a