Skip to content

Commit

Permalink
adding testing routine and data file for axissym kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
mrachh committed Apr 1, 2024
1 parent ddad202 commit d82a095
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 195 deletions.
Binary file added chunkie/+chnk/+axissymhelm2d/asym_helm_data.mat
Binary file not shown.
76 changes: 0 additions & 76 deletions chunkie/+chnk/+axissymhelm2d/helm_axi_close_table_old.m

This file was deleted.

18 changes: 2 additions & 16 deletions chunkie/+chnk/+axissymhelm2d/load_asym_tables.m
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
function asym_tables = load_asym_tables()
%CHNK.AXISSYMHELM2D.load_asym_tables loads the precomputed tables
% for axissymmetric Helmholtz kernels

dirname = '+chnk/+axissymhelm2d/';
vdats = {};
nks = 152;
for ii=1:nks
load([dirname 'k2test',num2str(ii),'.mat']);
v = Expression1;
v = reshape(v,[12,12,3,111]);
vdats{ii} = v;
end

allvs = zeros([size(vdats{1}),nks]);

for ii=1:nks
allvs(:,:,:,:,ii) = vdats{ii};
end

load('asym_helm_data.mat','allvs');
ncheb = 12;
xcheb = (0:(ncheb-1))/(ncheb-1)*pi;

Expand Down
103 changes: 0 additions & 103 deletions chunkie/+chnk/+axissymhelm2d/load_asym_tables_old.m

This file was deleted.

0 comments on commit d82a095

Please sign in to comment.