Skip to content
Snippets Groups Projects
Commit 8b19c2ec authored by Nicola Vigano's avatar Nicola Vigano Committed by Nicola Vigano
Browse files

Far-field/shape-functions: switched to fwd-generated sf for the moment

parent 06422bc2
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,11 @@ classdef GtGrainODFuvwSolver < GtGrainODFwSolver
switch (self.shape_functions_type)
case 'nw2uvw'
sf_nw = gtDefShapeFunctionsCreateNW(self.sampler, 2, ...
sf_nw = gtDefShapeFunctionsFwdProj(self.sampler, ...
'shape_function_type', 'nw', ...
'data_type', self.data_type);
% sf_nw = gtDefShapeFunctionsCreateNW(self.sampler, 2, ...
% 'data_type', self.data_type);
for ii_v = 1:num_vox_centers
fprintf('(%03d/%03d) ', ii_v, num_vox_centers);
......
......@@ -99,7 +99,10 @@ classdef GtGrainODFwSolver < handle
case 'none'
self.shape_functions = [];
case 'w'
self.shape_functions = gtDefShapeFunctionsCreateW(self.sampler);
self.shape_functions = gtDefShapeFunctionsFwdProj(self.sampler, ...
'shape_function_type', 'w', ...
'data_type', self.data_type);
% self.shape_functions = gtDefShapeFunctionsCreateW(self.sampler);
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment